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.7 to 1.0.8

.github/ISSUE_TEMPLATE/bug_report.md

9

index.js
'use strict'
/**
* @version 1.0.7
* @version 1.0.8
* @author Jhonnattan Rivera

@@ -10,3 +10,3 @@ * @description

constructor() {
constructor( objectDefaultData ) {

@@ -25,2 +25,7 @@ /** @boolean */

// set message when new instance is created
if( typeof objectDefaultData === "string" ){
this.message = objectDefaultData;
}
Object.preventExtensions(this);

@@ -27,0 +32,0 @@ };

{
"name": "module-connector",
"version": "1.0.7",
"version": "1.0.8",
"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",

@@ -73,2 +73,11 @@ # module-connector

also can define another message when new instance is create:
```javascript
//create default output from module connector
let output = new moduleConnector( "another_default_message" );
```
### Faileds methods

@@ -75,0 +84,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