@phensley/cldr-utils
Advanced tools
Comparing version 1.2.7 to 1.3.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Cache = void 0; | ||
var lru_1 = require("./lru"); | ||
@@ -4,0 +5,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Checksum = void 0; | ||
var fnv_1 = require("./fnv"); | ||
@@ -4,0 +5,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FNV = void 0; | ||
/** | ||
@@ -8,3 +9,3 @@ * FNV-1A hasher. Expects r to be initialized by caller. | ||
*/ | ||
exports.FNV = function (r, s) { | ||
var FNV = function (r, s) { | ||
for (var i = 0; i < s.length; i++) { | ||
@@ -16,2 +17,3 @@ r ^= s.charCodeAt(i); | ||
}; | ||
exports.FNV = FNV; | ||
//# sourceMappingURL=fnv.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Heap = void 0; | ||
var parent = function (i) { return (i - 1) >> 1; }; | ||
@@ -4,0 +5,0 @@ var left = function (i) { return (i << 1) + 1; }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.LRU = void 0; | ||
var DEFAULT_CAPACITY = 100; | ||
@@ -4,0 +5,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.binarySearch = void 0; | ||
/** | ||
@@ -12,3 +13,3 @@ * Binary search an array of numbers. The `lessThan` parameter determines which index | ||
*/ | ||
exports.binarySearch = function (elems, lessThan, n) { | ||
var binarySearch = function (elems, lessThan, n) { | ||
var lo = 0; | ||
@@ -36,2 +37,3 @@ var hi = elems.length - 1; | ||
}; | ||
exports.binarySearch = binarySearch; | ||
//# sourceMappingURL=search.js.map |
{ | ||
"name": "@phensley/cldr-utils", | ||
"version": "1.2.7", | ||
"version": "1.3.0", | ||
"description": "Utilities for cldr-engine packages", | ||
@@ -39,21 +39,21 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"tslib": "^1.13.0" | ||
"tslib": "^2.3.1" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.8.0", | ||
"@types/jest": "^25.2.1", | ||
"@types/node": "^14.0.1", | ||
"@typescript-eslint/eslint-plugin": "^2.33.0", | ||
"@typescript-eslint/parser": "^2.33.0", | ||
"@microsoft/api-extractor": "^7.18.5", | ||
"@types/jest": "^27.0.1", | ||
"@types/node": "^16.6.1", | ||
"@typescript-eslint/eslint-plugin": "^4.29.1", | ||
"@typescript-eslint/parser": "^4.29.1", | ||
"beautify-benchmark": "^0.2.4", | ||
"benchmark": "^2.1.4", | ||
"chalk": "^4.0.0", | ||
"eslint": "^7.0.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"jest": "^26.0.1", | ||
"prettier": "^2.0.5", | ||
"chalk": "^4.1.2", | ||
"eslint": "^7.32.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^3.4.0", | ||
"jest": "^27.0.6", | ||
"prettier": "^2.3.2", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^25.5.1", | ||
"typescript": "~3.8.3" | ||
"ts-jest": "^27.0.4", | ||
"typescript": "~4.3.5" | ||
}, | ||
@@ -77,3 +77,3 @@ "jest": { | ||
}, | ||
"gitHead": "b67e55a91ddf420dada2375c27215b515794dbf7" | ||
"gitHead": "a0578557c1a781fecf166395ee0b9d14d68ad2bb" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
53596
983
+ Addedtslib@2.8.1(transitive)
- Removedtslib@1.14.1(transitive)
Updatedtslib@^2.3.1