Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@date-io/date-fns

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@date-io/date-fns - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

1

build/date-fns-utils.d.ts

@@ -33,2 +33,3 @@ import { IUtils, DateIOFormats } from "@date-io/core/IUtils";

date(value?: any): Date;
toJsDate(value: Date): Date;
parse(value: string, formatString: string): Date;

@@ -35,0 +36,0 @@ format(date: Date, formatKey: keyof DateIOFormats): string;

@@ -147,2 +147,5 @@ import addDays from 'date-fns/addDays';

};
DateFnsUtils.prototype.toJsDate = function (value) {
return value;
};
DateFnsUtils.prototype.parse = function (value, formatString) {

@@ -149,0 +152,0 @@ if (value === "") {

@@ -151,2 +151,5 @@ 'use strict';

};
DateFnsUtils.prototype.toJsDate = function (value) {
return value;
};
DateFnsUtils.prototype.parse = function (value, formatString) {

@@ -153,0 +156,0 @@ if (value === "") {

6

package.json
{
"name": "@date-io/date-fns",
"version": "2.2.0",
"version": "2.3.0",
"description": "Abstraction over common javascript date management libraries",

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

"dependencies": {
"@date-io/core": "^2.2.0"
"@date-io/core": "^2.3.0"
},

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

},
"gitHead": "fb544fcb8d281ae4642eb1677a3dc147d626c592"
"gitHead": "9073e951057d018665cdc2facd75892914cfa9bc"
}

@@ -182,2 +182,6 @@ import addDays from "date-fns/addDays";

public toJsDate(value: Date) {
return value;
}
public parse(value: string, formatString: string) {

@@ -184,0 +188,0 @@ if (value === "") {

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