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

@rimbu/collection-types

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rimbu/collection-types - npm Package Compare versions

Comparing version 0.9.17 to 0.9.18

12

dist/types/map-custom/interface/index.d.ts

@@ -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 @@ * ```

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