
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
d3-chronological
Advanced tools
d3 components using proper timezone information. Currently only scale has been implemented.
Replace d3.time.scale
with d3.chrono.scale
.
var x = d3.chrono.scale('Pacific/Auckland')
.domain([
moment('2015-01-01'),
moment('2015-01-02')
])
.nice(moment().tz('Pacific/Auckland').startOf('w').every(1, 'w'))
.range([0, width]);
Create the scale with a timezone identifier from momentjs timezone or leave blank to use UTC. This timezone is used to create default ticks that align to the correct start of day, etc.
Pass a chronological time schedule to the nice function to round to the nearest schedule. The above example rounds to the nearest week.
Values are kept as milliseconds past epoch internally and converted to timezone moments on output from domain()
and ticks()
. Calculating your own tick values and tick format is suggested - using chronological makes this easy.
FAQs
d3 components using proper timezone information
The npm package d3-chronological receives a total of 6 weekly downloads. As such, d3-chronological popularity was classified as not popular.
We found that d3-chronological 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.