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

module-connector

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

module-connector - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

15

index.js
'use strict'
/**
* @version 1.0.0
* @version 1.0.5
* @author Jhonnattan Rivera
* v1.0.0 creation
* @description

@@ -60,2 +59,14 @@ * object used to connect different backend and frontend components.

accepted ( response, message) {
return this.successFunctions( response, message, 202);
};
nonAuthoritative ( response, message) {
return this.successFunctions( response, message, 203);
};
noContent ( response, message) {
return this.successFunctions( response, message, 204);
};
badRequest ( response, message) {

@@ -62,0 +73,0 @@ return this.failedFunctions( response, message, 400);

2

package.json
{
"name": "module-connector",
"version": "1.0.4",
"version": "1.0.5",
"description": "object used to connect different backend and frontend components. in order to better control the different scenarios that could occur with the communication of these",

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

@@ -116,2 +116,5 @@ # module-connector

| .created() | true | 201 |
| .accepted() | true | 202 |
| .nonAuthoritative() | true | 203 |
| .noContent() | true | 203 |
| .badRequest() | false | 400 |

@@ -118,0 +121,0 @@ | .unauthorized() | false | 401 |

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