Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@bbc/moment-timezone-include
Advanced tools
Webpack plugin and timezone data includes to pull in specific timezone data into desired chunks.
This package allows you to exclude all moment timezones from being included, while including specific ones in the chunks you desire.
npm install @bbc/moment-timezone-include --save
plugins: [new MomentTimezoneInclude({ startYear: 1990, endYear: 2025 })],
This does two things. Firstly it removes all timezones from the moment-timezone package so that they can be included individually. It also specifies the date range of the specifically included timezone data. If startYear
isn't provided it defaults to the earliest available data and likewise if endYear
isn't included it includes all known future data.
import '@bbc/moment-timezone-include/tz/America/New_York'
This makes the specified timezone available to moment. It supports all moment timezones by replacing America/New_York
in the example above with any moment timezone. The full list of timezones can be found here.
Psammead is completely open source. We are grateful for any contributions, whether they be new components, bug fixes or general improvements. Please see our primary contributing guide which can be found at the root of the Psammead respository.
We welcome feedback and help on this work. By participating in this project, you agree to abide by the code of conduct. Please take a moment to read it.
Psammead is Apache 2.0 licensed.
FAQs
Webpack plugin and timezone data includes to pull in specific timezone data into desired chunks.
The npm package @bbc/moment-timezone-include receives a total of 14 weekly downloads. As such, @bbc/moment-timezone-include popularity was classified as not popular.
We found that @bbc/moment-timezone-include demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 39 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
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.