
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.
Copy your frontend dependencies directly into your assets.
npm i -D codep-cli
codep <outDir> [options]
For local installation usage:
npx codep "assets/vendor" --exclude "jquery,modernizr"
Or via package.json
scripts:
{
"scripts": {
"vendor": "codep assets/vendor --exclude jquery,modernizr"
}
}
Then run npm run vendor
through your CLI.
Please run npx codep --help
to see available options:
$ npx codep --help
Usage
$ codep <outDir> [options]
Examples
# Copy dependencies with default options
$ codep public/assets
# Copy dependencies to public/assets folder except jquery and modernizr
$ codep public/assets --exclude jquery,modernizr
Options
-s, --source Specify the node_modules source path
-p, --pkg Specify the package.json path
-k, --keepDist Keep the dist folder to exist, if any.
If "true" the output will be "pkg/dist", default "false"
-e, --exclude Specify the name of the dependencies you don\'t want to copy, e.g. "bootstrap,modernizr"
-d, --devDependencies Should you need to grab devDependencies as well?
--ext Only copied files with the specified extension, e.g. "js,ts"
-o, --overwrite Do you want to overwrite existing dependencies in the <outDir>?
<outDir> Specify an output folder for all copied files
FAQs
Copy your frontend dependencies directly into your assets
The npm package codep-cli receives a total of 0 weekly downloads. As such, codep-cli popularity was classified as not popular.
We found that codep-cli 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
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.