
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@digix/tempo
Advanced tools
const { wait, waitUntilBlock } = require('@digix/tempo');
// wait will wait for `n` blocks; (seconds, blocks), default (20, 1)
// waitUntilBlock will wait until `n` specific block; (seconds, blockNumber)
contract('MockLibraryUser', function () {
it('get_last_payment_date returns correct time when its not set', async function () {
const mockLibraryUser = await MockLibraryUser.deployed();
await mockLibraryUser.create_user(testUser);
const lastPayment1 = await mockLibraryUser.get_last_payment_date.call(testUser);
const timeDiff1 = new Date().getTime() - (lastPayment1.toNumber() * 1000);
assert.ok(timeDiff1 < 1000, 'unset date isnt `now`');
await wait();
});
});
MIT 2016
FAQs
Testing tool: Time management over RPC
The npm package @digix/tempo receives a total of 99 weekly downloads. As such, @digix/tempo popularity was classified as not popular.
We found that @digix/tempo 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.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.