Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/ronomon__hash-table

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/ronomon__hash-table - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

1

ronomon__hash-table/index.d.ts

@@ -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" {

7

ronomon__hash-table/package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc