@datatypes/moment
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -39,3 +39,3 @@ 'use strict'; | ||
get: function get() { | ||
return _Moment.Moment; | ||
return _interopRequireDefault(_Moment).default; | ||
} | ||
@@ -49,3 +49,3 @@ }); | ||
get: function get() { | ||
return _Year.Year; | ||
return _interopRequireDefault(_Year).default; | ||
} | ||
@@ -59,3 +59,3 @@ }); | ||
get: function get() { | ||
return _Month.Month; | ||
return _interopRequireDefault(_Month).default; | ||
} | ||
@@ -69,3 +69,3 @@ }); | ||
get: function get() { | ||
return _Day.Day; | ||
return _interopRequireDefault(_Day).default; | ||
} | ||
@@ -79,3 +79,3 @@ }); | ||
get: function get() { | ||
return _Hour.Hour; | ||
return _interopRequireDefault(_Hour).default; | ||
} | ||
@@ -89,3 +89,3 @@ }); | ||
get: function get() { | ||
return _Minute.Minute; | ||
return _interopRequireDefault(_Minute).default; | ||
} | ||
@@ -99,3 +99,3 @@ }); | ||
get: function get() { | ||
return _Second.Second; | ||
return _interopRequireDefault(_Second).default; | ||
} | ||
@@ -109,3 +109,3 @@ }); | ||
get: function get() { | ||
return _Millisecond.Millisecond; | ||
return _interopRequireDefault(_Millisecond).default; | ||
} | ||
@@ -112,0 +112,0 @@ }); |
{ | ||
"name": "@datatypes/moment", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "ISO 8601 based time and date module", | ||
@@ -5,0 +5,0 @@ "main": "build/index", |
import runTest from 'ava' | ||
import expect from 'unexpected' | ||
import momentFromString from '../source/index' | ||
import Moment from '../source/classes/Moment' | ||
import Year from '../source/classes/Year' | ||
import Month from '../source/classes/Month' | ||
import Day from '../source/classes/Day' | ||
import Hour from '../source/classes/Hour' | ||
import Minute from '../source/classes/Minute' | ||
import Second from '../source/classes/Second' | ||
import Millisecond from '../source/classes/Millisecond' | ||
import momentFromString, {Moment, Year, Month, Day, | ||
Hour, Minute, Second, Millisecond} from '../source/index' | ||
@@ -14,0 +7,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
66721
1545