New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eh-dia-util-slim

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eh-dia-util-slim - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

1

index.js

@@ -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

2

package.json
{
"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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc