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.9.2 to 2.10.0

8

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

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

"dependencies": {
"@date-io/core": "^2.9.2"
"@date-io/core": "^2.10.0"
},
"devDependencies": {
"date-fns": "2.15.0",
"date-fns": "2.16.1",
"rollup": "^2.0.2",
"typescript": "^3.7.2"
},
"gitHead": "4712b8927e09e6bb5378436783e15d48e174584d"
"gitHead": "3b596e88e257510621c56883233ebc7676161e9f"
}
import addDays from "date-fns/addDays";
import addSeconds from "date-fns/addSeconds";
import addMinutes from "date-fns/addMinutes";
import addHours from "date-fns/addHours";
import addWeeks from "date-fns/addWeeks";
import addMonths from "date-fns/addMonths";

@@ -125,2 +129,14 @@ import addYears from "date-fns/addYears";

public addSeconds(value: Date, count: number) {
return addSeconds(value, count);
}
public addMinutes(value: Date, count: number) {
return addMinutes(value, count);
}
public addHours(value: Date, count: number) {
return addHours(value, count);
}
public addDays(value: Date, count: number) {

@@ -130,2 +146,6 @@ return addDays(value, count);

public addWeeks(value: Date, count: number) {
return addWeeks(value, count);
}
public addMonths(value: Date, count: number) {

@@ -132,0 +152,0 @@ return addMonths(value, count);

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