@rimbu/sorted
Advanced tools
Comparing version 0.5.10 to 0.5.11
@@ -119,3 +119,5 @@ "use strict"; | ||
} | ||
return (_a = this.context).mergeAllWith.apply(_a, tslib_1.__spreadArray([fillValue, mergeFun, this], tslib_1.__read(sources))); | ||
return (_a = this.context).mergeAllWith.apply(_a, tslib_1.__spreadArray([fillValue, | ||
mergeFun, | ||
this], tslib_1.__read(sources))); | ||
}; | ||
@@ -344,3 +346,5 @@ SortedMapEmpty.prototype.merge = function () { | ||
} | ||
return (_a = this.context).mergeAllWith.apply(_a, tslib_1.__spreadArray([fillValue, mergeFun, this], tslib_1.__read(sources))); | ||
return (_a = this.context).mergeAllWith.apply(_a, tslib_1.__spreadArray([fillValue, | ||
mergeFun, | ||
this], tslib_1.__read(sources))); | ||
}; | ||
@@ -347,0 +351,0 @@ SortedMapNode.prototype.merge = function () { |
{ | ||
"name": "@rimbu/sorted", | ||
"version": "0.5.10", | ||
"version": "0.5.11", | ||
"description": "Immutable SortedMap and SortedSet implementations for TypeScript", | ||
@@ -40,3 +40,4 @@ "keywords": [ | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"src" | ||
], | ||
@@ -60,13 +61,7 @@ "scripts": { | ||
"sideEffects": false, | ||
"devDependencies": { | ||
"@types/jest": "^26.0.23", | ||
"jest": "^26.6.3", | ||
"ts-jest": "^26.5.5", | ||
"typescript": "^4.2.4" | ||
}, | ||
"dependencies": { | ||
"@rimbu/base": "^0.5.8", | ||
"@rimbu/collection-types": "^0.5.10", | ||
"@rimbu/common": "^0.5.8", | ||
"@rimbu/stream": "^0.5.10" | ||
"@rimbu/base": "^0.5.9", | ||
"@rimbu/collection-types": "^0.5.11", | ||
"@rimbu/common": "^0.5.9", | ||
"@rimbu/stream": "^0.5.11" | ||
}, | ||
@@ -76,3 +71,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "ac4608d3221339352917943ef3513192ddef5a4f" | ||
"gitHead": "0158eaad0dec4503e92cb308af952869d68faad5" | ||
} |
@@ -7,8 +7,12 @@ <p align="center"> | ||
This package contains the implementation for the `SortedMap` and `SortedSet` types, which form the basis of all Rimbu Sorted collections. The collections use a `Comp` instance that is configurable to determine the equality and order of values/objects. | ||
This package exports the following types: | ||
| Name | Description | | ||
| ---- | ----------- | | ||
| Name | Description | | ||
| ----------------- | -------------------------------------------------------------------------------------- | | ||
| `SortedMap<K, V>` | a map with entries of key type K and value type V, where keys are sorted with a `Comp` | | ||
| `SortedSet<T>` | a set of value type T where items are sorted with a `Comp` | | ||
For complete documentation please visit the _[Rimbu Docs](http://rimbu.org/rimbu-core)_. | ||
For complete documentation please visit the _[Rimbu Docs](http://rimbu.org)_. | ||
@@ -21,7 +25,7 @@ ## Installation | ||
`yarn add @rimbu/sorted` | ||
> `yarn add @rimbu/sorted` | ||
or | ||
`npm i @rimbu/sorted` | ||
> `npm i @rimbu/sorted` | ||
@@ -45,2 +49,8 @@ ### recommended tsconfig settings | ||
```ts | ||
import { SortedSet } from '@rimbu/sorted'; | ||
console.log(SortedSet.of(1, 3, 4, 2, 3).toString()); | ||
``` | ||
## Author | ||
@@ -47,0 +57,0 @@ |
Sorry, the diff of this file is not supported yet
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
578105
0
93
9990
72
Updated@rimbu/base@^0.5.9
Updated@rimbu/common@^0.5.9
Updated@rimbu/stream@^0.5.11