Comparing version 0.4.1 to 0.4.2
@@ -21,2 +21,3 @@ module.exports = AnytimePicker | ||
function createMoment(value) { | ||
value = value !== null ? value : undefined | ||
if (this.options.timezone) return moment.tz(value, this.options.timezone) | ||
@@ -23,0 +24,0 @@ |
{ | ||
"name": "anytime", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"publishConfig": { | ||
@@ -19,3 +19,3 @@ "registry": "http://registry.npmjs.org" | ||
"prepublish": "npm test && npm prune", | ||
"demo": "browserify -r ./anytime ./anytime.js > bundle.js && open demo.html" | ||
"demo": "./node_modules/.bin/browserify -r ./anytime > bundle.js && open demo.html" | ||
}, | ||
@@ -31,2 +31,3 @@ "author": "Ben Gourley", | ||
"devDependencies": { | ||
"browserify": "^10.2.1", | ||
"istanbul": "^0.3.2", | ||
@@ -33,0 +34,0 @@ "jsdom": "^3.1.2", |
Sorry, the diff of this file is not supported yet
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
20220
304
0
6