
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
@types/typedarray-pool
Advanced tools
TypeScript definitions for typedarray-pool
npm install --save @types/typedarray-pool
This package contains type definitions for typedarray-pool (https://github.com/mikolalysenko/typedarray-pool).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/typedarray-pool.
type DataType =
| "uint8"
| "uint16"
| "uint32"
| "int8"
| "int16"
| "int32"
| "float"
| "float32"
| "double"
| "float64"
| "arraybuffer"
| "data"
| "dataview"
| "uint8_clamped"
| "buffer";
export function malloc(n: number, dtype?: DataType): any;
export function mallocUint8(n: number): Uint8Array;
export function mallocUint16(n: number): Uint16Array;
export function mallocUint32(n: number): Uint32Array;
export function mallocUint8Clamped(n: number): Uint8ClampedArray;
export function mallocInt8(n: number): Int8Array;
export function mallocInt16(n: number): Int16Array;
export function mallocInt32(n: number): Int32Array;
export function mallocFloat(n: number): Float32Array;
export function mallocDouble(n: number): Float64Array;
export function mallocArrayBuffer(n: number): ArrayBuffer;
export function mallocDataView(n: number): DataView;
export function mallocBuffer(n: number): any;
export function free(array: any): void;
export function freeUint8(array: Uint8Array): void;
export function freeUint16(array: Uint16Array): void;
export function freeUint32(array: Uint32Array): void;
export function freeUint8Clamped(array: Uint8ClampedArray): void;
export function freeInt8(array: Int8Array): void;
export function freeInt16(array: Int16Array): void;
export function freeInt32(array: Int32Array): void;
export function freeFloat(array: Float32Array): void;
export function freeDouble(array: Float64Array): void;
export function freeArrayBuffer(buffer: ArrayBuffer): void;
export function freeDataView(view: DataView): void;
export function freeBuffer(buffer: any): void;
export function clearCache(): void;
These definitions were written by Giff Song.
FAQs
TypeScript definitions for typedarray-pool
The npm package @types/typedarray-pool receives a total of 186 weekly downloads. As such, @types/typedarray-pool popularity was classified as not popular.
We found that @types/typedarray-pool 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
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.