commit
9e7824f3ed
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "moment",
|
"name": "moment",
|
||||||
|
"license": "MIT",
|
||||||
"main": "moment.js",
|
"main": "moment.js",
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"**/.*",
|
"**/.*",
|
||||||
|
@ -20,12 +21,12 @@
|
||||||
"package.json"
|
"package.json"
|
||||||
],
|
],
|
||||||
"homepage": "https://github.com/moment/moment",
|
"homepage": "https://github.com/moment/moment",
|
||||||
"version": "2.15.0",
|
"version": "2.15.1",
|
||||||
"_release": "2.15.0",
|
"_release": "2.15.1",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "2.15.0",
|
"tag": "2.15.1",
|
||||||
"commit": "0d01bda39d30c904977d385d2e5352c6a02600dc"
|
"commit": "d3f9a749f0e27ea7ec6e8de3719247d132b357a7"
|
||||||
},
|
},
|
||||||
"_source": "https://github.com/moment/moment.git",
|
"_source": "https://github.com/moment/moment.git",
|
||||||
"_target": "^2.15.0",
|
"_target": "^2.15.0",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//! moment.js
|
//! moment.js
|
||||||
//! version : 2.15.0
|
//! version : 2.15.1
|
||||||
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
||||||
//! license : MIT
|
//! license : MIT
|
||||||
//! momentjs.com
|
//! momentjs.com
|
||||||
|
@ -1791,10 +1791,10 @@
|
||||||
var oldLocale = null;
|
var oldLocale = null;
|
||||||
// TODO: Find a better way to register and load all the locales in Node
|
// TODO: Find a better way to register and load all the locales in Node
|
||||||
if (!locales[name] && (typeof module !== 'undefined') &&
|
if (!locales[name] && (typeof module !== 'undefined') &&
|
||||||
module && module.require) {
|
module && module.exports) {
|
||||||
try {
|
try {
|
||||||
oldLocale = globalLocale._abbr;
|
oldLocale = globalLocale._abbr;
|
||||||
module.require('./locale/' + name);
|
require('./locale/' + name);
|
||||||
// because defineLocale currently also sets the global locale, we
|
// because defineLocale currently also sets the global locale, we
|
||||||
// want to undo that for lazy loaded locales
|
// want to undo that for lazy loaded locales
|
||||||
locale_locales__getSetGlobalLocale(oldLocale);
|
locale_locales__getSetGlobalLocale(oldLocale);
|
||||||
|
@ -4197,7 +4197,7 @@
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
utils_hooks__hooks.version = '2.15.0';
|
utils_hooks__hooks.version = '2.15.1';
|
||||||
|
|
||||||
setHookCallback(local__createLocal);
|
setHookCallback(local__createLocal);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue