Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
browserify-ngannotate
Advanced tools
A browserify transform that uses ng-annotate to add dependency injection annotations to your AngularJS source code, preparing it for minification.
A browserify transform that uses ng-annotate to add dependency injection annotations to your AngularJS source code, preparing it for minification.
browserify -t browserify-ngannotate app.js > bundle.js
Provided options are passed through to ng-annotate. The add
option defaults
to true
.
For example, to remove annotations, one could use the following:
browserify -t [ browserify-ngannotate --no-add --remove ] app.js > bundle.js
Sourcemapping will be enabled automatically when browserify is in debug
mode:
browserify --debug -t browserify-ngannotate app.js > bundle.js
Define the filetypes to transform. Prevents other resouces like .json or .css from being processed, if you are including them with require().
This is done using the --x
or --ext
transform options:
browserify -t [ browserify-ngannotate --x .coffee ] app.js > bundle.js
The above example will only annotate .js and .coffee files, ignoring the rest.
npm install browserify-ngannotate --save
MIT
FAQs
A browserify transform that uses ng-annotate to add dependency injection annotations to your AngularJS source code, preparing it for minification.
The npm package browserify-ngannotate receives a total of 2,150 weekly downloads. As such, browserify-ngannotate popularity was classified as popular.
We found that browserify-ngannotate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.