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

lang-mini

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lang-mini - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

47

lang-mini.js

@@ -169,4 +169,4 @@ let are_equal = require('deep-equal');

if (obj instanceof Stream.Readable) res = 'readable_stream';
if (obj instanceof Stream.Writable) res = 'writable_stream';
//if (obj instanceof Stream.Readable) res = 'readable_stream';
//if (obj instanceof Stream.Writable) res = 'writable_stream';
}

@@ -1809,3 +1809,3 @@

let target = this;
let c, l;
let c, l, res;

@@ -1817,3 +1817,3 @@ if (sig == '[s]') {

let be = this._bound_events;
let res = [];
res = [];
if (bgh) {

@@ -1848,3 +1848,3 @@ for (c = 0, l = bgh.length; c < l; c++) {

let event_name = a[0];
let res = [];
res = [];
if (bgh) {

@@ -1866,2 +1866,29 @@ for (c = 0, l = bgh.length; c < l; c++) {

if (sig == '[s,B]') {
let be = this._bound_events;
let bgh = this._bound_general_handler;
let event_name = a[0];
if (!a[1].target) a[1].target = target;
res = [];
if (bgh) {
for (c = 0, l = bgh.length; c < l; c++) {
res.push(bgh[c].call(target, event_name, a[1]));
}
}
if (be) {
let bei = be[event_name];
if (tof(bei) === 'array') {
for (c = 0, l = bei.length; c < l; c++) {
res.push(bei[c].call(target, a[1]));
}
}
}
}
if (sig == '[s,o]') {

@@ -1874,3 +1901,3 @@ let be = this._bound_events;

let res = [];
res = [];
if (bgh) {

@@ -1904,3 +1931,3 @@ for (c = 0, l = bgh.length; c < l; c++) {

let res = [];
res = [];

@@ -1929,2 +1956,7 @@ if (bgh) {

}
} else {
// s,?
}

@@ -1980,3 +2012,2 @@ }

}

@@ -1983,0 +2014,0 @@ */

2

package.json

@@ -17,3 +17,3 @@ {

},
"version": "0.0.3"
"version": "0.0.4"
}
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