Socket
Socket
Sign inDemoInstall

moment

Package Overview
Dependencies
Maintainers
3
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moment - npm Package Versions

1
8

2.20.1

Diff

Changelog

Source

2.20.1 See changelog

  • Release Dec 18, 2017

  • #4359 [locale] Fix Arabic locale for months (again)

  • #4357 [misc] Add optional parameter keepOffset to toISOString

marwahaha
published 2.20.0 •

Changelog

Source

2.20.0 See full changelog

  • Release Dec 16, 2017

  • #4312 [bugfix] Fix #4251: Avoid RFC2822 in utc() test

  • #4240 [bugfix] Fix incorrect strict parsing with full-width parentheses

  • #4341 [feature] Prevent toISOString converting to UTC (issue #1751)

  • #4154 [feature] add format constants to support output to HTML5 input type formats (see #3928)

  • #4143 [new locale] mt: Maltese language

  • #4183 [locale] Relative seconds i18n

  • Various other locale improvements

marwahaha
published 2.19.4 •

Changelog

Source

2.19.4 See changelog

  • Release Dec 10, 2017

  • #4332 [bugfix] Fix weekday verification for UTC and offset days (fixes #4227)

  • #4336 [bugfix] Fix #4334: Remove unused function call argument

  • #4246 [misc] Add 'ss' relative time key to typescript definition

marwahaha
published 2.19.3 •

Changelog

Source

2.19.3 See changelog

  • Release Nov 29, 2017

  • #4326 [bugfix] Fix for ReDOS vulnerability (see #4163)

  • #4289 [misc] Fix spelling and formatting for U.S. for es-us

ichernev
published 2.19.2 •

Changelog

Source

2.19.2 See changelog (it's the same >:D)

  • Release Nov 11, 2017

  • #4255 [bugfix] Fix year setter for random days in a leap year, fixes #4238

  • #4242 [bugfix] updateLocale now tries to load parent, fixes #3626

ichernev
published 2.19.1 •

Changelog

Source

2.19.1

  • Release Oct 11, 2017

Make react native and webpack both work

  • #4225 #4226 #4232
ichernev
published 2.19.0 •

Changelog

Source

2.19.0 See full changelog

  • Release Oct 10, 2017
ichernev
published 2.18.1 •

Changelog

Source

2.18.1

  • Release Mar 22, 2017

  • #3853 [misc] Fix invalid whitespace character causing inability to parse moment.js

ichernev
published 2.18.0 •

Changelog

Source

2.18.0 See full changelog

  • Release Mar 18, 2017

Features

  • #3708 [feature] RFC2822 parsing
  • #3611 [feature] Durations gain validity
  • #3738 [feature] Enable relative time for multiple seconds, request #2558
  • #3766 [feature] Add support for k and kk format parsing

Bugfixes

  • #3643 [bugfix] Fixes #3520, parseZone incorrectly handled minutes under 16
  • #3710 [bugfix] Fixes #3632, toISOString returns null for invalid date
  • #3787 [bugfix] Fixes #3717, ensure day-of-year is non-zero
  • #3780 [bugfix] Fixes #3765: Ensure year 0 is formatted with YYYY
  • #3806 [bugfix] Fixes #3805, fix locale month getters for standalone/format cases

7 new locales, many locale improvements and some misc changes

ichernev
published 2.17.1 •

Changelog

Source

2.17.1 Also available here

  • Release Dec 03, 2016

  • #3638 [misc] TS: Make typescript definitions work with 1.x

  • #3628 [misc] Adds "sign CLA" link to CONTRIBUTING.md

  • #3640 [misc] Fix locale issues

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