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
38
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 1.1.0 to 1.1.1

4

CHANGELOG.md
# Changelog
## 1.1.1 - 2021 Dec 11
- Fix some dates showing as wrong weekdays
- Fix invalid input fields resetting when clicked
## 1.1.0 - 2021 Oct 19

@@ -4,0 +8,0 @@ - Add `Escape` shortcut for closing DatePicker popup

2

date-utils.js

@@ -39,3 +39,3 @@ export function isLeapYear(year) {

// add last month
const daysBefore = firstWeekday - weekStartsOn;
const daysBefore = (firstWeekday - weekStartsOn + 7) % 7;
if (daysBefore > 0) {

@@ -42,0 +42,0 @@ let lastMonth = month - 1;

{
"name": "date-picker-svelte",
"version": "1.1.0",
"version": "1.1.1",
"description": "Date and time picker for Svelte",

@@ -8,22 +8,22 @@ "type": "module",

"@sveltejs/adapter-static": "^1.0.0-next.21",
"@sveltejs/kit": "^1.0.0-next.186",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"babel-jest": "^27.3.0",
"date-fns": "^2.25.0",
"eslint": "^8.0.1",
"@sveltejs/kit": "^1.0.0-next.201",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"babel-jest": "^27.4.4",
"date-fns": "^2.27.0",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-svelte3": "^3.2.1",
"jest": "^27.3.0",
"jest": "^27.4.4",
"mdsvex": "^0.9.8",
"prettier": "^2.4.1",
"prettier-plugin-svelte": "^2.4.0",
"sass": "^1.43.2",
"svelte": "^3.44.0",
"svelte-check": "^2.2.7",
"prettier": "^2.5.1",
"prettier-plugin-svelte": "^2.5.1",
"sass": "^1.45.0",
"svelte": "^3.44.2",
"svelte-check": "^2.2.10",
"svelte-preprocess": "^4.9.8",
"svelte2tsx": "^0.4.7",
"ts-jest": "^27.0.7",
"svelte2tsx": "^0.4.11",
"ts-jest": "^27.1.1",
"tslib": "^2.3.1",
"typescript": "^4.4.4"
"typescript": "^4.5.3"
},

@@ -49,4 +49,5 @@ "license": "MIT",

"date-time-picker",
"calender",
"svelte"
"calendar",
"svelte",
"front-end"
],

@@ -71,3 +72,2 @@ "jest": {

"svelteAllowShorthand": true,
"svelteBracketNewLine": false,
"svelteIndentScriptAndStyle": true

@@ -74,0 +74,0 @@ },

@@ -39,3 +39,3 @@ # Date Picker Svelte

## Dev instructions
## Contributing

@@ -42,0 +42,0 @@ ### Get started

Sorry, the diff of this file is not supported yet

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