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.16.0 to 2.17.0

10

dev-utils.js

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

},
plugins: [nodeResolve({ extensions }), typescriptPlugin({ typescript })],
plugins: [
nodeResolve({ extensions }),
typescriptPlugin({ typescript, target: "ES6" }),
],
},

@@ -30,5 +33,8 @@ {

},
plugins: [nodeResolve({ extensions }), typescriptPlugin({ typescript })],
plugins: [
nodeResolve({ extensions }),
typescriptPlugin({ typescript, target: "ES6" }),
],
},
];
};

9

IUtils.d.ts

@@ -89,3 +89,6 @@ export interface DateIOFormats<TLibFormatToken = string> {

is12HourCycleInCurrentLocale(): boolean;
/** Returns user readable format (taking into account localized format tokens), useful to render helper text for input (e.g. placeholder). For luxon always returns empty string. */
/**
* Returns user readable format (taking into account localized format tokens), useful to render helper text for input (e.g. placeholder).
* If helper can not be created and **for luxon** always returns empty string.
* */
getFormatHelperText(format: string): string;

@@ -105,7 +108,9 @@

isAfterDay(value: TDate, comparing: TDate): boolean;
isAfterMonth(value: TDate, comparing: TDate): boolean;
isAfterYear(value: TDate, comparing: TDate): boolean;
isBefore(value: TDate, comparing: TDate): boolean;
isBeforeDay(value: TDate, comparing: TDate): boolean;
isBeforeMonth(value: TDate, comparing: TDate): boolean;
isBeforeYear(value: TDate, comparing: TDate): boolean;
isBefore(value: TDate, comparing: TDate): boolean;

@@ -112,0 +117,0 @@ isWithinRange(value: TDate, range: [TDate, TDate]): boolean;

{
"name": "@date-io/core",
"version": "2.16.0",
"version": "2.17.0",
"description": "Abstraction over common javascript date management libraries",

@@ -32,5 +32,5 @@ "scripts": {

"rollup": "^2.0.2",
"typescript": "^3.7.2"
"typescript": "^5.0.0"
},
"gitHead": "e9eddac85299013881e8bf005f5030fdf46d4756"
"gitHead": "e497a04c456f04211c8b0877d002c85e72ea98a2"
}
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