Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@pocket-tools/tsconfig
Advanced tools
These are settings for TSConfig used by Pocket.
This setups up your Typescript tslint settings based on best practices. Check the tsconfig.json file to see what is included. Feel free to override the rules that make sense for you.
npm i -D @pocket-tools/tsconfig # or yarn install --dev @pocket-tools/tsconfig
tsconfig.json
file with the following content:If you don't already have one the NPM post install script will create it for you.
{
"extends": "@pocket-tools/tsconfig",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
},
"exclude": [
"node_modules/",
"dist/"
],
"include": [
"src/**/*.ts",
"src/config"
]
}
Concepts are used from https://github.com/Chatie/tsconfig
FAQs
TSConfig used across Pocket
The npm package @pocket-tools/tsconfig receives a total of 5,687 weekly downloads. As such, @pocket-tools/tsconfig popularity was classified as popular.
We found that @pocket-tools/tsconfig demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.