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.
This is a simple NPM wrapper around the excellent datejs client-side library.
It modifies the Date prototype - this technique is looked down upon, but it's a very useful library.
See the datejs site for more information.
In the shell:
npm install datejs
In your app:
require('datejs');
NPM package datejs v0.0.1 corresponds to datejs Alpha1. It hasn't changed for three years, so hopefully it won't be too much of a maintenance nightmare.
I've just included all of the non-US locales in lib - I've not written any way to access them yet.
What I'll probably do is create a wrapper which defaults to en-US, but can be called with other locales.
I am not the author of datejs. I'm just maintaining an NPM package of it, as I needed one.
FAQs
DateJS is the most full-featured, internationalized, open-source JavaScript Date Library.
The npm package datejs receives a total of 22,246 weekly downloads. As such, datejs popularity was classified as popular.
We found that datejs 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.