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

dt-design-system

Package Overview
Dependencies
Maintainers
2
Versions
341
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dt-design-system - npm Package Compare versions

Comparing version 3.9.3 to 3.9.4

11

es/date-picker/data.js

@@ -72,5 +72,10 @@ import * as Utils from "./utils";

const monthFirstDay = Utils.getMonthFirstDay(month, year);
const daysFromPrevMonth = monthFirstDay === 0 ? 6 : Math.max(monthFirstDay - 1, 0);
console.log({ daysFromPrevMonth });
const daysFromNextMonth = CALENDAR_WEEKS * 7 - (daysFromPrevMonth + monthDays);
let daysFromPrevMonth = monthFirstDay === 0 ? 6 : Math.max(monthFirstDay - 1, 0);
if (isNaN(daysFromPrevMonth)) {
daysFromPrevMonth = 0;
}
let daysFromNextMonth = CALENDAR_WEEKS * 7 - (daysFromPrevMonth + monthDays);
if (isNaN(daysFromNextMonth)) {
daysFromNextMonth = 0;
}
const { month: prevMonth, year: prevMonthYear } = Utils.getPreviousMonth(month, year);

@@ -77,0 +82,0 @@ const { month: nextMonth, year: nextMonthYear } = Utils.getNextMonth(month, year);

{
"name": "dt-design-system",
"version": "3.9.3",
"version": "3.9.4",
"type": "module",

@@ -25,11 +25,11 @@ "engines": {

"devDependencies": {
"@storybook/addon-actions": "8.0.6",
"@storybook/addon-essentials": "8.0.6",
"@storybook/addon-interactions": "8.0.6",
"@storybook/addon-links": "8.0.6",
"@storybook/blocks": "8.0.6",
"@storybook/manager-api": "8.0.6",
"@storybook/react": "8.0.6",
"@storybook/react-vite": "8.0.6",
"@storybook/theming": "8.0.6",
"@storybook/addon-actions": "8.0.9",
"@storybook/addon-essentials": "8.0.9",
"@storybook/addon-interactions": "8.0.9",
"@storybook/addon-links": "8.0.9",
"@storybook/blocks": "8.0.9",
"@storybook/manager-api": "8.0.9",
"@storybook/react": "8.0.9",
"@storybook/react-vite": "8.0.9",
"@storybook/theming": "8.0.9",
"@types/css-modules": "1.0.5",

@@ -46,3 +46,3 @@ "@types/react": "18.2.75",

"react-dom": "18.2.0",
"storybook": "8.0.6",
"storybook": "8.0.9",
"typescript": "5.4.5",

@@ -49,0 +49,0 @@ "vite": "5.2.8"

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