
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
A small CLI utility that helps with incrementally converting your project to typescript or for adding new rules (strictNullChecks, noImplicitAny, etc...) to existing typescript project
A small CLI utility that helps with incrementally converting your project to typescript or for adding new rules (strictNullChecks, noImplicitAny, etc...) to existing typescript project
tscfc
run will output files without errorstscfc --update
will automatically include those files to tsconftscfc --update
checks files against tsconf files (from step 2.) and show user if anything is broken
npm i -D tscfc
Run from terminal:
Usage: tscfc --project TSCONFIG_PATH SRC_PATH
Example: tscfc ./index.ts --project ../App/tsconfig.strict.json ../App/src
--project path to your tsconfig.json
--verbose print all logs, usefull for debugging
--update include successfiles to tsconf
--remaining print all remaining files
Note: In order to check javascript files, please include allowJS: true
to tsconfig.
If you want to incrementally enforce some rules (e.g. noImplicitAny, strictNullChecks) create
tsconfig.strict.json
alongside with your tsconfig.json
. Then add to tsconfig.strict.json
:
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noImplicitAny": true,
"strictNullChecks": true
}
}
in package json add pretest
script, which will automatically runs
before your test, to check if you broke something or not, even before test.
{
//...
"scripts": {
"pretest": "tscfc --project ./tsconfig.strict.json ./src"
}
//...
}
FAQs
CLI utility for incrementally converting projects to TypeScript or applying new rules.
We found that tscfc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.