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.
ES6 + a little more on top of ES5
In short, es2pi is a collection of ES6 polyfills + methods missing even in ES6.
Because:
Map
and Set
.String.prototype.repeat
while Array.prototype.repeat
is missing.
You should be able to go like var a = [0].repeat(42);
Array
.typeof null === null
is welcome but shouldn't we add Object.typeOf
, too?.typeOf()
methods like 'JavaScript'.typeOf() === 'string'
?num.is(42)
is definitely better than Object.is(num, 42)
!Thanks to ES5, it is now safe to extend Object.prototype
via Object.defineProperty
yet we are still too afraid. Underscore.js is a great hack but a hack nontheless. Isn't it time to stop wrapping JavaScript's bad parts and extend its good parts?
2π is a little bigger than 6, isn't it?
FAQs
ES6 + a little more on top of ES5
The npm package js-es2pi receives a total of 3 weekly downloads. As such, js-es2pi popularity was classified as not popular.
We found that js-es2pi 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.
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.