eh-dia-util-slim
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -25,3 +25,2 @@ "use strict"; | ||
var givenDate = given.getDate(); | ||
var givenMonth = given.getMonth(); | ||
@@ -28,0 +27,0 @@ |
@@ -6,3 +6,2 @@ var parse = function(config) { | ||
if (config instanceof Date) return config; | ||
// eslint-disable-next-line no-cond-assign | ||
if ((reg = String(config).match(/^(\d{4})-?(\d{2})-?(\d{1,2})$/))) { | ||
@@ -9,0 +8,0 @@ // 2018-08-08 or 20180808 |
{ | ||
"name": "eh-dia-util-slim", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Hoje é um dia útil? Qual é o próximo dia útil? Pequena lógica para determinar o próximo (ou se hoje é) dia útil considerando fériados nacionais (móveis ou não).", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,3 +6,3 @@ # eh-dia-util-slim | ||
# Modificacoes do fork | ||
Usar o dayjs ao inves do momentjs. Colocar tipos de Typescript. | ||
# Modificações do fork | ||
Remover dependências. Colocar tipos de Typescript. |
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
8
0
24587
369