From 7a97152a9d0faef3645fab7d30dcf74557956866 Mon Sep 17 00:00:00 2001 From: PE39806 <185931318+PE39806@users.noreply.github.com> Date: Mon, 3 Mar 2025 11:33:47 +0000 Subject: [PATCH] run styled-components v6 migration steps --- lib/landing/package-lock.json | 43 +++++++++++++---------------------- lib/landing/package.json | 2 +- 2 files changed, 17 insertions(+), 28 deletions(-) diff --git a/lib/landing/package-lock.json b/lib/landing/package-lock.json index 69fde4403..a9ca514ff 100644 --- a/lib/landing/package-lock.json +++ b/lib/landing/package-lock.json @@ -27,12 +27,12 @@ "remark-gfm": "^3.0.1", "shelljs": "^0.8.5", "styled-components": "^6.1.15", + "stylis": "^4.3.6", "swiper": "^8.4.5" }, "devDependencies": { "@types/node": "22.13.8", "@types/react": "18.3.3", - "@types/styled-components": "^5.1.26", "eslint": "8.27.0", "eslint-config-next": "13.0.2", "typescript": "5.5.3" @@ -200,6 +200,12 @@ "stylis": "4.2.0" } }, + "node_modules/@emotion/babel-plugin/node_modules/stylis": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz", + "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==", + "license": "MIT" + }, "node_modules/@emotion/cache": { "version": "11.14.0", "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.14.0.tgz", @@ -213,6 +219,12 @@ "stylis": "4.2.0" } }, + "node_modules/@emotion/cache/node_modules/stylis": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz", + "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==", + "license": "MIT" + }, "node_modules/@emotion/hash": { "version": "0.9.2", "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.2.tgz", @@ -1462,17 +1474,6 @@ "@types/unist": "^2" } }, - "node_modules/@types/hoist-non-react-statics": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.6.tgz", - "integrity": "sha512-lPByRJUer/iN/xa4qpyL0qmL11DqNW81iU/IG1S3uvRUq4oKagz8VCxZjiWkumgt66YT3vOdDgZ0o32sGKtCEw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/react": "*", - "hoist-non-react-statics": "^3.3.0" - } - }, "node_modules/@types/json-schema": { "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", @@ -1548,18 +1549,6 @@ "@types/react": "*" } }, - "node_modules/@types/styled-components": { - "version": "5.1.34", - "resolved": "https://registry.npmjs.org/@types/styled-components/-/styled-components-5.1.34.tgz", - "integrity": "sha512-mmiVvwpYklFIv9E8qfxuPyIt/OuyIrn6gMOAMOFUO3WJfSrSE+sGUoa4PiZj77Ut7bKZpaa6o1fBKS/4TOEvnA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/hoist-non-react-statics": "*", - "@types/react": "*", - "csstype": "^3.0.2" - } - }, "node_modules/@types/stylis": { "version": "4.2.5", "resolved": "https://registry.npmjs.org/@types/stylis/-/stylis-4.2.5.tgz", @@ -8936,9 +8925,9 @@ } }, "node_modules/stylis": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz", - "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.3.6.tgz", + "integrity": "sha512-yQ3rwFWRfwNUY7H5vpU0wfdkNSnvnJinhF9830Swlaxl03zsOjCfmX0ugac+3LtK0lYSgwL/KXc8oYL3mG4YFQ==", "license": "MIT" }, "node_modules/supports-color": { diff --git a/lib/landing/package.json b/lib/landing/package.json index be03268ee..88a862033 100644 --- a/lib/landing/package.json +++ b/lib/landing/package.json @@ -37,12 +37,12 @@ "remark-gfm": "^3.0.1", "shelljs": "^0.8.5", "styled-components": "^6.1.15", + "stylis": "^4.3.6", "swiper": "^8.4.5" }, "devDependencies": { "@types/node": "22.13.8", "@types/react": "18.3.3", - "@types/styled-components": "^5.1.26", "eslint": "8.27.0", "eslint-config-next": "13.0.2", "typescript": "5.5.3"