Socket
Socket
Sign inDemoInstall

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.32 to 0.0.33

27

lang-mini.js

@@ -213,3 +213,3 @@ const running_in_browser = typeof window !== 'undefined';

}
if (obj instanceof Buffer) {
if (typeof Buffer !== 'undefined' && obj instanceof Buffer) {
return 'B';

@@ -1057,3 +1057,3 @@ } else if (obj instanceof Promise) {

tv;
if (t == 'array') {
if (t === 'array') {
let res = true;

@@ -1081,19 +1081,16 @@ each(obj, function (v, i) {

let num_parallel = 1;
if (a.l == 1) {}
if (a.l == 2) {
if (a.l === 1) {
} else if (a.l === 2) {
arr_functions_params_pairs = a[0];
callback = a[1];
}
if (a.l == 3) {
if (sig == '[a,n,f]') {
} else if (a.l === 3) {
if (sig === '[a,n,f]') {
arr_functions_params_pairs = a[0];
num_parallel = a[1];
callback = a[2];
}
if (sig == '[n,a,f]') {
} else if (sig === '[n,a,f]') {
arr_functions_params_pairs = a[1];
num_parallel = a[0];
callback = a[2];
}
if (sig == '[a,f,b]') {
} else if (sig === '[a,f,b]') {
arr_functions_params_pairs = a[0];

@@ -1103,5 +1100,4 @@ callback = a[1];

}
}
if (a.l == 4) {
if (sig == '[a,n,n,f]') {
} else if (a.l === 4) {
if (sig === '[a,n,n,f]') {
arr_functions_params_pairs = a[0];

@@ -1111,4 +1107,3 @@ num_parallel = a[1];

callback = a[3];
}
if (sig == '[n,n,a,f]') {
} else if (sig == '[n,n,a,f]') {
arr_functions_params_pairs = a[2];

@@ -1115,0 +1110,0 @@ num_parallel = a[0];

@@ -10,3 +10,3 @@ {

"devDependencies": {
"fnl": "^0.0.28"
"fnl": "^0.0.29"
},

@@ -25,3 +25,3 @@ "comments": [

},
"version": "0.0.32"
"version": "0.0.33"
}
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