Merged in chore/remove-lodash (pull request #2983)

chore: Remove lodash-es

* lodash-es is not edge safe so replace it with native functions


Approved-by: Joakim Jäderberg
This commit is contained in:
Anton Gunnarsson
2025-10-17 07:47:20 +00:00
parent bacdc669a3
commit bf19d3960b
7 changed files with 33 additions and 50 deletions

View File

@@ -5878,7 +5878,6 @@ __metadata:
"@scandic-hotels/typescript-config": "workspace:*"
"@t3-oss/env-nextjs": "npm:^0.13.4"
"@trpc/client": "npm:^11.1.2"
"@types/lodash-es": "npm:^4"
"@types/react": "npm:19.1.0"
"@typescript-eslint/eslint-plugin": "npm:^8.32.0"
"@typescript-eslint/parser": "npm:^8.32.0"
@@ -5930,7 +5929,6 @@ __metadata:
"@scandic-hotels/typescript-config": "workspace:*"
"@sentry/nextjs": "npm:^10.11.0"
"@t3-oss/env-nextjs": "npm:^0.13.4"
"@types/lodash-es": "npm:^4"
"@typescript-eslint/eslint-plugin": "npm:^8.32.0"
"@typescript-eslint/parser": "npm:^8.32.0"
deepmerge: "npm:^4.3.1"
@@ -5940,7 +5938,6 @@ __metadata:
eslint-plugin-simple-import-sort: "npm:^12.1.1"
flat: "npm:^6.0.1"
libphonenumber-js: "npm:^1.12.7"
lodash-es: "npm:^4.17.21"
nanoid: "npm:^5.1.5"
typescript: "npm:5.8.3"
vitest: "npm:^3.2.4"
@@ -6152,7 +6149,6 @@ __metadata:
"@types/geojson": "npm:^7946.0.16"
"@types/json-stable-stringify-without-jsonify": "npm:^1.0.2"
"@types/jsonwebtoken": "npm:^9"
"@types/lodash-es": "npm:^4"
"@types/node": "npm:^20"
"@types/react": "npm:19.1.0"
"@types/react-dom": "npm:19.1.0"
@@ -6190,7 +6186,6 @@ __metadata:
json-stable-stringify-without-jsonify: "npm:^1.0.1"
jsonwebtoken: "npm:^9.0.2"
lint-staged: "npm:^15.5.2"
lodash-es: "npm:^4.17.21"
md5: "npm:^2.3.0"
motion: "npm:^12.10.0"
nanoid: "npm:^5.1.5"
@@ -6232,7 +6227,6 @@ __metadata:
"@scandic-hotels/common": "workspace:*"
"@scandic-hotels/trpc": "workspace:*"
"@scandic-hotels/typescript-config": "workspace:*"
"@types/lodash-es": "npm:^4"
"@typescript-eslint/eslint-plugin": "npm:^8.32.0"
"@typescript-eslint/parser": "npm:^8.32.0"
dotenv: "npm:^16.5.0"
@@ -6259,7 +6253,6 @@ __metadata:
"@trpc/client": "npm:^11.1.2"
"@trpc/react-query": "npm:^11.1.2"
"@trpc/server": "npm:^11.1.2"
"@types/lodash-es": "npm:^4"
"@types/react": "npm:19.1.0"
"@typescript-eslint/eslint-plugin": "npm:^8.32.0"
"@typescript-eslint/parser": "npm:^8.32.0"
@@ -7902,22 +7895,6 @@ __metadata:
languageName: node
linkType: hard
"@types/lodash-es@npm:^4":
version: 4.17.12
resolution: "@types/lodash-es@npm:4.17.12"
dependencies:
"@types/lodash": "npm:*"
checksum: 10c0/5d12d2cede07f07ab067541371ed1b838a33edb3c35cb81b73284e93c6fd0c4bbeaefee984e69294bffb53f62d7272c5d679fdba8e595ff71e11d00f2601dde0
languageName: node
linkType: hard
"@types/lodash@npm:*":
version: 4.17.16
resolution: "@types/lodash@npm:4.17.16"
checksum: 10c0/cf017901b8ab1d7aabc86d5189d9288f4f99f19a75caf020c0e2c77b8d4cead4db0d0b842d009b029339f92399f49f34377dd7c2721053388f251778b4c23534
languageName: node
linkType: hard
"@types/mdx@npm:^2.0.0":
version: 2.0.13
resolution: "@types/mdx@npm:2.0.13"