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

big-cartesian

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

big-cartesian - npm Package Compare versions

Comparing version 4.7.0 to 5.0.0

35

build/src/main.js

@@ -22,7 +22,7 @@

if(!Array.isArray(iterables)){
return throwValidation();
return throwValidation()
}
if(iterables.length===0){
return;
return
}

@@ -32,3 +32,3 @@

yield*getResults(iteratorFuncs);
yield*getResults(iteratorFuncs)
}

@@ -58,10 +58,10 @@

if(typeof iterator==="function"){
return iterator.bind(input);
return iterator.bind(input)
}
if(typeof input!=="function"){
return throwValidation();
return throwValidation()
}
return input;
return input
};

@@ -91,3 +91,3 @@

if(hasEmptyIterators(results)){
return;
return
}

@@ -99,4 +99,4 @@

do{
yield[...result];
}while(!getResult(iteratorFuncs,iterators,result));
yield[...result]
}while(!getResult(iteratorFuncs,iterators,result))
};

@@ -108,10 +108,10 @@

if(!isIterator(iterator)){
return throwValidation();
return throwValidation()
}
return iterator;
return iterator
};
const throwValidation=()=>{
throw new TypeError("Argument must be an array of arrays or generators");
throw new TypeError("Argument must be an array of arrays or generators")
};

@@ -158,14 +158,13 @@

if(index===-1){
return true;
return true
}
}else if(done===true){
reset=true;
iterators[index]=iteratorFuncs[index]();
iterators[index]=iteratorFuncs[index]()
}else{
break;
break
}
}while(true);
return false;
};
//# sourceMappingURL=main.js.map
return false
};
{
"name": "big-cartesian",
"version": "4.7.0",
"version": "5.0.0",
"type": "module",

@@ -54,8 +54,8 @@ "exports": {

"devDependencies": {
"@ehmicky/dev-tasks": "^2.0.56",
"@ehmicky/dev-tasks": "^2.0.80",
"test-each": "^5.7.1"
},
"engines": {
"node": ">=14.18.0"
"node": ">=16.17.0"
}
}

@@ -54,7 +54,10 @@ [![Node](https://img.shields.io/badge/-Node.js-808080?logo=node.js&colorA=404040&logoColor=66cc33)](https://www.npmjs.com/package/big-cartesian)

This package works in both Node.js >=14.18.0 and
This package works in both Node.js >=16.17.0 and
[browsers](https://raw.githubusercontent.com/ehmicky/dev-tasks/main/src/browserslist).
It is an ES module and must be loaded using
This is an ES module. It must be loaded using
[an `import` or `import()` statement](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c),
not `require()`.
not `require()`. If TypeScript is used, it must be configured to
[output ES modules](https://www.typescriptlang.org/docs/handbook/esm-node.html),
not CommonJS.

@@ -120,4 +123,5 @@ # API

<!-- prettier-ignore -->
<!--
<table><tr><td align="center"><a href="https://fosstodon.org/@ehmicky"><img src="https://avatars2.githubusercontent.com/u/8136211?v=4" width="100px;" alt="ehmicky"/><br /><sub><b>ehmicky</b></sub></a><br /><a href="https://github.com/ehmicky/big-cartesian/commits?author=ehmicky" title="Code">💻</a> <a href="#design-ehmicky" title="Design">🎨</a> <a href="#ideas-ehmicky" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/ehmicky/big-cartesian/commits?author=ehmicky" title="Documentation">📖</a></td></tr></table>
-->
<!-- ALL-CONTRIBUTORS-LIST:END -->
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