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

@date-io/core

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@date-io/core - npm Package Compare versions

Comparing version 2.9.0 to 2.9.2

2

dev-utils.js

@@ -17,2 +17,3 @@ const nodeResolve = require("rollup-plugin-node-resolve");

format: "esm",
exports: "auto"
},

@@ -27,2 +28,3 @@ plugins: [nodeResolve({ extensions }), typescriptPlugin({ typescript })],

format: "cjs",
exports: "auto"
},

@@ -29,0 +31,0 @@ plugins: [nodeResolve({ extensions }), typescriptPlugin({ typescript })],

@@ -62,2 +62,13 @@ /**

export type Unit =
| "years"
| "quarters"
| "months"
| "weeks"
| "days"
| "hours"
| "minutes"
| "seconds"
| "milliseconds";
export interface IUtils<TDate> {

@@ -84,3 +95,3 @@ formats: DateIOFormats<any>;

isValid(value: any): boolean;
getDiff(value: TDate, comparing: TDate | string): number;
getDiff(value: TDate, comparing: TDate | string, unit?: Unit): number;
isEqual(value: any, comparing: any): boolean;

@@ -87,0 +98,0 @@

4

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

@@ -34,3 +34,3 @@ "scripts": {

},
"gitHead": "508a50423a17e207197c149814fe8087c5cef399"
"gitHead": "4712b8927e09e6bb5378436783e15d48e174584d"
}
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