
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@types/json-bigint
Advanced tools
TypeScript definitions for json-bigint
npm install --save @types/json-bigint
This package contains type definitions for json-bigint (https://github.com/sidorares/json-bigint#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-bigint.
declare const stringify: typeof JSON.stringify;
declare const parse: typeof JSON.parse;
declare function JSONBig(options?: Options): { parse: typeof parse; stringify: typeof stringify };
interface Options {
/**
* @default false
*/
strict?: boolean | undefined;
/**
* @default false
*/
storeAsString?: boolean | undefined;
/**
* @default false
*/
alwaysParseAsBig?: boolean | undefined;
/**
* @default false
*/
useNativeBigInt?: boolean | undefined;
/**
* @default 'error'
*/
protoAction?: "error" | "ignore" | "preserve" | undefined;
/**
* @default 'error'
*/
constructorAction?: "error" | "ignore" | "preserve" | undefined;
}
type JSONBigExport = typeof JSONBig & { parse: typeof parse; stringify: typeof stringify };
declare const _: JSONBigExport;
export = _;
These definitions were written by yamachu.
FAQs
TypeScript definitions for json-bigint
The npm package @types/json-bigint receives a total of 265,322 weekly downloads. As such, @types/json-bigint popularity was classified as popular.
We found that @types/json-bigint 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.