Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
a2-in-memory-web-api
Advanced tools
An in-memory web api for Angular 2 demos and tests.
See usage in the Angular.io Server Communication chapter.
Mostly gulp driven.
The following describes steps for updating from one Angular version to the next
This is essential even when there are no changes of real consequence. Neglecting to synchronize Angular 2 versions triggers typescript definition duplication error messages when compiling your application project.
gulp bump
- up the package version number
update CHANGELOG.MD
to record the change
update the dependent version(s) in package.json
npm install
the new package(s) (make sure they really do install!)
npm list --depth=0
consider updating typings:
Iterate looking for SHAs of
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/{pkg}/{pkg}.d.ts
Update typings.json
and run npm run typings -- install
OR install individually:
npm run typings -- install packagename --ambient --save
NB: Do not add to npm postinstall
as that screws up consumers!
npm run tsc
to confirm the project compiles w/o error (sanity check)
-- NO TESTS YET ... BAD --
gulp build
commit and push
npm publish
Fix and validate angular.io docs samples
Add two tags to the release commit with for npmcdn
FAQs
An in-memory web api for demos and tests
The npm package a2-in-memory-web-api receives a total of 15 weekly downloads. As such, a2-in-memory-web-api popularity was classified as not popular.
We found that a2-in-memory-web-api 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.