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

fenextjs-date

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fenextjs-date - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

5

cjs/index.d.ts

@@ -38,2 +38,7 @@ export interface FenextjsDateFormatOptions extends Intl.DateTimeFormatOptions {

onGenerateDateByCalendar(date?: FenextjsDateValue): Date[];
onValidateMinMax({ date, max, min, }: {
min?: Date;
max?: Date;
date?: Date;
}): boolean;
}

@@ -119,4 +119,15 @@ "use strict";

}
onValidateMinMax({ date, max, min, }) {
const d = date ?? this.date;
let sw = true;
if (min) {
sw &&= min <= d;
}
if (max) {
sw &&= max >= d;
}
return sw;
}
}
exports.FenextjsDate = FenextjsDate;
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "fenextjs-date",
"version": "3.0.0",
"version": "3.1.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "./cjs/index.js",

Sorry, the diff of this file is not supported yet

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