Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/moment

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/moment - npm Package Versions

2

2.13.0

Diff

Changelog

Source

2.13.0 See full changelog

  • Release April 18, 2016

Enhancements:

  • #2982 Add 'date' as alias to 'day' for startOf() and endOf().
  • #2955 Add parsing negative components in durations when ISO 8601
  • #2991 isBetween support for both open and closed intervals
  • #3105 Add localeSorted argument to weekday listers
  • #3102 Add k and kk formatting tokens

Bugfixes

  • #3109 Fix #1756 Resolved thread-safe issue on server side.
  • #3078 Fix parsing for months/weekdays with weird characters
  • #3098 Use Z suffix when in UTC mode (#3020)
  • #2995 Fix floating point rounding errors in durations
  • #3059 fix bug where diff returns -0 in month-related diffs
  • #3045 Fix mistaking any input for 'a' token
  • #2877 Use explicit .valueOf() calls instead of coercion
  • #3036 Year setter should keep time when DST changes

Plus 3 new locales and locale fixes.

types
published 0.0.0 •

types
published 2.11.29 •

types
published 2.11.28 •

types
published 2.11.27-alpha •

types
published 2.11.26-alpha •

types
published 2.11.25-alpha •

types
published 2.11.24-alpha •

types
published 2.11.23-alpha •

types
published 2.11.22-alpha •

2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc