Comparing version 2.15.0 to 2.15.1
Changelog | ||
========= | ||
### 2.15.1 | ||
* Release Sept 20, 2016 | ||
* [3438] [bugfix] Fix locale autoload, revert #3344 | ||
### 2.15.0 [See full changelog](https://gist.github.com/ichernev/10e1c5bf647545c72ca30e9628a09ed3) | ||
@@ -5,0 +9,0 @@ - Release Sept 12, 2016 |
//! moment.js | ||
//! version : 2.15.0 | ||
//! version : 2.15.1 | ||
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors | ||
@@ -104,3 +104,3 @@ //! license : MIT | ||
// TODO: Find a better way to register and load all the locales in Node | ||
if(!we[a]&&"undefined"!=typeof module&&module&&module.require)try{b=se._abbr,module.require("./locale/"+a), | ||
if(!we[a]&&"undefined"!=typeof module&&module&&module.exports)try{b=se._abbr,require("./locale/"+a), | ||
// because defineLocale currently also sets the global locale, we | ||
@@ -496,2 +496,2 @@ // want to undo that for lazy loaded locales | ||
// Side effect imports | ||
a.version="2.15.0",b(rb),a.fn=Se,a.min=tb,a.max=ub,a.now=Fe,a.utc=j,a.unix=Jc,a.months=Pc,a.isDate=f,a.locale=Za,a.invalid=n,a.duration=Nb,a.isMoment=r,a.weekdays=Rc,a.parseZone=Kc,a.localeData=ab,a.isDuration=wb,a.monthsShort=Qc,a.weekdaysMin=Tc,a.defineLocale=$a,a.updateLocale=_a,a.locales=bb,a.weekdaysShort=Sc,a.normalizeUnits=J,a.relativeTimeRounding=id,a.relativeTimeThreshold=jd,a.calendarFormat=Tb,a.prototype=Se;var nf=a;return nf}); | ||
a.version="2.15.1",b(rb),a.fn=Se,a.min=tb,a.max=ub,a.now=Fe,a.utc=j,a.unix=Jc,a.months=Pc,a.isDate=f,a.locale=Za,a.invalid=n,a.duration=Nb,a.isMoment=r,a.weekdays=Rc,a.parseZone=Kc,a.localeData=ab,a.isDuration=wb,a.monthsShort=Qc,a.weekdaysMin=Tc,a.defineLocale=$a,a.updateLocale=_a,a.locales=bb,a.weekdaysShort=Sc,a.normalizeUnits=J,a.relativeTimeRounding=id,a.relativeTimeThreshold=jd,a.calendarFormat=Tb,a.prototype=Se;var nf=a;return nf}); |
{ | ||
"name": "moment", | ||
"version": "2.15.0", | ||
"version": "2.15.1", | ||
"description": "Parse, validate, manipulate, and display dates", | ||
@@ -5,0 +5,0 @@ "homepage": "http://momentjs.com", |
@@ -51,6 +51,6 @@ import isArray from '../utils/is-array'; | ||
if (!locales[name] && (typeof module !== 'undefined') && | ||
module && module.require) { | ||
module && module.exports) { | ||
try { | ||
oldLocale = globalLocale._abbr; | ||
module.require('./locale/' + name); | ||
require('./locale/' + name); | ||
// because defineLocale currently also sets the global locale, we | ||
@@ -57,0 +57,0 @@ // want to undo that for lazy loaded locales |
//! moment.js | ||
//! version : 2.15.0 | ||
//! version : 2.15.1 | ||
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors | ||
@@ -9,3 +9,3 @@ //! license : MIT | ||
moment.version = '2.15.0'; | ||
moment.version = '2.15.1'; | ||
@@ -12,0 +12,0 @@ import { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2246927
3
5