iterable-hash-table
Advanced tools
Comparing version 3.1.5 to 3.2.0
{ | ||
"name": "iterable-hash-table", | ||
"version": "3.1.5", | ||
"version": "3.2.0", | ||
"description": "A simple Iterable Hash Table written in TypeScript", | ||
@@ -12,3 +12,3 @@ "main": "public/HashTable.js", | ||
"author": "fluxxfield", | ||
"license": "ISC", | ||
"license": "MIT", | ||
"dependencies": { | ||
@@ -15,0 +15,0 @@ "typescript": "^3.8.2" |
@@ -463,2 +463,2 @@ 'use strict'; | ||
; | ||
module.exports = HashTable; | ||
export default HashTable; |
@@ -293,3 +293,3 @@ 'use strict'; | ||
*/ | ||
_resize(sizeType: string) { | ||
_resize(sizeType: string): void { | ||
// Helper function used to check if a number is Prime | ||
@@ -365,3 +365,3 @@ const isPrime = (num: number): boolean => { | ||
*/ | ||
clear() { | ||
clear(): void { | ||
this._buckets = Array(this._originalSize); | ||
@@ -374,2 +374,2 @@ this._size = this._originalSize; | ||
module.exports = HashTable; | ||
export default HashTable; |
@@ -7,2 +7,4 @@ { | ||
"module": "es6", | ||
"allowSyntheticDefaultImports": true, | ||
"esModuleInterop": true, | ||
"downlevelIteration": true, | ||
@@ -9,0 +11,0 @@ "moduleResolution": "node", |
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
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
48711
8
0
993