@types/ronomon__hash-table
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -8,2 +8,3 @@ // Type definitions for @ronomon/hash-table 2.0 | ||
/* eslint-disable @definitelytyped/no-declare-current-package */ | ||
// tslint:disable-next-line no-single-declare-module | ||
@@ -10,0 +11,0 @@ declare module "@ronomon/hash-table" { |
{ | ||
"name": "@types/ronomon__hash-table", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "TypeScript definitions for @ronomon/hash-table", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ronomon__hash-table", | ||
"license": "MIT", | ||
@@ -24,4 +25,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "eba865569220681dec55a76869329f64e9f8fc01b70eb066e2bdcf79431f82f5", | ||
"typeScriptVersion": "3.3" | ||
"typesPublisherContentHash": "ffbdf92381457f9527b14f5d8e6154eb2482bdff10b0488a4af9c5d1fec0e6bf", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -9,5 +9,91 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ronomon__hash-table. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ronomon__hash-table/index.d.ts) | ||
````ts | ||
// Type definitions for @ronomon/hash-table 2.0 | ||
// Project: https://github.com/ronomon/hash-table#readme | ||
// Definitions by: airglow923 <https://github.com/airglow923> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
/// <reference types="node" /> | ||
/* eslint-disable @definitelytyped/no-declare-current-package */ | ||
// tslint:disable-next-line no-single-declare-module | ||
declare module "@ronomon/hash-table" { | ||
class HashTable { | ||
constructor( | ||
keySize: number, | ||
valueSize: number, | ||
elementsMin: number, | ||
elementsMax: number | ||
); | ||
cache( | ||
key: Buffer, | ||
keyOffset: number, | ||
value: Buffer, | ||
valueOffset: number | ||
): number; | ||
exist(key: Buffer, keyOffset: number): number; | ||
get( | ||
key: Buffer, | ||
keyOffset: number, | ||
value: Buffer, | ||
valueOffset: number | ||
): number; | ||
set( | ||
key: Buffer, | ||
keyOffset: number, | ||
value: Buffer, | ||
valueOffset: number | ||
): number; | ||
unset(key: Buffer, keyOffset: number): number; | ||
static BUCKETS_MAX: number; | ||
static BUCKETS_MIN: number; | ||
static BUFFERS_MAX: number; | ||
static BUFFERS_MIN: number; | ||
static BUFFER_MAX: number; | ||
static ELEMENTS_MAX: number; | ||
static ELEMENTS_MIN: number; | ||
static ERROR_MAXIMUM_CAPACITY_EXCEEDED: string; | ||
static ERROR_MODE: string; | ||
static ERROR_SET: string; | ||
static KEY_MAX: number; | ||
static KEY_MIN: number; | ||
static VALUE_MAX: number; | ||
static VALUE_MIN: number; | ||
capacity: number; | ||
length: number; | ||
load: number; | ||
size: number; | ||
} | ||
export = HashTable; | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Mon, 04 Jan 2021 20:50:45 GMT | ||
* Last updated: Mon, 11 Sep 2023 15:33:20 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +100,0 @@ * Global values: none |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
6358
56
0
103