@thi.ng/associative
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -22,3 +22,3 @@ import { Comparator, ICopy, IEmpty, IEquiv, Predicate2 } from "@thi.ng/api/api"; | ||
* | ||
* Default: `@thi.ng/api/equiv` | ||
* Default: `@thi.ng/equiv` | ||
*/ | ||
@@ -43,3 +43,3 @@ equiv: Predicate2<T>; | ||
* | ||
* Default: `@thi.ng/api/compare` | ||
* Default: `@thi.ng/compare` | ||
*/ | ||
@@ -46,0 +46,0 @@ compare: Comparator<K>; |
@@ -6,3 +6,3 @@ import { EquivSetOpts, IEquivSet, Pair } from "./api"; | ||
* when dealing with structured data. Implements full API of native Set | ||
* and by the default uses `@thi.ng/api/equiv` for equivalence checking. | ||
* and by the default uses `@thi.ng/equiv` for equivalence checking. | ||
* | ||
@@ -9,0 +9,0 @@ * Additionally, the type also implements the `ICopy`, `IEmpty` and |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const equiv_1 = require("@thi.ng/api/equiv"); | ||
const equiv_1 = require("@thi.ng/equiv"); | ||
const api_1 = require("./api"); | ||
@@ -10,3 +10,3 @@ const __private = new WeakMap(); | ||
* when dealing with structured data. Implements full API of native Set | ||
* and by the default uses `@thi.ng/api/equiv` for equivalence checking. | ||
* and by the default uses `@thi.ng/equiv` for equivalence checking. | ||
* | ||
@@ -13,0 +13,0 @@ * Additionally, the type also implements the `ICopy`, `IEmpty` and |
@@ -6,2 +6,10 @@ # Change Log | ||
<a name="0.5.1"></a> | ||
## [0.5.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/associative@0.5.0...@thi.ng/associative@0.5.1) (2018-05-10) | ||
**Note:** Version bump only for package @thi.ng/associative | ||
<a name="0.5.0"></a> | ||
@@ -8,0 +16,0 @@ # [0.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/associative@0.4.6...@thi.ng/associative@0.5.0) (2018-05-09) |
@@ -14,3 +14,3 @@ import { ICopy, IEmpty, IEquiv, IObjectOf } from "@thi.ng/api/api"; | ||
* provided options. If no `opts` are given, uses `ArraySet` for | ||
* storing canonical keys and `@thi.ng/api/equiv` for checking key | ||
* storing canonical keys and `@thi.ng/equiv` for checking key | ||
* equivalence. | ||
@@ -17,0 +17,0 @@ * |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const equiv_1 = require("@thi.ng/api/equiv"); | ||
const equiv_1 = require("@thi.ng/equiv"); | ||
const api_1 = require("./api"); | ||
@@ -11,3 +11,3 @@ const array_set_1 = require("./array-set"); | ||
* provided options. If no `opts` are given, uses `ArraySet` for | ||
* storing canonical keys and `@thi.ng/api/equiv` for checking key | ||
* storing canonical keys and `@thi.ng/equiv` for checking key | ||
* equivalence. | ||
@@ -14,0 +14,0 @@ * |
@@ -6,3 +6,3 @@ import { EquivSetOpts, IEquivSet, Pair } from "./api"; | ||
* store and a customizable value equality / equivalence predicate. By | ||
* the default uses `@thi.ng/api/equiv` for equivalence checking. | ||
* the default uses `@thi.ng/equiv` for equivalence checking. | ||
* | ||
@@ -9,0 +9,0 @@ * Additionally, the type also implements the `ICopy`, `IEmpty` and |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const equiv_1 = require("@thi.ng/api/equiv"); | ||
const equiv_1 = require("@thi.ng/equiv"); | ||
const dcons_1 = require("@thi.ng/dcons"); | ||
@@ -11,3 +11,3 @@ const api_1 = require("./api"); | ||
* store and a customizable value equality / equivalence predicate. By | ||
* the default uses `@thi.ng/api/equiv` for equivalence checking. | ||
* the default uses `@thi.ng/equiv` for equivalence checking. | ||
* | ||
@@ -14,0 +14,0 @@ * Additionally, the type also implements the `ICopy`, `IEmpty` and |
{ | ||
"name": "@thi.ng/associative", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Alternative Set & Map data type implementations with customizable equality semantics & supporting operations", | ||
@@ -27,5 +27,9 @@ "main": "./index.js", | ||
"dependencies": { | ||
"@thi.ng/api": "^2.3.2", | ||
"@thi.ng/dcons": "^0.3.4", | ||
"@thi.ng/iterators": "^4.1.10" | ||
"@thi.ng/api": "^3.0.0", | ||
"@thi.ng/checks": "^1.5.2", | ||
"@thi.ng/compare": "^0.1.0", | ||
"@thi.ng/dcons": "^0.3.5", | ||
"@thi.ng/equiv": "^0.1.0", | ||
"@thi.ng/errors": "^0.1.0", | ||
"@thi.ng/iterators": "^4.1.11" | ||
}, | ||
@@ -32,0 +36,0 @@ "keywords": [ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const compare_1 = require("@thi.ng/api/compare"); | ||
const equiv_1 = require("@thi.ng/api/equiv"); | ||
const error_1 = require("@thi.ng/api/error"); | ||
const compare_1 = require("@thi.ng/compare"); | ||
const equiv_1 = require("@thi.ng/equiv"); | ||
const illegal_arguments_1 = require("@thi.ng/errors/illegal-arguments"); | ||
const is_array_1 = require("@thi.ng/checks/is-array"); | ||
@@ -238,3 +238,3 @@ const map_1 = require("@thi.ng/iterators/map"); | ||
} | ||
cap < 1 && error_1.illegalArgs(`invalid capacity: ${cap}`); | ||
cap < 1 && illegal_arguments_1.illegalArgs(`invalid capacity: ${cap}`); | ||
const maxLevel = Math.ceil(Math.log2(cap)); | ||
@@ -241,0 +241,0 @@ const nil = makeNode(-1); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const compare_1 = require("@thi.ng/api/compare"); | ||
const compare_1 = require("@thi.ng/compare"); | ||
const map_1 = require("@thi.ng/iterators/map"); | ||
@@ -5,0 +5,0 @@ const sorted_map_1 = require("./sorted-map"); |
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
78830
7
+ Added@thi.ng/checks@^1.5.2
+ Added@thi.ng/compare@^0.1.0
+ Added@thi.ng/equiv@^0.1.0
+ Added@thi.ng/errors@^0.1.0
- Removed@thi.ng/api@2.3.2(transitive)
Updated@thi.ng/api@^3.0.0
Updated@thi.ng/dcons@^0.3.5
Updated@thi.ng/iterators@^4.1.11