New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@api-ts/typed-express-router

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@api-ts/typed-express-router - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

4

dist/src/index.js

@@ -33,3 +33,3 @@ "use strict";

const E = __importStar(require("fp-ts/Either"));
const function_1 = require("fp-ts/function");
const pipeable_1 = require("fp-ts/pipeable");
const errors_1 = require("./errors");

@@ -101,3 +101,3 @@ const path_1 = require("./path");

const validateMiddleware = (req, res, next) => {
(0, function_1.pipe)(req.decoded, E.matchW((errs) => {
(0, pipeable_1.pipe)(req.decoded, E.matchW((errs) => {
var _a;

@@ -104,0 +104,0 @@ ((_a = options === null || options === void 0 ? void 0 : options.onDecodeError) !== null && _a !== void 0 ? _a : onDecodeError)(errs, req, res);

{
"name": "@api-ts/typed-express-router",
"version": "1.0.5",
"version": "1.0.6",
"description": "Implement an HTTP specification with Express",

@@ -23,7 +23,7 @@ "author": "Patrick McLaughlin <patrickmclaughlin@bitgo.com>",

"express": "4.18.2",
"fp-ts": "2.13.1",
"fp-ts": "^2.0.0",
"io-ts": "2.1.3"
},
"devDependencies": {
"@api-ts/superagent-wrapper": "1.1.3",
"@api-ts/superagent-wrapper": "1.1.4",
"@ava/typescript": "3.0.1",

@@ -30,0 +30,0 @@ "ava": "5.1.0",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc