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

date-picker-svelte

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

date-picker-svelte - npm Package Compare versions

Comparing version 2.5.1 to 2.6.0

9

dist/parse.js

@@ -49,2 +49,7 @@ import { getMonthLength } from './date-utils.js';

}
else if (token.id === 'yy') {
const value = parseUint(/^[0-9]{2}/, 0, 99);
if (value !== null)
year = 2000 + value;
}
else if (token.id === 'yyyy') {

@@ -104,2 +109,6 @@ const value = parseUint(/^[0-9]{4}/, 0, 9999);

{
id: 'yy',
toString: (d) => d.getFullYear().toString().slice(-2),
},
{
id: 'MM',

@@ -106,0 +115,0 @@ toString: (d) => twoDigit(d.getMonth() + 1),

4

package.json
{
"name": "date-picker-svelte",
"version": "2.5.1",
"version": "2.6.0",
"description": "Date and time picker for Svelte",

@@ -24,3 +24,3 @@ "type": "module",

"@typescript-eslint/parser": "^5.60.1",
"@vitest/coverage-c8": "^0.32.2",
"@vitest/coverage-v8": "^0.32.2",
"date-fns": "^2.30.0",

@@ -27,0 +27,0 @@ "eslint": "^8.44.0",

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