From f5aa140dc9a2555c95318ec951c0342b1d8acc79 Mon Sep 17 00:00:00 2001 From: Evgeny Orekhov Date: Wed, 26 Jun 2024 14:55:42 +0300 Subject: [PATCH] Fix #897 Issue with "use client" in next.js project Fix #897 --- package-lock.json | 64 +++++++++++++++++++++++------------------------ package.json | 4 +-- 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/package-lock.json b/package-lock.json index 39cc6a1d..ef0febb1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -59,7 +59,7 @@ "eslint-plugin-storybook": "^0.8.0", "eslint-plugin-styled-components-a11y": "^2.1.34", "eslint-plugin-testing-library": "^6.2.2", - "eslint-plugin-toml": "^0.11.0", + "eslint-plugin-toml": "^0.11.1", "eslint-plugin-total-functions": "^7.1.0", "eslint-plugin-typescript-compat": "^1.0.2", "eslint-plugin-unicorn": "^54.0.0", @@ -69,7 +69,7 @@ "eslint-plugin-vue-scoped-css": "^2.8.1", "eslint-plugin-vuejs-accessibility": "^2.3.1", "eslint-plugin-yml": "^1.14.0", - "putout": "^35.36.0" + "putout": "^35.36.1" }, "devDependencies": { "eslint": "^8.57.0", @@ -2699,14 +2699,14 @@ } }, "node_modules/@putout/plugin-remove-unused-expressions": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@putout/plugin-remove-unused-expressions/-/plugin-remove-unused-expressions-8.0.0.tgz", - "integrity": "sha512-2B644t6rXv4TM4+pfTABE/yf+w1b2UF/A0jGV/uZBHMmlMuqDb0PMFeZK9OvgW56nlgbUHbqUm3KJs9yIb+4Qw==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@putout/plugin-remove-unused-expressions/-/plugin-remove-unused-expressions-9.0.0.tgz", + "integrity": "sha512-vw8SVtr9E8c7sjuf6akAwhRYjxKIJt2K9qgUPaN5KtwGWwly0Q2h7Vuthf0ms/0YusEIfOhu4sjN2lqWYTsQfQ==", "engines": { "node": ">=18" }, "peerDependencies": { - "putout": ">=34" + "putout": ">=35" } }, "node_modules/@putout/plugin-remove-unused-for-of-variables": { @@ -4054,9 +4054,9 @@ } }, "node_modules/@typescript-eslint/utils/node_modules/minimatch": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", - "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -4561,9 +4561,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001636", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001636.tgz", - "integrity": "sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg==", + "version": "1.0.30001637", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001637.tgz", + "integrity": "sha512-1x0qRI1mD1o9e+7mBI7XtzFAP4XszbHaVWsMiGbSPLYekKTJF7K+FNk6AsXH4sUpc+qrsI3pVgf1Jdl/uGkuSQ==", "funding": [ { "type": "opencollective", @@ -5064,9 +5064,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.811", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.811.tgz", - "integrity": "sha512-CDyzcJ5XW78SHzsIOdn27z8J4ist8eaFLhdto2hSMSJQgsiwvbv2fbizcKUICryw1Wii1TI/FEkvzvJsR3awrA==" + "version": "1.4.812", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.812.tgz", + "integrity": "sha512-7L8fC2Ey/b6SePDFKR2zHAy4mbdp1/38Yk5TsARO66W3hC5KEaeKMMHoxwtuH+jcu2AYLSn9QX04i95t6Fl1Hg==" }, "node_modules/ember-rfc176-data": { "version": "0.3.18", @@ -6631,9 +6631,9 @@ } }, "node_modules/eslint-plugin-putout/node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", - "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -7343,14 +7343,14 @@ } }, "node_modules/eslint-plugin-toml": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-toml/-/eslint-plugin-toml-0.11.0.tgz", - "integrity": "sha512-sau+YvPU4fWTjB+qtBt3n8WS87aoDCs+BVbSUAemGaIsRNbvR9uEk+Tt892iLHTGvp/DPWYoCX4/8DoyAbB+sQ==", + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-toml/-/eslint-plugin-toml-0.11.1.tgz", + "integrity": "sha512-Y1WuMSzfZpeMIrmlP1nUh3kT8p96mThIq4NnHrYUhg10IKQgGfBZjAWnrg9fBqguiX4iFps/x/3Hb5TxBisfdw==", "dependencies": { "debug": "^4.1.1", "eslint-compat-utils": "^0.5.0", "lodash": "^4.17.19", - "toml-eslint-parser": "^0.9.0" + "toml-eslint-parser": "^0.10.0" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -9243,9 +9243,9 @@ } }, "node_modules/is-immutable-type/node_modules/minimatch": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", - "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -11010,9 +11010,9 @@ } }, "node_modules/putout": { - "version": "35.36.0", - "resolved": "https://registry.npmjs.org/putout/-/putout-35.36.0.tgz", - "integrity": "sha512-ljqx1+JEikd80AJ7DKYP8JCrY+/S33f4BRswMQhxNO+IJaWbiBNwRfytTmf5MeBMleD0NfKTBrjwpbCdyK3/dQ==", + "version": "35.36.1", + "resolved": "https://registry.npmjs.org/putout/-/putout-35.36.1.tgz", + "integrity": "sha512-98aiIG48yPG6HXV/8mAxoxt/OG8uq8DXi1CaqW/MNUCV4QuwDqphJ9H4SsK/kCaAuLfYTGV91wL9AiQFkusOCg==", "dependencies": { "@putout/babel": "^2.0.0", "@putout/cli-cache": "^3.0.0", @@ -11114,7 +11114,7 @@ "@putout/plugin-remove-nested-blocks": "^6.0.0", "@putout/plugin-remove-unreachable-code": "^1.0.0", "@putout/plugin-remove-unreferenced-variables": "^4.0.0", - "@putout/plugin-remove-unused-expressions": "^8.0.0", + "@putout/plugin-remove-unused-expressions": "^9.0.0", "@putout/plugin-remove-unused-for-of-variables": "^3.0.0", "@putout/plugin-remove-unused-private-fields": "^2.0.0", "@putout/plugin-remove-unused-variables": "^9.0.0", @@ -12799,9 +12799,9 @@ } }, "node_modules/toml-eslint-parser": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/toml-eslint-parser/-/toml-eslint-parser-0.9.3.tgz", - "integrity": "sha512-moYoCvkNUAPCxSW9jmHmRElhm4tVJpHL8ItC/+uYD0EpPSFXbck7yREz9tNdJVTSpHVod8+HoipcpbQ0oE6gsw==", + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/toml-eslint-parser/-/toml-eslint-parser-0.10.0.tgz", + "integrity": "sha512-khrZo4buq4qVmsGzS5yQjKe/WsFvV8fGfOjDQN0q4iy9FjRfPWRgTFrU8u1R2iu/SfWLhY9WnCi4Jhdrcbtg+g==", "dependencies": { "eslint-visitor-keys": "^3.0.0" }, diff --git a/package.json b/package.json index 27215e36..7f4ded99 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "eslint-plugin-storybook": "^0.8.0", "eslint-plugin-styled-components-a11y": "^2.1.34", "eslint-plugin-testing-library": "^6.2.2", - "eslint-plugin-toml": "^0.11.0", + "eslint-plugin-toml": "^0.11.1", "eslint-plugin-total-functions": "^7.1.0", "eslint-plugin-typescript-compat": "^1.0.2", "eslint-plugin-unicorn": "^54.0.0", @@ -95,7 +95,7 @@ "eslint-plugin-vue-scoped-css": "^2.8.1", "eslint-plugin-vuejs-accessibility": "^2.3.1", "eslint-plugin-yml": "^1.14.0", - "putout": "^35.36.0" + "putout": "^35.36.1" }, "files": [ "base.json",