diff --git a/packages/datetime/package.json b/packages/datetime/package.json index 09ccb7ed2a..ff3617d010 100644 --- a/packages/datetime/package.json +++ b/packages/datetime/package.json @@ -44,8 +44,8 @@ "@blueprintjs/icons": "workspace:^", "@blueprintjs/select": "workspace:^", "classnames": "^2.3.1", - "date-fns": "^2.28.0", - "date-fns-tz": "^2.0.0", + "date-fns": "^4.1.0", + "date-fns-tz": "^3.2.0", "react-day-picker": "7.4.9", "tslib": "~2.6.2" }, diff --git a/packages/datetime2/package.json b/packages/datetime2/package.json index d7352b2f77..5b89471bdc 100644 --- a/packages/datetime2/package.json +++ b/packages/datetime2/package.json @@ -41,7 +41,7 @@ "@blueprintjs/datetime": "workspace:^", "@blueprintjs/icons": "workspace:^", "classnames": "^2.3.1", - "date-fns": "^2.28.0", + "date-fns": "^4.1.0", "react-day-picker": "^8.10.0", "react-innertext": "^1.1.5", "tslib": "~2.6.2" diff --git a/packages/docs-app/package.json b/packages/docs-app/package.json index 7e87181e83..9a40d203d0 100644 --- a/packages/docs-app/package.json +++ b/packages/docs-app/package.json @@ -30,7 +30,7 @@ "@documentalist/client": "^5.0.0", "chroma-js": "^2.4.2", "classnames": "^2.3.1", - "date-fns": "^2.28.0", + "date-fns": "^4.1.0", "dedent": "^1.5.1", "downloadjs": "^1.4.7", "lodash": "^4.17.21", diff --git a/yarn.lock b/yarn.lock index 8ac02bc4cf..c1e1fc09bf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -377,7 +377,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7": +"@babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7": version: 7.23.2 resolution: "@babel/runtime@npm:7.23.2" dependencies: @@ -497,7 +497,7 @@ __metadata: "@blueprintjs/node-build-scripts": "workspace:^" "@blueprintjs/test-commons": "workspace:^" classnames: "npm:^2.3.1" - date-fns: "npm:^2.28.0" + date-fns: "npm:^4.1.0" enzyme: "npm:^3.11.0" karma: "npm:^6.4.2" mocha: "npm:^10.2.0" @@ -531,8 +531,8 @@ __metadata: "@blueprintjs/select": "workspace:^" "@blueprintjs/test-commons": "workspace:^" classnames: "npm:^2.3.1" - date-fns: "npm:^2.28.0" - date-fns-tz: "npm:^2.0.0" + date-fns: "npm:^4.1.0" + date-fns-tz: "npm:^3.2.0" enzyme: "npm:^3.11.0" karma: "npm:^6.4.2" mocha: "npm:^10.2.0" @@ -604,7 +604,7 @@ __metadata: chroma-js: "npm:^2.4.2" classnames: "npm:^2.3.1" copy-webpack-plugin: "npm:^12.0.2" - date-fns: "npm:^2.28.0" + date-fns: "npm:^4.1.0" dedent: "npm:^1.5.1" downloadjs: "npm:^1.4.7" lodash: "npm:^4.17.21" @@ -5934,21 +5934,19 @@ __metadata: languageName: node linkType: hard -"date-fns-tz@npm:^2.0.0": - version: 2.0.0 - resolution: "date-fns-tz@npm:2.0.0" +"date-fns-tz@npm:^3.2.0": + version: 3.2.0 + resolution: "date-fns-tz@npm:3.2.0" peerDependencies: - date-fns: ">=2.0.0" - checksum: 31cacb83c675ef8c2cf31d21c298ab6d74c5e975412dd804664d031ac0f2f03ed5bfb2a950fa15a321bbbcb90b833c300823fbceba0133680065a71894cc1170 + date-fns: ^3.0.0 || ^4.0.0 + checksum: 3f43300a4335d59f3515dc5196c66b4b56ef2af129eb82e4445ce0983e8ef31a5d038bc0406d669946bbbcf52ed953527527aa28b4a810995d6631a54655abcc languageName: node linkType: hard -"date-fns@npm:^2.28.0": - version: 2.30.0 - resolution: "date-fns@npm:2.30.0" - dependencies: - "@babel/runtime": "npm:^7.21.0" - checksum: e4b521fbf22bc8c3db332bbfb7b094fd3e7627de0259a9d17c7551e2d2702608a7307a449206065916538e384f37b181565447ce2637ae09828427aed9cb5581 +"date-fns@npm:^4.1.0": + version: 4.1.0 + resolution: "date-fns@npm:4.1.0" + checksum: b79ff32830e6b7faa009590af6ae0fb8c3fd9ffad46d930548fbb5acf473773b4712ae887e156ba91a7b3dc30591ce0f517d69fd83bd9c38650fdc03b4e0bac8 languageName: node linkType: hard