
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
@tsconfig/node20
Advanced tools
Add the package to your "devDependencies":
npm install --save-dev @tsconfig/node20
yarn add --dev @tsconfig/node20
Add to your tsconfig.json:
"extends": "@tsconfig/node20/tsconfig.json"
The tsconfig.json:
{
"$schema": "https://www.schemastore.org/tsconfig",
"_version": "20.1.0",
"compilerOptions": {
"lib": ["es2023"],
"module": "nodenext",
"target": "es2022",
"types": ["node"],
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"moduleResolution": "node16"
}
}
You can find the code here.
@tsconfig/node18 is similar to @tsconfig/node20 but is tailored for Node.js version 18. It provides a set of TypeScript compiler options optimized for Node.js 18, which may have slight differences in target and library settings compared to Node.js 20.
@tsconfig/node16 is another similar package but is tailored for Node.js version 16. It provides TypeScript compiler options optimized for Node.js 16, which may have more significant differences in target and library settings compared to Node.js 20.
@tsconfig/recommended provides a general set of recommended TypeScript compiler options that are not specific to any Node.js version. It is useful for a broader range of TypeScript projects but may not be as optimized for Node.js 20 as @tsconfig/node20.
FAQs
A base TSConfig for working with Node 20.
The npm package @tsconfig/node20 receives a total of 1,163,283 weekly downloads. As such, @tsconfig/node20 popularity was classified as popular.
We found that @tsconfig/node20 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.