
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
@types/ronomon__hash-table
Advanced tools
TypeScript definitions for @ronomon/hash-table
npm install --save @types/ronomon__hash-table
This package contains type definitions for @ronomon/hash-table (https://github.com/ronomon/hash-table#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ronomon__hash-table.
/// <reference types="node" />
/* eslint-disable @definitelytyped/no-declare-current-package */
// eslint-disable-next-line @definitelytyped/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;
}
These definitions were written by airglow923.
FAQs
TypeScript definitions for @ronomon/hash-table
The npm package @types/ronomon__hash-table receives a total of 0 weekly downloads. As such, @types/ronomon__hash-table popularity was classified as not popular.
We found that @types/ronomon__hash-table demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.