
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@types/moment-range
Advanced tools
Stub TypeScript definitions entry for moment-range, which provides its own types definitions
This is a stub types definition for moment-range (https://github.com/rotaready/moment-range).
moment-range provides its own type definitions, so you don't need @types/moment-range installed!
[4.0.0]
exclusive
option of contains()
method in favour of new
excludeStart
and excludeEnd
optionsexclusive
option of by()
method in favour of new excludeEnd
optionsexclusive
option of byRange()
method in favour of new excludeEnd
optionsexclusive
option of reverseBy()
method in favour of new excludeStart
optionsexclusive
option of reverseByRange()
method in favour of new excludeStart
optionsparseZoneRange
in favour of rangeFromISOString
check
, typescript-test
npm scriptexcludeStart
and excludeEnd
to contains()
methodexcludeEnd
to by()
methodexcludeEnd
to byRange()
methodexcludeStart
to reverseBy()
methodexcludeStart
to reverseByRange()
methodrangeFromISOString
, changed name from parseZoneRange
snapTo()
methodbuild
script to use webpack's production settings for a more
optimized buildprepublish
script to prepublishOnly
so the task isn't run on
install
prepublishOnly
and version
scripts to use &&
instead of ;
prepublish
, preversion
, version
scripts to support typescript definitionsparseZoneRange
to rangeFromISOString
to follow naming conventions. Deprecated parseZoneRange
._test.js
→ .test.js
)./lib/
→ ./lib/tests/
)flow
→ check:flow
typescript-test
→ check:typescript
./declarations/
→ ./lib/
)intersect
not creating a new DateRange instance in all caseslib/
from package.json filesFAQs
Stub TypeScript definitions entry for moment-range, which provides its own types definitions
The npm package @types/moment-range receives a total of 8,417 weekly downloads. As such, @types/moment-range popularity was classified as popular.
We found that @types/moment-range 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.