@date-io/moment
Advanced tools
Comparing version 2.8.0 to 2.8.1
'use strict'; | ||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var defaultMoment = require('moment'); | ||
var defaultMoment = _interopDefault(require('moment')); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var defaultMoment__default = /*#__PURE__*/_interopDefaultLegacy(defaultMoment); | ||
var defaultFormats = { | ||
@@ -40,3 +42,3 @@ normalDateWithWeekday: "ddd, MMM D", | ||
this.lib = "moment"; | ||
this.moment = instance || defaultMoment; | ||
this.moment = instance || defaultMoment__default['default']; | ||
this.locale = locale; | ||
@@ -43,0 +45,0 @@ this.formats = Object.assign({}, defaultFormats, formats); |
{ | ||
"name": "@date-io/moment", | ||
"version": "2.8.0", | ||
"version": "2.8.1", | ||
"description": "Abstraction over common javascript date management libraries", | ||
@@ -12,3 +12,3 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"@date-io/core": "^2.8.0" | ||
"@date-io/core": "^2.8.1" | ||
}, | ||
@@ -44,3 +44,3 @@ "devDependencies": { | ||
"license": "MIT", | ||
"gitHead": "25036d2ad2155f77e48edcb662c877431102f9fd" | ||
"gitHead": "5f04842fb1c5949535b79460f073ab8e668bdb6a" | ||
} |
32481
848
Updated@date-io/core@^2.8.1