Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kolinalabs/nodejs-api-pack

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kolinalabs/nodejs-api-pack - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

src/strict-api-pack.js

2

package.json
{
"name": "@kolinalabs/nodejs-api-pack",
"version": "1.0.5",
"version": "1.0.6",
"description": "Basic API flow helper for NodeJS",

@@ -5,0 +5,0 @@ "main": "src/index.js",

const { Method, Type } = require("./enums");
const StrictApiPack = require('./strict-api-pack');

@@ -170,2 +171,14 @@ module.exports = class ApiPack {

}
strictify(operation) {
return new StrictApiPack({
operation,
provider: this.getOperationProvider(),
persister: this.getOperationPersister(),
routeChecker: this.getRouteChecker(),
resourceChecker: this.getOperationChecker(), /** @deprecated method */
validator: this.getOperationValidator(),
serializer: this.getOperationSerializer()
});
}
};
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