Socket
Socket
Sign inDemoInstall

@date-io/date-fns

Package Overview
Dependencies
2
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

4

build/date-fns-utils.d.ts

@@ -15,3 +15,3 @@ import SampleLocale from "date-fns/locale/en-US";

addDays(value: Date, count: number): Date;
isValid(value: Date): boolean;
isValid(value: any): boolean;
getDiff(value: Date, comparing: Date): number;

@@ -35,3 +35,3 @@ isAfter(value: Date, comparing: Date): boolean;

format(date: Date, formatString: string): string;
isEqual(date: Date, comparing: Date): boolean;
isEqual(date: any, comparing: any): boolean;
isNull(date: Date): boolean;

@@ -38,0 +38,0 @@ isAfterDay(date: Date, value: Date): boolean;

{
"name": "@date-io/date-fns",
"version": "1.0.0",
"version": "1.0.1",
"description": "Abstraction over common javascript date management libraries",

@@ -36,3 +36,3 @@ "main": "build/index.js",

"dependencies": {
"@date-io/core": "^1.0.0"
"@date-io/core": "^1.0.1"
},

@@ -44,3 +44,3 @@ "devDependencies": {

},
"gitHead": "c4e71fade0dc1e4b711203e29643475adcc7abb0"
"gitHead": "85bac554cf41ec50e135e2123f1d1c6691bcaa7f"
}

@@ -59,3 +59,3 @@ import addDays from "date-fns/addDays";

public isValid(value: Date) {
public isValid(value: any) {
return isValid(value);

@@ -148,3 +148,3 @@ }

public isEqual(date: Date, comparing: Date) {
public isEqual(date: any, comparing: any) {
if (date === null && comparing === null) {

@@ -151,0 +151,0 @@ return true;

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc