@jymfony/datastructure
Advanced tools
Comparing version 0.1.0-alpha.18 to 0.1.0-alpha.19
{ | ||
"name": "@jymfony/datastructure", | ||
"version": "0.1.0-alpha.18", | ||
"version": "0.1.0-alpha.19", | ||
"description": "Jymfony Data Structures", | ||
@@ -22,4 +22,4 @@ "typings": "types/index.d.ts", | ||
"dependencies": { | ||
"@jymfony/exceptions": "0.1.0-alpha.18", | ||
"@jymfony/util": "0.1.0-alpha.18" | ||
"@jymfony/exceptions": "0.1.0-alpha.19", | ||
"@jymfony/util": "0.1.0-alpha.19" | ||
}, | ||
@@ -26,0 +26,0 @@ "devDependencies": { |
@@ -1,3 +0,4 @@ | ||
require('./PriorityQueue'); | ||
require('./BTree'); | ||
require('./HashTable'); | ||
require('./LinkedList'); | ||
require('./PriorityQueue'); |
@@ -169,3 +169,3 @@ const GenericCollectionTrait = require('./Traits/GenericCollectionTrait'); | ||
} | ||
} while (e = e.next && e.hashCode % this._bucketSize === bucketIdx); | ||
} while ((e = e.next) && e.hashCode % this._bucketSize === bucketIdx); | ||
@@ -292,3 +292,3 @@ this._add(entry); | ||
return undefined !== e ? e.value : undefined; | ||
return e.value; | ||
} | ||
@@ -380,3 +380,3 @@ | ||
yield [ e.key, e.value ]; | ||
} while (e = e.next); | ||
} while ((e = e.next)); | ||
} | ||
@@ -383,0 +383,0 @@ |
@@ -5,3 +5,3 @@ /** | ||
*/ | ||
declare class HashTable<T = any> extends Object implements Iterable<T> { | ||
declare class HashTable<T = any> extends Object implements Iterable<[ string | number, T ]> { | ||
/** | ||
@@ -92,3 +92,3 @@ * Whether the collection is empty. | ||
*/ | ||
[Symbol.iterator](): Iterator<T>; | ||
[Symbol.iterator](): Iterator<[ string | number, T ]>; | ||
} |
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
35389
14
1315
+ Added@jymfony/exceptions@0.1.0-alpha.19(transitive)
+ Added@jymfony/util@0.1.0-alpha.19(transitive)
- Removed@jymfony/exceptions@0.1.0-alpha.18(transitive)
- Removed@jymfony/util@0.1.0-alpha.18(transitive)
Updated@jymfony/util@0.1.0-alpha.19