Comparing version 0.39.8 to 0.40.0-rc1
@@ -11,2 +11,5 @@ /** | ||
// Constructor | ||
constructor(original: BiMap<K, V>); | ||
// Methods | ||
@@ -13,0 +16,0 @@ clear(): void; |
@@ -320,2 +320,3 @@ /* eslint no-constant-condition: 0 */ | ||
FibonacciHeap.MaxFibonacciHeap = MaxFibonacciHeap; | ||
module.exports = FibonacciHeap; |
@@ -47,3 +47,3 @@ /** | ||
export {default as TrieMap} from './trie-map'; | ||
export {default as Vector, Uint8Vector, Uint8ClampedVector, Int8Vector, Uint16Vector, Int16Vector, Uint32Vector, Int32Vector, Float32Vector, Float64Vector} from './vector'; | ||
export {default as Vector, Uint8Vector, Uint8ClampedVector, Int8Vector, Uint16Vector, Int16Vector, Uint32Vector, Int32Vector, Float32Vector, Float64Vector, PointerVector} from './vector'; | ||
export {default as VPTree} from './vp-tree'; |
21
index.js
/** | ||
* Mnemonist Library Endpoint | ||
* =========================== | ||
* Mnemonist Library Endpoint (CommonJS) | ||
* ====================================== | ||
* | ||
@@ -10,3 +10,4 @@ * Exporting every data structure through a unified endpoint. Consumers | ||
FibonacciHeap = require('./fibonacci-heap.js'), | ||
SuffixArray = require('./suffix-array.js'); | ||
SuffixArray = require('./suffix-array.js'), | ||
Vector = require('./vector.js'); | ||
@@ -50,3 +51,3 @@ module.exports = { | ||
GeneralizedSuffixArray: SuffixArray.GeneralizedSuffixArray, | ||
Set: require('./set.js'), | ||
set: require('./set.js'), | ||
SparseQueueSet: require('./sparse-queue-set.js'), | ||
@@ -58,4 +59,14 @@ SparseMap: require('./sparse-map.js'), | ||
TrieMap: require('./trie-map.js'), | ||
Vector: require('./vector.js'), | ||
Vector: Vector, | ||
Uint8Vector: Vector.Uint8Vector, | ||
Uint8ClampedVector: Vector.Uint8ClampedVector, | ||
Int8Vector: Vector.Int8Vector, | ||
Uint16Vector: Vector.Uint16Vector, | ||
Int16Vector: Vector.Int16Vector, | ||
Uint32Vector: Vector.Uint32Vector, | ||
Int32Vector: Vector.Int32Vector, | ||
Float32Vector: Vector.Float32Vector, | ||
Float64Vector: Vector.Float64Vector, | ||
PointerVector: Vector.PointerVector, | ||
VPTree: require('./vp-tree.js') | ||
}; |
{ | ||
"name": "mnemonist", | ||
"version": "0.39.8", | ||
"version": "0.40.0-rc1", | ||
"description": "Curated collection of data structures for the JavaScript/TypeScript.", | ||
"scripts": { | ||
"lint": "eslint --cache ./*.js ./utils ./test", | ||
"lint:fix": "eslint --cache --fix ./*.js ./utils ./test", | ||
"prepublishOnly": "npm run lint && npm test && npm run test:types", | ||
"lint": "eslint --cache --ext .js,.mjs ./*.js ./*.mjs ./utils ./test", | ||
"lint:fix": "eslint --cache --fix --ext .js,.mjs ./*.js ./*.mjs ./utils ./test", | ||
"prepublishOnly": "npm run lint && npm test && npm run test:exports", | ||
"test": "mocha", | ||
"test:types": "tsc --target es2015 --noEmit --noImplicitAny --noImplicitReturns ./test/types.ts" | ||
"test:exports": "cd test/exports && npm i && npm run test" | ||
}, | ||
"main": "./index.js", | ||
"module": "./index.mjs", | ||
"types": "./index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./index.d.ts", | ||
"require": "./index.js", | ||
"import": "./index.mjs" | ||
}, | ||
"./*": { | ||
"types": "./*.d.ts", | ||
"require": "./*.js" | ||
}, | ||
"./*.js": { | ||
"types": "./*.d.ts", | ||
"require": "./*.js" | ||
} | ||
}, | ||
"files": [ | ||
@@ -18,3 +34,4 @@ "sort", | ||
"*.d.ts", | ||
"*.js" | ||
"*.js", | ||
"*.mjs" | ||
], | ||
@@ -77,3 +94,3 @@ "repository": { | ||
"dependencies": { | ||
"obliterator": "^2.0.1" | ||
"obliterator": "^2.0.4" | ||
}, | ||
@@ -83,3 +100,3 @@ "devDependencies": { | ||
"asciitree": "^1.0.2", | ||
"damerau-levenshtein": "^1.0.7", | ||
"damerau-levenshtein": "^1.0.8", | ||
"eslint": "^8.2.0", | ||
@@ -92,4 +109,3 @@ "leven": "^3.1.0", | ||
"seedrandom": "^3.0.5", | ||
"static-kdtree": "^1.0.2", | ||
"typescript": "^4.5.2" | ||
"static-kdtree": "^1.0.2" | ||
}, | ||
@@ -102,3 +118,4 @@ "eslintConfig": { | ||
"forOf": true | ||
} | ||
}, | ||
"sourceType": "module" | ||
}, | ||
@@ -105,0 +122,0 @@ "rules": { |
@@ -352,2 +352,3 @@ /** | ||
SuffixArray.GeneralizedSuffixArray = GeneralizedSuffixArray; | ||
module.exports = SuffixArray; |
@@ -5,3 +5,3 @@ /** | ||
*/ | ||
import { IArrayLikeConstructor } from './utils/types'; | ||
import {IArrayLikeConstructor} from './utils/types'; | ||
@@ -83,1 +83,2 @@ type VectorOptions = { | ||
export class Float64Vector extends TypedVector {} | ||
export class PointerVector extends TypedVector {} |
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
383711
11
104
13826
Updatedobliterator@^2.0.4