Socket
Socket
Sign inDemoInstall

@types/moment

Package Overview
Dependencies
1
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @types/moment

Stub TypeScript definitions entry for Moment, which provides its own types definitions


Version published
Maintainers
1
Install size
3.90 MB
Created

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.

Readme

Source

This is a stub types definition for Moment (https://github.com/moment/moment). Moment provides its own type definitions, so you don't need @types/moment installed!

FAQs

Last updated on 12 Aug 2016

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc