Comparing version 0.1.5 to 0.1.6
@@ -9,3 +9,3 @@ export { default as minBy, default as min_by } from './minBy.js'; | ||
export { default as stop } from './stop.js'; | ||
export { default as ifStop, default as if_stop } from './ifStop.js'; | ||
export { default as stopIf, default as stop_if } from './stopIf.js'; | ||
export { default as take } from './take.js'; | ||
@@ -12,0 +12,0 @@ export { default as omit } from './omit.js'; |
{ | ||
"name": "fxjs2", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "Functional Extensions for Javascript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -65,4 +65,4 @@ ## FxJS - Functional Extensions for Javascript | ||
```javascript | ||
const lazy = L.map(a => a + 10, [1, 2, 3]); | ||
take(2, lazy); | ||
const iterator = L.map(a => a + 10, [1, 2, 3]); | ||
take(2, iterator); | ||
// [11, 12] | ||
@@ -74,4 +74,4 @@ ``` | ||
```javascript | ||
const lazy = L.filter(a => a % 2, [1, 2, 3, 4, 5]); | ||
take(2, lazy); | ||
const iterator = L.filter(a => a % 2, [1, 2, 3, 4, 5]); | ||
take(2, iterator); | ||
// [1, 3] | ||
@@ -81,4 +81,4 @@ ``` | ||
```javascript | ||
const lazy = L.filter(a => a % 2, L.map(a => a + 10, [1, 2, 3, 4, 5])); | ||
take(2, lazy); | ||
const iterator = L.filter(a => a % 2, L.map(a => a + 10, [1, 2, 3, 4, 5])); | ||
take(2, iterator); | ||
// [11, 13] | ||
@@ -85,0 +85,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8012
0