@rimbu/collection-types
Advanced tools
Comparing version 0.9.17 to 0.9.18
@@ -348,7 +348,7 @@ import type { Token } from '@rimbu/base'; | ||
* // => [[1, 'a'], [2, 'b']] | ||
* m.modifyAt(2, { ifExists: 'c' }).toArray() | ||
* m.modifyAt(2, { ifExists: () => 'c' }).toArray() | ||
* // => [[1, 'a'], [2, 'c']] | ||
* m.modifyAt(2, { ifExists: v => v + 'z' }).toArray() | ||
* m.modifyAt(2, { ifExists: (v) => v + 'z' }).toArray() | ||
* // => [[1, 'a'], [2, 'bz']] | ||
* m.modifyAt(2, { ifExists: (v, remove) => v.length > 5 ? v : remove }).toArray() | ||
* m.modifyAt(2, { ifExists: (v, remove) => v === 'a' ? v : remove }).toArray() | ||
* // => [[1, 'a']] | ||
@@ -771,7 +771,7 @@ * ``` | ||
* // => false | ||
* m.modifyAt(2, { ifExists: 'c' }) | ||
* m.modifyAt(2, { ifExists: () => 'c' }) | ||
* // => true | ||
* m.modifyAt(1, { ifExists: v => v + 'z' }) | ||
* m.modifyAt(1, { ifExists: (v) => v + 'z' }) | ||
* // => true | ||
* m.modifyAt(2, { ifExists: (v, remove) => v.length > 5 ? v : remove }) | ||
* m.modifyAt(2, { ifExists: (v, remove) => v === 'a' ? v : remove }) | ||
* // => true | ||
@@ -778,0 +778,0 @@ * ``` |
{ | ||
"name": "@rimbu/collection-types", | ||
"version": "0.9.17", | ||
"version": "0.9.18", | ||
"description": "Type definitions for the basic generic Rimbu collections", | ||
@@ -65,5 +65,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@rimbu/base": "^0.9.4", | ||
"@rimbu/common": "^0.10.2", | ||
"@rimbu/stream": "^0.12.3", | ||
"@rimbu/base": "^0.9.5", | ||
"@rimbu/common": "^0.10.3", | ||
"@rimbu/stream": "^0.12.4", | ||
"tslib": "^2.4.0" | ||
@@ -78,3 +78,3 @@ }, | ||
}, | ||
"gitHead": "0d1677b4df9c1b0f1dc337eb38eea7a99ea7fc43" | ||
"gitHead": "c4009664c4e15f367e963d198cacd7c5fc182a4d" | ||
} |
@@ -390,7 +390,7 @@ import type { Token } from '@rimbu/base'; | ||
* // => [[1, 'a'], [2, 'b']] | ||
* m.modifyAt(2, { ifExists: 'c' }).toArray() | ||
* m.modifyAt(2, { ifExists: () => 'c' }).toArray() | ||
* // => [[1, 'a'], [2, 'c']] | ||
* m.modifyAt(2, { ifExists: v => v + 'z' }).toArray() | ||
* m.modifyAt(2, { ifExists: (v) => v + 'z' }).toArray() | ||
* // => [[1, 'a'], [2, 'bz']] | ||
* m.modifyAt(2, { ifExists: (v, remove) => v.length > 5 ? v : remove }).toArray() | ||
* m.modifyAt(2, { ifExists: (v, remove) => v === 'a' ? v : remove }).toArray() | ||
* // => [[1, 'a']] | ||
@@ -886,7 +886,7 @@ * ``` | ||
* // => false | ||
* m.modifyAt(2, { ifExists: 'c' }) | ||
* m.modifyAt(2, { ifExists: () => 'c' }) | ||
* // => true | ||
* m.modifyAt(1, { ifExists: v => v + 'z' }) | ||
* m.modifyAt(1, { ifExists: (v) => v + 'z' }) | ||
* // => true | ||
* m.modifyAt(2, { ifExists: (v, remove) => v.length > 5 ? v : remove }) | ||
* m.modifyAt(2, { ifExists: (v, remove) => v === 'a' ? v : remove }) | ||
* // => true | ||
@@ -893,0 +893,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
196118
Updated@rimbu/base@^0.9.5
Updated@rimbu/common@^0.10.3
Updated@rimbu/stream@^0.12.4