date-frequency
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -14,3 +14,3 @@ "use strict"; | ||
var _unit = require("./util/unit"); | ||
var _unit2 = require("./util/unit"); | ||
@@ -40,3 +40,3 @@ var stringValidation = /^F((\d+|\(\w+\))[YMWD](?:\/[EYMW])?)*(?:T((\d+|\(\w+\))[HMS](?:\/[EYMWDH])?)*)?$/; | ||
if (!value) { | ||
value = _unit.defaults[unit]; | ||
value = _unit2.defaults[unit]; | ||
} else if (value[0] === '(') { | ||
@@ -68,6 +68,6 @@ value = value.substr(1, value.length - 2); | ||
_result4 = (0, _slicedToArray2.default)(_result3, 3), | ||
value = _result4[1], | ||
unit = _result4[2]; | ||
_value = _result4[1], | ||
_unit = _result4[2]; | ||
addRule(value, unit.toLowerCase()); | ||
addRule(_value, _unit.toLowerCase()); | ||
} | ||
@@ -74,0 +74,0 @@ |
{ | ||
"name": "date-frequency", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "Temporal frequency library", | ||
@@ -43,16 +43,16 @@ "main": "lib/frequency.js", | ||
"devDependencies": { | ||
"@babel/cli": "^7.5.5", | ||
"@babel/core": "^7.5.5", | ||
"@babel/plugin-transform-runtime": "^7.5.5", | ||
"@babel/preset-env": "^7.5.5", | ||
"@babel/register": "^7.5.5", | ||
"eslint": "^6.2.2", | ||
"@babel/cli": "^7.8.4", | ||
"@babel/core": "^7.8.6", | ||
"@babel/plugin-transform-runtime": "^7.8.3", | ||
"@babel/preset-env": "^7.8.6", | ||
"@babel/register": "^7.8.6", | ||
"eslint": "^6.8.0", | ||
"eslint-config-standard": "^14.1.0", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-node": "^9.2.0", | ||
"eslint-plugin-import": "^2.20.1", | ||
"eslint-plugin-node": "^11.0.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-standard": "^4.0.1", | ||
"full-week": "^1.1.1", | ||
"full-week": "^1.2.1", | ||
"leap-year": "^3.0.0", | ||
"mocha": "^6.2.0", | ||
"mocha": "^7.1.0", | ||
"moment": "^2.22.2", | ||
@@ -62,6 +62,6 @@ "number-kind": "^0.1.0" | ||
"dependencies": { | ||
"@babel/runtime": "^7.5.5", | ||
"@babel/runtime": "^7.8.4", | ||
"debug": ">=3.2.6 || >= 4.1.1", | ||
"weeknumber": "^1.1.1" | ||
"weeknumber": "^1.1.2" | ||
} | ||
} |
36213
Updated@babel/runtime@^7.8.4
Updatedweeknumber@^1.1.2