From a926a5fe914d15affc1b303e46754ab75d137bbd Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Tue, 11 Jun 2024 12:47:43 +0200 Subject: [PATCH 01/19] Migrate use-intl to bunchee --- packages/use-intl/.size-limit.ts | 14 + packages/use-intl/_IntlProvider.d.ts | 1 - packages/use-intl/_useLocale.d.ts | 1 - packages/use-intl/core.d.ts | 2 +- packages/use-intl/package.json | 72 +- packages/use-intl/react.d.ts | 2 +- packages/use-intl/rollup.config.js | 20 - packages/use-intl/src/_IntlProvider.tsx | 1 - packages/use-intl/src/_useLocale.tsx | 1 - pnpm-lock.yaml | 1329 ++++++++++++++++++++++- 10 files changed, 1338 insertions(+), 105 deletions(-) create mode 100644 packages/use-intl/.size-limit.ts delete mode 100644 packages/use-intl/_IntlProvider.d.ts delete mode 100644 packages/use-intl/_useLocale.d.ts delete mode 100644 packages/use-intl/rollup.config.js delete mode 100644 packages/use-intl/src/_IntlProvider.tsx delete mode 100644 packages/use-intl/src/_useLocale.tsx diff --git a/packages/use-intl/.size-limit.ts b/packages/use-intl/.size-limit.ts new file mode 100644 index 000000000..e4ca0070d --- /dev/null +++ b/packages/use-intl/.size-limit.ts @@ -0,0 +1,14 @@ +import type {SizeLimitConfig} from 'size-limit'; + +const config: SizeLimitConfig = [ + { + path: 'dist/index.mjs', + limit: '13.16 kB' + }, + { + path: 'dist/index.js', + limit: '16.81 kB' + } +]; + +module.exports = config; diff --git a/packages/use-intl/_IntlProvider.d.ts b/packages/use-intl/_IntlProvider.d.ts deleted file mode 100644 index 638757cd7..000000000 --- a/packages/use-intl/_IntlProvider.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './dist/types/src/_IntlProvider'; diff --git a/packages/use-intl/_useLocale.d.ts b/packages/use-intl/_useLocale.d.ts deleted file mode 100644 index 6eefcd371..000000000 --- a/packages/use-intl/_useLocale.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './dist/types/src/_useLocale'; diff --git a/packages/use-intl/core.d.ts b/packages/use-intl/core.d.ts index 5df015235..b9674df37 100644 --- a/packages/use-intl/core.d.ts +++ b/packages/use-intl/core.d.ts @@ -1 +1 @@ -export * from './dist/types/src/core'; +export * from './dist/core.d.ts'; diff --git a/packages/use-intl/package.json b/packages/use-intl/package.json index 642f0d01c..15b6b72aa 100644 --- a/packages/use-intl/package.json +++ b/packages/use-intl/package.json @@ -11,7 +11,7 @@ "url": "https://github.com/amannn/next-intl/tree/main/packages/use-intl" }, "scripts": { - "build": "rm -rf dist && rollup -c", + "build": "bunchee", "test": "TZ=Europe/Berlin vitest", "lint": "pnpm run lint:source && pnpm run lint:package", "lint:source": "eslint src test && tsc --noEmit", @@ -20,36 +20,60 @@ "size": "size-limit" }, "main": "./dist/index.js", - "module": "dist/esm/index.js", - "typings": "./dist/types/src/index.d.ts", + "module": "dist/index.mjs", + "type": "commonjs", + "typings": "./dist/index.d.ts", "exports": { ".": { - "types": "./dist/types/src/index.d.ts", + "import": { + "types": "./dist/index.d.mts", + "production": "./dist/index.production.mjs", + "development": "./dist/index.development.mjs", + "default": "./dist/index.mjs" + }, + "require": { + "types": "./dist/index.d.ts", + "production": "./dist/index.production.js", + "development": "./dist/index.development.js", + "default": "./dist/index.js" + }, "default": "./dist/index.js" }, "./core": { - "types": "./core.d.ts", + "import": { + "types": "./dist/core.d.mts", + "production": "./dist/core.production.mjs", + "development": "./dist/core.development.mjs", + "default": "./dist/core.mjs" + }, + "require": { + "types": "./dist/core.d.ts", + "production": "./dist/core.production.js", + "development": "./dist/core.development.js", + "default": "./dist/core.js" + }, "default": "./dist/core.js" }, "./react": { - "types": "./react.d.ts", + "import": { + "types": "./dist/react.d.mts", + "production": "./dist/react.production.mjs", + "development": "./dist/react.development.mjs", + "default": "./dist/react.mjs" + }, + "require": { + "types": "./dist/react.d.ts", + "production": "./dist/react.production.js", + "development": "./dist/react.development.js", + "default": "./dist/react.js" + }, "default": "./dist/react.js" - }, - "./_useLocale": { - "types": "./_useLocale.d.ts", - "default": "./dist/_useLocale.js" - }, - "./_IntlProvider": { - "types": "./_IntlProvider.d.ts", - "default": "./dist/_IntlProvider.js" } }, "files": [ "dist", "core.d.ts", - "react.d.ts", - "_useLocale.d.ts", - "_IntlProvider.d.ts" + "react.d.ts" ], "keywords": [ "react", @@ -71,27 +95,21 @@ }, "devDependencies": { "@arethetypeswrong/cli": "^0.13.5", - "@size-limit/preset-big-lib": "^8.2.6", + "@size-limit/preset-small-lib": "^11.1.4", "@testing-library/react": "^13.0.0", "@types/node": "^20.1.2", "@types/react": "^18.3.0", "@types/react-dom": "^18.3.0", + "bunchee": "^5.1.6", "date-fns": "^2.16.1", "eslint": "^8.54.0", "eslint-config-molindo": "^7.0.0", "publint": "^0.2.7", "react": "^18.3.0", "react-dom": "^18.3.0", - "rollup": "^3.28.1", - "size-limit": "^8.2.6", + "size-limit": "^11.1.4", "typescript": "^5.2.2", "vitest": "^1.0.1" }, - "prettier": "../../.prettierrc.json", - "size-limit": [ - { - "path": "dist/production/index.js", - "limit": "15.26 kB" - } - ] + "prettier": "../../.prettierrc.json" } diff --git a/packages/use-intl/react.d.ts b/packages/use-intl/react.d.ts index db798174f..50ff32b0c 100644 --- a/packages/use-intl/react.d.ts +++ b/packages/use-intl/react.d.ts @@ -1 +1 @@ -export * from './dist/types/src/react'; +export * from './dist/react.d.ts'; \ No newline at end of file diff --git a/packages/use-intl/rollup.config.js b/packages/use-intl/rollup.config.js deleted file mode 100644 index 2bfdf871f..000000000 --- a/packages/use-intl/rollup.config.js +++ /dev/null @@ -1,20 +0,0 @@ -/* eslint-env node */ -const getBuildConfig = require('../../scripts/getBuildConfig'); - -const input = { - index: 'src/index.tsx', - core: 'src/core.tsx', - react: 'src/react.tsx', - _useLocale: 'src/_useLocale.tsx', - _IntlProvider: 'src/_IntlProvider.tsx' -}; - -module.exports = [ - getBuildConfig({input, env: 'development'}), - getBuildConfig({ - input, - env: 'esm', - output: {format: 'es'} - }), - getBuildConfig({input, env: 'production'}) -]; diff --git a/packages/use-intl/src/_IntlProvider.tsx b/packages/use-intl/src/_IntlProvider.tsx deleted file mode 100644 index c02594cc2..000000000 --- a/packages/use-intl/src/_IntlProvider.tsx +++ /dev/null @@ -1 +0,0 @@ -export {default as IntlProvider} from './react/IntlProvider'; diff --git a/packages/use-intl/src/_useLocale.tsx b/packages/use-intl/src/_useLocale.tsx deleted file mode 100644 index 162f5d506..000000000 --- a/packages/use-intl/src/_useLocale.tsx +++ /dev/null @@ -1 +0,0 @@ -export {default as useLocale} from './react/useLocale'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 02421f138..7341d12f0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,4 +1,4 @@ -lockfileVersion: '6.1' +lockfileVersion: '6.0' settings: autoInstallPeers: true @@ -76,7 +76,7 @@ importers: version: 2.2.0 next: specifier: ^14.2.3 - version: 14.2.3(@babel/core@7.23.6)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + version: 14.2.3(@babel/core@7.22.5)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) nextra: specifier: ^2.13.2 version: 2.13.2(next@14.2.3)(react-dom@18.3.0)(react@18.3.0) @@ -107,7 +107,7 @@ importers: version: 8.54.0 eslint-config-molindo: specifier: ^7.0.0 - version: 7.0.0(eslint@8.54.0)(jest@29.5.0)(tailwindcss@3.3.7)(typescript@5.2.2) + version: 7.0.0(eslint@8.54.0)(tailwindcss@3.3.2)(typescript@5.2.2) eslint-config-next: specifier: ^14.0.3 version: 14.0.3(eslint@8.54.0)(typescript@5.2.2) @@ -192,7 +192,7 @@ importers: dependencies: next: specifier: ^14.2.3 - version: 14.2.3(@babel/core@7.23.6)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + version: 14.2.3(@babel/core@7.22.5)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) next-intl: specifier: latest version: link:../../packages/next-intl @@ -229,7 +229,7 @@ importers: dependencies: next: specifier: ^14.2.3 - version: 14.2.3(@babel/core@7.23.6)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + version: 14.2.3(@babel/core@7.22.5)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) next-intl: specifier: latest version: link:../../packages/next-intl @@ -257,7 +257,7 @@ importers: version: 8.56.0 eslint-config-molindo: specifier: ^7.0.0 - version: 7.0.0(eslint@8.54.0)(jest@29.5.0)(tailwindcss@3.3.7)(typescript@5.2.2) + version: 7.0.0(eslint@8.56.0)(tailwindcss@3.3.7)(typescript@5.3.3) eslint-config-next: specifier: ^14.0.3 version: 14.0.3(eslint@8.56.0)(typescript@5.3.3) @@ -413,7 +413,7 @@ importers: version: 8.56.0 eslint-config-molindo: specifier: ^7.0.0 - version: 7.0.0(eslint@8.54.0)(jest@29.5.0)(tailwindcss@3.3.7)(typescript@5.2.2) + version: 7.0.0(eslint@8.56.0)(tailwindcss@3.3.7)(typescript@5.3.3) eslint-config-next: specifier: ^14.0.3 version: 14.0.3(eslint@8.56.0)(typescript@5.3.3) @@ -428,7 +428,7 @@ importers: version: 2.16.1 next: specifier: ^14.2.3 - version: 14.2.3(@babel/core@7.23.6)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + version: 14.2.3(@babel/core@7.22.5)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) next-intl: specifier: latest version: link:../../packages/next-intl @@ -622,7 +622,7 @@ importers: version: 8.56.0 eslint-config-molindo: specifier: ^7.0.0 - version: 7.0.0(eslint@8.54.0)(jest@29.5.0)(tailwindcss@3.3.7)(typescript@5.2.2) + version: 7.0.0(eslint@8.56.0)(tailwindcss@3.3.7)(typescript@5.3.3) typescript: specifier: ^5.2.2 version: 5.3.3 @@ -677,7 +677,7 @@ importers: version: 1.4.1(eslint@8.54.0)(typescript@5.2.2) next: specifier: ^14.2.3 - version: 14.2.3(@babel/core@7.23.6)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + version: 14.2.3(@babel/core@7.22.5)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) path-to-regexp: specifier: ^6.2.1 version: 6.2.1 @@ -718,9 +718,9 @@ importers: '@arethetypeswrong/cli': specifier: ^0.13.5 version: 0.13.5 - '@size-limit/preset-big-lib': - specifier: ^8.2.6 - version: 8.2.6(esbuild@0.18.20)(size-limit@8.2.6) + '@size-limit/preset-small-lib': + specifier: ^11.1.4 + version: 11.1.4(size-limit@11.1.4) '@testing-library/react': specifier: ^13.0.0 version: 13.0.0(react-dom@18.3.0)(react@18.3.0) @@ -733,6 +733,9 @@ importers: '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 + bunchee: + specifier: ^5.1.6 + version: 5.1.6(typescript@5.2.2) date-fns: specifier: ^2.16.1 version: 2.16.1 @@ -751,12 +754,9 @@ importers: react-dom: specifier: ^18.3.0 version: 18.3.0(react@18.3.0) - rollup: - specifier: ^3.28.1 - version: 3.28.1 size-limit: - specifier: ^8.2.6 - version: 8.2.6 + specifier: ^11.1.4 + version: 11.1.4 typescript: specifier: ^5.2.2 version: 5.2.2 @@ -989,6 +989,16 @@ packages: '@babel/highlight': 7.23.4 chalk: 2.4.2 + /@babel/code-frame@7.24.7: + resolution: {integrity: sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==} + engines: {node: '>=6.9.0'} + requiresBuild: true + dependencies: + '@babel/highlight': 7.24.7 + picocolors: 1.0.1 + dev: true + optional: true + /@babel/compat-data@7.22.9: resolution: {integrity: sha512-5UamI7xkUcJ3i9qVDS+KFDEK8/7oJ55/sJMB1Ge7IEapr7KfdfV/HErR+koZwOfd+SgtFKOKRhRakdg++DcJpQ==} engines: {node: '>=6.9.0'} @@ -1668,6 +1678,11 @@ packages: resolution: {integrity: sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==} engines: {node: '>=6.9.0'} + /@babel/helper-validator-identifier@7.24.7: + resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==} + engines: {node: '>=6.9.0'} + requiresBuild: true + /@babel/helper-validator-option@7.22.15: resolution: {integrity: sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==} engines: {node: '>=6.9.0'} @@ -1734,6 +1749,18 @@ packages: chalk: 2.4.2 js-tokens: 4.0.0 + /@babel/highlight@7.24.7: + resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==} + engines: {node: '>=6.9.0'} + requiresBuild: true + dependencies: + '@babel/helper-validator-identifier': 7.24.7 + chalk: 2.4.2 + js-tokens: 4.0.0 + picocolors: 1.0.1 + dev: true + optional: true + /@babel/parser@7.21.8: resolution: {integrity: sha512-6zavDGdzG3gUqAdWvlLFfk+36RilI+Pwyuuh7HItyeScCWP3k6i8vKclAQ0bM/0y/Kz/xiwvxhMv9MgTJP5gmA==} engines: {node: '>=6.0.0'} @@ -3743,7 +3770,7 @@ packages: '@babel/helper-hoist-variables': 7.22.5 '@babel/helper-module-transforms': 7.23.3(@babel/core@7.21.8) '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-validator-identifier': 7.22.20 + '@babel/helper-validator-identifier': 7.24.7 dev: false /@babel/plugin-transform-modules-umd@7.22.5(@babel/core@7.21.8): @@ -5401,6 +5428,15 @@ packages: rollup-plugin-node-polyfills: 0.2.1 dev: true + /@esbuild/aix-ppc64@0.21.5: + resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-arm64@0.16.3: resolution: {integrity: sha512-RolFVeinkeraDvN/OoRf1F/lP0KUfGNb5jxy/vkIMeRRChkrX/HTYN6TYZosRJs3a1+8wqpxAo5PI5hFmxyPRg==} engines: {node: '>=12'} @@ -5446,6 +5482,15 @@ packages: dev: true optional: true + /@esbuild/android-arm64@0.21.5: + resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-arm@0.16.3: resolution: {integrity: sha512-mueuEoh+s1eRbSJqq9KNBQwI4QhQV6sRXIfTyLXSHGMpyew61rOK4qY21uKbXl1iBoMb0AdL1deWFCQVlN2qHA==} engines: {node: '>=12'} @@ -5491,6 +5536,15 @@ packages: dev: true optional: true + /@esbuild/android-arm@0.21.5: + resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-x64@0.16.3: resolution: {integrity: sha512-SFpTUcIT1bIJuCCBMCQWq1bL2gPTjWoLZdjmIhjdcQHaUfV41OQfho6Ici5uvvkMmZRXIUGpM3GxysP/EU7ifQ==} engines: {node: '>=12'} @@ -5536,6 +5590,15 @@ packages: dev: true optional: true + /@esbuild/android-x64@0.21.5: + resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/darwin-arm64@0.16.3: resolution: {integrity: sha512-DO8WykMyB+N9mIDfI/Hug70Dk1KipavlGAecxS3jDUwAbTpDXj0Lcwzw9svkhxfpCagDmpaTMgxWK8/C/XcXvw==} engines: {node: '>=12'} @@ -5581,6 +5644,15 @@ packages: dev: true optional: true + /@esbuild/darwin-arm64@0.21.5: + resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@esbuild/darwin-x64@0.16.3: resolution: {integrity: sha512-uEqZQ2omc6BvWqdCiyZ5+XmxuHEi1SPzpVxXCSSV2+Sh7sbXbpeNhHIeFrIpRjAs0lI1FmA1iIOxFozKBhKgRQ==} engines: {node: '>=12'} @@ -5626,6 +5698,15 @@ packages: dev: true optional: true + /@esbuild/darwin-x64@0.21.5: + resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@esbuild/freebsd-arm64@0.16.3: resolution: {integrity: sha512-nJansp3sSXakNkOD5i5mIz2Is/HjzIhFs49b1tjrPrpCmwgBmH9SSzhC/Z1UqlkivqMYkhfPwMw1dGFUuwmXhw==} engines: {node: '>=12'} @@ -5671,6 +5752,15 @@ packages: dev: true optional: true + /@esbuild/freebsd-arm64@0.21.5: + resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/freebsd-x64@0.16.3: resolution: {integrity: sha512-TfoDzLw+QHfc4a8aKtGSQ96Wa+6eimljjkq9HKR0rHlU83vw8aldMOUSJTUDxbcUdcgnJzPaX8/vGWm7vyV7ug==} engines: {node: '>=12'} @@ -5716,6 +5806,15 @@ packages: dev: true optional: true + /@esbuild/freebsd-x64@0.21.5: + resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-arm64@0.16.3: resolution: {integrity: sha512-7I3RlsnxEFCHVZNBLb2w7unamgZ5sVwO0/ikE2GaYvYuUQs9Qte/w7TqWcXHtCwxvZx/2+F97ndiUQAWs47ZfQ==} engines: {node: '>=12'} @@ -5761,6 +5860,15 @@ packages: dev: true optional: true + /@esbuild/linux-arm64@0.21.5: + resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-arm@0.16.3: resolution: {integrity: sha512-VwswmSYwVAAq6LysV59Fyqk3UIjbhuc6wb3vEcJ7HEJUtFuLK9uXWuFoH1lulEbE4+5GjtHi3MHX+w1gNHdOWQ==} engines: {node: '>=12'} @@ -5806,6 +5914,15 @@ packages: dev: true optional: true + /@esbuild/linux-arm@0.21.5: + resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-ia32@0.16.3: resolution: {integrity: sha512-X8FDDxM9cqda2rJE+iblQhIMYY49LfvW4kaEjoFbTTQ4Go8G96Smj2w3BRTwA8IHGoi9dPOPGAX63dhuv19UqA==} engines: {node: '>=12'} @@ -5851,6 +5968,15 @@ packages: dev: true optional: true + /@esbuild/linux-ia32@0.21.5: + resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-loong64@0.16.3: resolution: {integrity: sha512-hIbeejCOyO0X9ujfIIOKjBjNAs9XD/YdJ9JXAy1lHA+8UXuOqbFe4ErMCqMr8dhlMGBuvcQYGF7+kO7waj2KHw==} engines: {node: '>=12'} @@ -5896,6 +6022,15 @@ packages: dev: true optional: true + /@esbuild/linux-loong64@0.21.5: + resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-mips64el@0.16.3: resolution: {integrity: sha512-znFRzICT/V8VZQMt6rjb21MtAVJv/3dmKRMlohlShrbVXdBuOdDrGb+C2cZGQAR8RFyRe7HS6klmHq103WpmVw==} engines: {node: '>=12'} @@ -5941,6 +6076,15 @@ packages: dev: true optional: true + /@esbuild/linux-mips64el@0.21.5: + resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-ppc64@0.16.3: resolution: {integrity: sha512-EV7LuEybxhXrVTDpbqWF2yehYRNz5e5p+u3oQUS2+ZFpknyi1NXxr8URk4ykR8Efm7iu04//4sBg249yNOwy5Q==} engines: {node: '>=12'} @@ -5986,6 +6130,15 @@ packages: dev: true optional: true + /@esbuild/linux-ppc64@0.21.5: + resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-riscv64@0.16.3: resolution: {integrity: sha512-uDxqFOcLzFIJ+r/pkTTSE9lsCEaV/Y6rMlQjUI9BkzASEChYL/aSQjZjchtEmdnVxDKETnUAmsaZ4pqK1eE5BQ==} engines: {node: '>=12'} @@ -6031,6 +6184,15 @@ packages: dev: true optional: true + /@esbuild/linux-riscv64@0.21.5: + resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-s390x@0.16.3: resolution: {integrity: sha512-NbeREhzSxYwFhnCAQOQZmajsPYtX71Ufej3IQ8W2Gxskfz9DK58ENEju4SbpIj48VenktRASC52N5Fhyf/aliQ==} engines: {node: '>=12'} @@ -6076,6 +6238,15 @@ packages: dev: true optional: true + /@esbuild/linux-s390x@0.21.5: + resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-x64@0.16.3: resolution: {integrity: sha512-SDiG0nCixYO9JgpehoKgScwic7vXXndfasjnD5DLbp1xltANzqZ425l7LSdHynt19UWOcDjG9wJJzSElsPvk0w==} engines: {node: '>=12'} @@ -6121,6 +6292,15 @@ packages: dev: true optional: true + /@esbuild/linux-x64@0.21.5: + resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/netbsd-x64@0.16.3: resolution: {integrity: sha512-AzbsJqiHEq1I/tUvOfAzCY15h4/7Ivp3ff/o1GpP16n48JMNAtbW0qui2WCgoIZArEHD0SUQ95gvR0oSO7ZbdA==} engines: {node: '>=12'} @@ -6166,6 +6346,15 @@ packages: dev: true optional: true + /@esbuild/netbsd-x64@0.21.5: + resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/openbsd-x64@0.16.3: resolution: {integrity: sha512-gSABi8qHl8k3Cbi/4toAzHiykuBuWLZs43JomTcXkjMZVkp0gj3gg9mO+9HJW/8GB5H89RX/V0QP4JGL7YEEVg==} engines: {node: '>=12'} @@ -6211,6 +6400,15 @@ packages: dev: true optional: true + /@esbuild/openbsd-x64@0.21.5: + resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/sunos-x64@0.16.3: resolution: {integrity: sha512-SF9Kch5Ete4reovvRO6yNjMxrvlfT0F0Flm+NPoUw5Z4Q3r1d23LFTgaLwm3Cp0iGbrU/MoUI+ZqwCv5XJijCw==} engines: {node: '>=12'} @@ -6256,6 +6454,15 @@ packages: dev: true optional: true + /@esbuild/sunos-x64@0.21.5: + resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-arm64@0.16.3: resolution: {integrity: sha512-u5aBonZIyGopAZyOnoPAA6fGsDeHByZ9CnEzyML9NqntK6D/xl5jteZUKm/p6nD09+v3pTM6TuUIqSPcChk5gg==} engines: {node: '>=12'} @@ -6301,6 +6508,15 @@ packages: dev: true optional: true + /@esbuild/win32-arm64@0.21.5: + resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-ia32@0.16.3: resolution: {integrity: sha512-GlgVq1WpvOEhNioh74TKelwla9KDuAaLZrdxuuUgsP2vayxeLgVc+rbpIv0IYF4+tlIzq2vRhofV+KGLD+37EQ==} engines: {node: '>=12'} @@ -6346,6 +6562,15 @@ packages: dev: true optional: true + /@esbuild/win32-ia32@0.21.5: + resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-x64@0.16.3: resolution: {integrity: sha512-5/JuTd8OWW8UzEtyf19fbrtMJENza+C9JoPIkvItgTBQ1FO2ZLvjbPO6Xs54vk0s5JB5QsfieUEshRQfu7ZHow==} engines: {node: '>=12'} @@ -6391,6 +6616,15 @@ packages: dev: true optional: true + /@esbuild/win32-x64@0.21.5: + resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@eslint-community/eslint-utils@4.4.0(eslint@8.54.0): resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -6825,6 +7059,10 @@ packages: js-yaml: 4.1.0 dev: false + /@fastify/deepmerge@1.3.0: + resolution: {integrity: sha512-J8TOSBq3SoZbDhM9+R/u77hP93gz/rajSA+K2kGyijPpORPWUXHUpTaleoj+92As0S9uPRP7Oi8IqMf0u+ro6A==} + dev: true + /@formatjs/ecma402-abstract@1.11.4: resolution: {integrity: sha512-EBikYFp2JCdIfGEb5G9dyCkTGDmC57KSHhRQOC3aYxoPWVZvfWCDjZwkGYHN7Lis/fmuWl906bnNTJifDQ3sXw==} dependencies: @@ -7681,7 +7919,7 @@ packages: engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} dependencies: '@gar/promisify': 1.1.3 - semver: 7.5.4 + semver: 7.6.0 dev: true /@npmcli/fs@3.1.0: @@ -8114,10 +8352,10 @@ packages: engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} dependencies: cross-spawn: 7.0.3 - fast-glob: 3.2.12 + fast-glob: 3.3.2 is-glob: 4.0.3 open: 9.1.0 - picocolors: 1.0.0 + picocolors: 1.0.1 tslib: 2.5.0 dev: true @@ -8572,6 +8810,37 @@ packages: rollup: 3.28.1 dev: true + /@rollup/plugin-commonjs@25.0.7(rollup@4.18.0): + resolution: {integrity: sha512-nEvcR+LRjEjsaSsc4x3XZfCCvZIaSMenZu/OiwOKGN2UhQpAYI7ru7czFvyWbErlpoGjnSX3D5Ch5FcMA3kRWQ==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^2.68.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + dependencies: + '@rollup/pluginutils': 5.0.5(rollup@4.18.0) + commondir: 1.0.1 + estree-walker: 2.0.2 + glob: 8.1.0 + is-reference: 1.2.1 + magic-string: 0.30.5 + rollup: 4.18.0 + dev: true + + /@rollup/plugin-json@6.1.0(rollup@4.18.0): + resolution: {integrity: sha512-EGI2te5ENk1coGeADSIwZ7G2Q8CJS2sF120T7jLw4xFw9n7wIOXHo+kIYRAoVpJAN+kmqZSoO3Fp4JtoNF4ReA==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + dependencies: + '@rollup/pluginutils': 5.1.0(rollup@4.18.0) + rollup: 4.18.0 + dev: true + /@rollup/plugin-node-resolve@15.2.3(rollup@3.28.1): resolution: {integrity: sha512-j/lym8nf5E21LwBT4Df1VD6hRO2L2iwUeUmP7litikRsVp1H6NWx20NEp0Y7su+7XGc476GnXXc4kFeZNGmaSQ==} engines: {node: '>=14.0.0'} @@ -8590,6 +8859,24 @@ packages: rollup: 3.28.1 dev: true + /@rollup/plugin-node-resolve@15.2.3(rollup@4.18.0): + resolution: {integrity: sha512-j/lym8nf5E21LwBT4Df1VD6hRO2L2iwUeUmP7litikRsVp1H6NWx20NEp0Y7su+7XGc476GnXXc4kFeZNGmaSQ==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^2.78.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + dependencies: + '@rollup/pluginutils': 5.0.5(rollup@4.18.0) + '@types/resolve': 1.20.2 + deepmerge: 4.3.1 + is-builtin-module: 3.2.1 + is-module: 1.0.0 + resolve: 1.22.2 + rollup: 4.18.0 + dev: true + /@rollup/plugin-replace@5.0.5(rollup@3.28.1): resolution: {integrity: sha512-rYO4fOi8lMaTg/z5Jb+hKnrHHVn8j2lwkqwyS4kTRhKyWOLf2wST2sWXr4WzWiTcoHTp2sTjqUbqIj2E39slKQ==} engines: {node: '>=14.0.0'} @@ -8604,6 +8891,20 @@ packages: rollup: 3.28.1 dev: true + /@rollup/plugin-replace@5.0.5(rollup@4.18.0): + resolution: {integrity: sha512-rYO4fOi8lMaTg/z5Jb+hKnrHHVn8j2lwkqwyS4kTRhKyWOLf2wST2sWXr4WzWiTcoHTp2sTjqUbqIj2E39slKQ==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + dependencies: + '@rollup/pluginutils': 5.0.5(rollup@4.18.0) + magic-string: 0.30.5 + rollup: 4.18.0 + dev: true + /@rollup/plugin-terser@0.4.4(rollup@3.28.1): resolution: {integrity: sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A==} engines: {node: '>=14.0.0'} @@ -8619,6 +8920,19 @@ packages: terser: 5.18.2 dev: true + /@rollup/plugin-wasm@6.2.2(rollup@4.18.0): + resolution: {integrity: sha512-gpC4R1G9Ni92ZIRTexqbhX7U+9estZrbhP+9SRb0DW9xpB9g7j34r+J2hqrcW/lRI7dJaU84MxZM0Rt82tqYPQ==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + dependencies: + '@rollup/pluginutils': 5.1.0(rollup@4.18.0) + rollup: 4.18.0 + dev: true + /@rollup/pluginutils@4.2.1: resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} engines: {node: '>= 8.0.0'} @@ -8642,6 +8956,44 @@ packages: rollup: 3.28.1 dev: true + /@rollup/pluginutils@5.0.5(rollup@4.18.0): + resolution: {integrity: sha512-6aEYR910NyP73oHiJglti74iRyOwgFU4x3meH/H8OJx6Ry0j6cOVZ5X/wTvub7G7Ao6qaHBEaNsV3GLJkSsF+Q==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + dependencies: + '@types/estree': 1.0.1 + estree-walker: 2.0.2 + picomatch: 2.3.1 + rollup: 4.18.0 + dev: true + + /@rollup/pluginutils@5.1.0(rollup@4.18.0): + resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + dependencies: + '@types/estree': 1.0.1 + estree-walker: 2.0.2 + picomatch: 2.3.1 + rollup: 4.18.0 + dev: true + + /@rollup/rollup-android-arm-eabi@4.18.0: + resolution: {integrity: sha512-Tya6xypR10giZV1XzxmH5wr25VcZSncG0pZIjfePT0OVBvqNEurzValetGNarVrGiq66EBVAFn15iYX4w6FKgQ==} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-android-arm-eabi@4.6.1: resolution: {integrity: sha512-0WQ0ouLejaUCRsL93GD4uft3rOmB8qoQMU05Kb8CmMtMBe7XUDLAltxVZI1q6byNqEtU7N1ZX1Vw5lIpgulLQA==} cpu: [arm] @@ -8650,6 +9002,14 @@ packages: dev: true optional: true + /@rollup/rollup-android-arm64@4.18.0: + resolution: {integrity: sha512-avCea0RAP03lTsDhEyfy+hpfr85KfyTctMADqHVhLAF3MlIkq83CP8UfAHUssgXTYd+6er6PaAhx/QGv4L1EiA==} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-android-arm64@4.6.1: resolution: {integrity: sha512-1TKm25Rn20vr5aTGGZqo6E4mzPicCUD79k17EgTLAsXc1zysyi4xXKACfUbwyANEPAEIxkzwue6JZ+stYzWUTA==} cpu: [arm64] @@ -8658,6 +9018,14 @@ packages: dev: true optional: true + /@rollup/rollup-darwin-arm64@4.18.0: + resolution: {integrity: sha512-IWfdwU7KDSm07Ty0PuA/W2JYoZ4iTj3TUQjkVsO/6U+4I1jN5lcR71ZEvRh52sDOERdnNhhHU57UITXz5jC1/w==} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-darwin-arm64@4.6.1: resolution: {integrity: sha512-cEXJQY/ZqMACb+nxzDeX9IPLAg7S94xouJJCNVE5BJM8JUEP4HeTF+ti3cmxWeSJo+5D+o8Tc0UAWUkfENdeyw==} cpu: [arm64] @@ -8666,6 +9034,14 @@ packages: dev: true optional: true + /@rollup/rollup-darwin-x64@4.18.0: + resolution: {integrity: sha512-n2LMsUz7Ynu7DoQrSQkBf8iNrjOGyPLrdSg802vk6XT3FtsgX6JbE8IHRvposskFm9SNxzkLYGSq9QdpLYpRNA==} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-darwin-x64@4.6.1: resolution: {integrity: sha512-LoSU9Xu56isrkV2jLldcKspJ7sSXmZWkAxg7sW/RfF7GS4F5/v4EiqKSMCFbZtDu2Nc1gxxFdQdKwkKS4rwxNg==} cpu: [x64] @@ -8674,6 +9050,14 @@ packages: dev: true optional: true + /@rollup/rollup-linux-arm-gnueabihf@4.18.0: + resolution: {integrity: sha512-C/zbRYRXFjWvz9Z4haRxcTdnkPt1BtCkz+7RtBSuNmKzMzp3ZxdM28Mpccn6pt28/UWUCTXa+b0Mx1k3g6NOMA==} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-arm-gnueabihf@4.6.1: resolution: {integrity: sha512-EfI3hzYAy5vFNDqpXsNxXcgRDcFHUWSx5nnRSCKwXuQlI5J9dD84g2Usw81n3FLBNsGCegKGwwTVsSKK9cooSQ==} cpu: [arm] @@ -8682,6 +9066,22 @@ packages: dev: true optional: true + /@rollup/rollup-linux-arm-musleabihf@4.18.0: + resolution: {integrity: sha512-l3m9ewPgjQSXrUMHg93vt0hYCGnrMOcUpTz6FLtbwljo2HluS4zTXFy2571YQbisTnfTKPZ01u/ukJdQTLGh9A==} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-arm64-gnu@4.18.0: + resolution: {integrity: sha512-rJ5D47d8WD7J+7STKdCUAgmQk49xuFrRi9pZkWoRD1UeSMakbcepWXPF8ycChBoAqs1pb2wzvbY6Q33WmN2ftw==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-arm64-gnu@4.6.1: resolution: {integrity: sha512-9lhc4UZstsegbNLhH0Zu6TqvDfmhGzuCWtcTFXY10VjLLUe4Mr0Ye2L3rrtHaDd/J5+tFMEuo5LTCSCMXWfUKw==} cpu: [arm64] @@ -8690,6 +9090,14 @@ packages: dev: true optional: true + /@rollup/rollup-linux-arm64-musl@4.18.0: + resolution: {integrity: sha512-be6Yx37b24ZwxQ+wOQXXLZqpq4jTckJhtGlWGZs68TgdKXJgw54lUUoFYrg6Zs/kjzAQwEwYbp8JxZVzZLRepQ==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-arm64-musl@4.6.1: resolution: {integrity: sha512-FfoOK1yP5ksX3wwZ4Zk1NgyGHZyuRhf99j64I5oEmirV8EFT7+OhUZEnP+x17lcP/QHJNWGsoJwrz4PJ9fBEXw==} cpu: [arm64] @@ -8698,6 +9106,38 @@ packages: dev: true optional: true + /@rollup/rollup-linux-powerpc64le-gnu@4.18.0: + resolution: {integrity: sha512-hNVMQK+qrA9Todu9+wqrXOHxFiD5YmdEi3paj6vP02Kx1hjd2LLYR2eaN7DsEshg09+9uzWi2W18MJDlG0cxJA==} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-riscv64-gnu@4.18.0: + resolution: {integrity: sha512-ROCM7i+m1NfdrsmvwSzoxp9HFtmKGHEqu5NNDiZWQtXLA8S5HBCkVvKAxJ8U+CVctHwV2Gb5VUaK7UAkzhDjlg==} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-s390x-gnu@4.18.0: + resolution: {integrity: sha512-0UyyRHyDN42QL+NbqevXIIUnKA47A+45WyasO+y2bGJ1mhQrfrtXUpTxCOrfxCR4esV3/RLYyucGVPiUsO8xjg==} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-x64-gnu@4.18.0: + resolution: {integrity: sha512-xuglR2rBVHA5UsI8h8UbX4VJ470PtGCf5Vpswh7p2ukaqBGFTnsfzxUBetoWBWymHMxbIG0Cmx7Y9qDZzr648w==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-x64-gnu@4.6.1: resolution: {integrity: sha512-DNGZvZDO5YF7jN5fX8ZqmGLjZEXIJRdJEdTFMhiyXqyXubBa0WVLDWSNlQ5JR2PNgDbEV1VQowhVRUh+74D+RA==} cpu: [x64] @@ -8706,6 +9146,14 @@ packages: dev: true optional: true + /@rollup/rollup-linux-x64-musl@4.18.0: + resolution: {integrity: sha512-LKaqQL9osY/ir2geuLVvRRs+utWUNilzdE90TpyoX0eNqPzWjRm14oMEE+YLve4k/NAqCdPkGYDaDF5Sw+xBfg==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-x64-musl@4.6.1: resolution: {integrity: sha512-RkJVNVRM+piYy87HrKmhbexCHg3A6Z6MU0W9GHnJwBQNBeyhCJG9KDce4SAMdicQnpURggSvtbGo9xAWOfSvIQ==} cpu: [x64] @@ -8714,6 +9162,14 @@ packages: dev: true optional: true + /@rollup/rollup-win32-arm64-msvc@4.18.0: + resolution: {integrity: sha512-7J6TkZQFGo9qBKH0pk2cEVSRhJbL6MtfWxth7Y5YmZs57Pi+4x6c2dStAUvaQkHQLnEQv1jzBUW43GvZW8OFqA==} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-win32-arm64-msvc@4.6.1: resolution: {integrity: sha512-v2FVT6xfnnmTe3W9bJXl6r5KwJglMK/iRlkKiIFfO6ysKs0rDgz7Cwwf3tjldxQUrHL9INT/1r4VA0n9L/F1vQ==} cpu: [arm64] @@ -8722,6 +9178,14 @@ packages: dev: true optional: true + /@rollup/rollup-win32-ia32-msvc@4.18.0: + resolution: {integrity: sha512-Txjh+IxBPbkUB9+SXZMpv+b/vnTEtFyfWZgJ6iyCmt2tdx0OF5WhFowLmnh8ENGNpfUlUZkdI//4IEmhwPieNg==} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-win32-ia32-msvc@4.6.1: resolution: {integrity: sha512-YEeOjxRyEjqcWphH9dyLbzgkF8wZSKAKUkldRY6dgNR5oKs2LZazqGB41cWJ4Iqqcy9/zqYgmzBkRoVz3Q9MLw==} cpu: [ia32] @@ -8730,6 +9194,14 @@ packages: dev: true optional: true + /@rollup/rollup-win32-x64-msvc@4.18.0: + resolution: {integrity: sha512-UOo5FdvOL0+eIVTgS4tIdbW+TtnBLWg1YBCcU2KWM7nuNwRz9bksDX1bekJJCpu25N1DVWaCwnT39dVQxzqS8g==} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-win32-x64-msvc@4.6.1: resolution: {integrity: sha512-0zfTlFAIhgz8V2G8STq8toAjsYYA6eci1hnXuyOTUFnymrtJwnS6uGKiv3v5UrPZkBlamLvrLV2iiaeqCKzb0A==} cpu: [x64] @@ -8780,6 +9252,11 @@ packages: engines: {node: '>=10'} dev: true + /@sindresorhus/merge-streams@2.3.0: + resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} + engines: {node: '>=18'} + dev: true + /@sinonjs/commons@2.0.0: resolution: {integrity: sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==} dependencies: @@ -8801,6 +9278,26 @@ packages: - supports-color dev: true + /@size-limit/esbuild@11.1.4(size-limit@11.1.4): + resolution: {integrity: sha512-Nxh+Fw4Z7sFjRLeT7GDZIy297VXyJrMvG20UDSWP31QgglriEBDkW9U77T7W6js5FaEr89bYVrGzpHfmE1CLFw==} + engines: {node: ^18.0.0 || >=20.0.0} + peerDependencies: + size-limit: 11.1.4 + dependencies: + esbuild: 0.21.5 + nanoid: 5.0.7 + size-limit: 11.1.4 + dev: true + + /@size-limit/file@11.1.4(size-limit@11.1.4): + resolution: {integrity: sha512-QxnGj9cxhCEuqMAV01gqonXIKcc+caZqFHZpV51oL2ZJNGSPP9Q/yyf+7HbVe00faOFd1dZZwMwzZmX7HQ9LbA==} + engines: {node: ^18.0.0 || >=20.0.0} + peerDependencies: + size-limit: 11.1.4 + dependencies: + size-limit: 11.1.4 + dev: true + /@size-limit/file@8.2.6(size-limit@8.2.6): resolution: {integrity: sha512-B7ayjxiJsbtXdIIWazJkB5gezi5WBMecdHTFPMDhI3NwEML1RVvUjAkrb1mPAAkIpt2LVHPnhdCUHjqDdjugwg==} engines: {node: ^14.0.0 || ^16.0.0 || >=18.0.0} @@ -8831,6 +9328,16 @@ packages: - webpack-cli dev: true + /@size-limit/preset-small-lib@11.1.4(size-limit@11.1.4): + resolution: {integrity: sha512-wELW374esv+2Nlzf7g+qW4Af9L69duLoO9F52f0sGk/nzb6et7u8gLRvweWrBfm3itUrqHCpGSSVabTsIU8kNw==} + peerDependencies: + size-limit: 11.1.4 + dependencies: + '@size-limit/esbuild': 11.1.4(size-limit@11.1.4) + '@size-limit/file': 11.1.4(size-limit@11.1.4) + size-limit: 11.1.4 + dev: true + /@size-limit/time@8.2.6(size-limit@8.2.6): resolution: {integrity: sha512-fUEPvz7Uq6+oUQxSYbNlJt3tTgQBl1VY21USi/B7ebdnVKLnUx1JyPI9v7imN6XEkB2VpJtnYgjFeLgNrirzMA==} engines: {node: ^14.0.0 || ^16.0.0 || >=18.0.0} @@ -8863,15 +9370,143 @@ packages: - webpack-cli dev: true + /@swc/core-darwin-arm64@1.5.28: + resolution: {integrity: sha512-sP6g63ybzIdOWNDbn51tyHN8EMt7Mb4RMeHQEsXB7wQfDvzhpWB+AbfK6Gs3Q8fwP/pmWIrWW9csKOc1K2Mmkg==} + engines: {node: '>=10'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@swc/core-darwin-x64@1.5.28: + resolution: {integrity: sha512-Bd/agp/g7QocQG5AuorOzSC78t8OzeN+pCN/QvJj1CvPhvppjJw6e1vAbOR8vO2vvGi2pvtf3polrYQStJtSiA==} + engines: {node: '>=10'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@swc/core-linux-arm-gnueabihf@1.5.28: + resolution: {integrity: sha512-Wr3TwPGIveS9/OBWm0r9VAL8wkCR0zQn46J8K01uYCmVhUNK3Muxjs0vQBZaOrGu94mqbj9OXY+gB3W7aDvGdA==} + engines: {node: '>=10'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@swc/core-linux-arm64-gnu@1.5.28: + resolution: {integrity: sha512-8G1ZwVTuLgTAVTMPD+M97eU6WeiRIlGHwKZ5fiJHPBcz1xqIC7jQcEh7XBkobkYoU5OILotls3gzjRt8CMNyDQ==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@swc/core-linux-arm64-musl@1.5.28: + resolution: {integrity: sha512-0Ajdzb5Fzvz+XUbN5ESeHAz9aHHSYiQcm+vmsDi0TtPHmsalfnqEPZmnK0zPALPJPLQP2dDo4hELeDg3/c3xgA==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@swc/core-linux-x64-gnu@1.5.28: + resolution: {integrity: sha512-ueQ9VejnQUM2Pt+vT0IAKoF4vYBWUP6n1KHGdILpoGe3LuafQrqu7RoyQ15C7/AYii7hAeNhTFdf6gLbg8cjFg==} + engines: {node: '>=10'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@swc/core-linux-x64-musl@1.5.28: + resolution: {integrity: sha512-G5th8Mg0az8CbY4GQt9/m5hg2Y0kGIwvQBeVACuLQB6q2Y4txzdiTpjmFqUUhEvvl7Klyx1IHvNhfXs3zpt7PA==} + engines: {node: '>=10'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@swc/core-win32-arm64-msvc@1.5.28: + resolution: {integrity: sha512-JezwCGavZ7CkNXx4yInI4kpb71L0zxzxA9BFlmnsGKEEjVQcKc3hFpmIzfFVs+eotlBUwDNb0+Yo9m6Cb7lllA==} + engines: {node: '>=10'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@swc/core-win32-ia32-msvc@1.5.28: + resolution: {integrity: sha512-q8tW5J4RkOkl7vYShnWS//VAb2Ngolfm9WOMaF2GRJUr2Y/Xeb/+cNjdsNOqea2BzW049D5vdP7XPmir3/zUZw==} + engines: {node: '>=10'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@swc/core-win32-x64-msvc@1.5.28: + resolution: {integrity: sha512-jap6EiB3wG1YE1hyhNr9KLPpH4PGm+5tVMfN0l7fgKtV0ikgpcEN/YF94tru+z5m2HovqYW009+Evq9dcVGmpg==} + engines: {node: '>=10'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@swc/core@1.5.28(@swc/helpers@0.5.11): + resolution: {integrity: sha512-muCdNIqOTURUgYeyyOLYE3ShL8SZO6dw6bhRm6dCvxWzCZOncPc5fB0kjcPXTML+9KJoHL7ks5xg+vsQK+v6ig==} + engines: {node: '>=10'} + requiresBuild: true + peerDependencies: + '@swc/helpers': '*' + peerDependenciesMeta: + '@swc/helpers': + optional: true + dependencies: + '@swc/counter': 0.1.3 + '@swc/helpers': 0.5.11 + '@swc/types': 0.1.8 + optionalDependencies: + '@swc/core-darwin-arm64': 1.5.28 + '@swc/core-darwin-x64': 1.5.28 + '@swc/core-linux-arm-gnueabihf': 1.5.28 + '@swc/core-linux-arm64-gnu': 1.5.28 + '@swc/core-linux-arm64-musl': 1.5.28 + '@swc/core-linux-x64-gnu': 1.5.28 + '@swc/core-linux-x64-musl': 1.5.28 + '@swc/core-win32-arm64-msvc': 1.5.28 + '@swc/core-win32-ia32-msvc': 1.5.28 + '@swc/core-win32-x64-msvc': 1.5.28 + dev: true + /@swc/counter@0.1.3: resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} + /@swc/helpers@0.5.11: + resolution: {integrity: sha512-YNlnKRWF2sVojTpIyzwou9XoTNbzbzONwRhOoniEioF1AtaitTvVZblaQRrAzChWQ1bLYyYSWzM18y4WwgzJ+A==} + dependencies: + tslib: 2.6.3 + dev: true + /@swc/helpers@0.5.5: resolution: {integrity: sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==} dependencies: '@swc/counter': 0.1.3 tslib: 2.5.0 + /@swc/types@0.1.8: + resolution: {integrity: sha512-RNFA3+7OJFNYY78x0FYwi1Ow+iF1eF5WvmfY1nXPOEH4R2p/D4Cr1vzje7dNAI2aLFqpv8Wyz4oKSWqIZArpQA==} + dependencies: + '@swc/counter': 0.1.3 + dev: true + /@szmarczak/http-timer@4.0.6: resolution: {integrity: sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==} engines: {node: '>=10'} @@ -9058,6 +9693,10 @@ packages: /@types/estree@1.0.1: resolution: {integrity: sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==} + /@types/estree@1.0.5: + resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} + dev: true + /@types/glob@7.2.0: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: @@ -9342,6 +9981,35 @@ packages: - supports-color dev: true + /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha + eslint: ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@eslint-community/regexpp': 4.7.0 + '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/scope-manager': 6.21.0 + '@typescript-eslint/type-utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 6.21.0 + debug: 4.3.4(supports-color@6.1.0) + eslint: 8.56.0 + graphemer: 1.4.0 + ignore: 5.2.4 + natural-compare: 1.4.0 + semver: 7.5.4 + ts-api-utils: 1.0.2(typescript@5.3.3) + typescript: 5.3.3 + transitivePeerDependencies: + - supports-color + dev: true + /@typescript-eslint/parser@6.21.0(eslint@8.54.0)(typescript@5.2.2): resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -9449,6 +10117,26 @@ packages: - supports-color dev: true + /@typescript-eslint/type-utils@6.21.0(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) + '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) + debug: 4.3.4(supports-color@6.1.0) + eslint: 8.56.0 + ts-api-utils: 1.0.2(typescript@5.3.3) + typescript: 5.3.3 + transitivePeerDependencies: + - supports-color + dev: true + /@typescript-eslint/types@5.59.2: resolution: {integrity: sha512-LbJ/HqoVs2XTGq5shkiKaNTuVv5tTejdHgfdjqRUGdYhjW1crm/M7og2jhVskMt8/4wS3T1+PfFvL1K3wqYj4w==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -9485,6 +10173,27 @@ packages: - supports-color dev: true + /@typescript-eslint/typescript-estree@5.59.2(typescript@5.3.3): + resolution: {integrity: sha512-+j4SmbwVmZsQ9jEyBMgpuBD0rKwi9RxRpjX71Brr73RsYnEr3Lt5QZ624Bxphp8HUkSKfqGnPJp1kA5nl0Sh7Q==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/types': 5.59.2 + '@typescript-eslint/visitor-keys': 5.59.2 + debug: 4.3.4(supports-color@6.1.0) + globby: 11.1.0 + is-glob: 4.0.3 + semver: 7.5.4 + tsutils: 3.21.0(typescript@5.3.3) + typescript: 5.3.3 + transitivePeerDependencies: + - supports-color + dev: true + /@typescript-eslint/typescript-estree@6.21.0(typescript@5.2.2): resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -9570,6 +10279,26 @@ packages: - typescript dev: true + /@typescript-eslint/utils@5.59.2(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-kSuF6/77TZzyGPhGO4uVp+f0SBoYxCDf+lW3GKhtKru/L8k/Hd7NFQxyWUeY7Z/KGB2C6Fe3yf2vVi4V9TsCSQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@types/json-schema': 7.0.12 + '@types/semver': 7.5.0 + '@typescript-eslint/scope-manager': 5.59.2 + '@typescript-eslint/types': 5.59.2 + '@typescript-eslint/typescript-estree': 5.59.2(typescript@5.3.3) + eslint: 8.56.0 + eslint-scope: 5.1.1 + semver: 7.5.4 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + /@typescript-eslint/utils@6.21.0(eslint@8.54.0)(typescript@5.2.2): resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -9589,6 +10318,25 @@ packages: - typescript dev: true + /@typescript-eslint/utils@6.21.0(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@types/json-schema': 7.0.12 + '@types/semver': 7.5.0 + '@typescript-eslint/scope-manager': 6.21.0 + '@typescript-eslint/types': 6.21.0 + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) + eslint: 8.56.0 + semver: 7.5.4 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + /@typescript-eslint/visitor-keys@5.59.2: resolution: {integrity: sha512-EEpsO8m3RASrKAHI9jpavNv9NlEUebV4qmF1OWxSTtKSFBpC1NCmWazDQHFivRf0O1DV11BA645yrLEVQ0/Lig==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -11460,6 +12208,36 @@ packages: semver: 7.5.4 dev: true + /bunchee@5.1.6(typescript@5.2.2): + resolution: {integrity: sha512-3PpzqU3jhY8oEgxt/7UcSNhu0xkgn6s0fJxRpPSQobMcuEs+RR7sHwUfvR9jL2H4AE/s+LvodBYh7q/Ty8uCEQ==} + engines: {node: '>= 18.0.0'} + hasBin: true + peerDependencies: + typescript: ^4.1 || ^5.0 + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@rollup/plugin-commonjs': 25.0.7(rollup@4.18.0) + '@rollup/plugin-json': 6.1.0(rollup@4.18.0) + '@rollup/plugin-node-resolve': 15.2.3(rollup@4.18.0) + '@rollup/plugin-replace': 5.0.5(rollup@4.18.0) + '@rollup/plugin-wasm': 6.2.2(rollup@4.18.0) + '@rollup/pluginutils': 5.1.0(rollup@4.18.0) + '@swc/core': 1.5.28(@swc/helpers@0.5.11) + '@swc/helpers': 0.5.11 + arg: 5.0.2 + clean-css: 5.3.3 + magic-string: 0.30.10 + pretty-bytes: 5.6.0 + rollup: 4.18.0 + rollup-plugin-dts: 6.1.1(rollup@4.18.0)(typescript@5.2.2) + rollup-plugin-swc3: 0.11.2(@swc/core@1.5.28)(rollup@4.18.0) + rollup-preserve-directives: 1.1.1(rollup@4.18.0) + tslib: 2.6.3 + typescript: 5.2.2 + dev: true + /bundle-name@3.0.0: resolution: {integrity: sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==} engines: {node: '>=12'} @@ -11844,6 +12622,20 @@ packages: optionalDependencies: fsevents: 2.3.3 + /chokidar@3.6.0: + resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} + engines: {node: '>= 8.10.0'} + dependencies: + anymatch: 3.1.3 + braces: 3.0.2 + glob-parent: 5.1.2 + is-binary-path: 2.1.0 + is-glob: 4.0.3 + normalize-path: 3.0.0 + readdirp: 3.6.0 + optionalDependencies: + fsevents: 2.3.3 + /chownr@1.1.4: resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} @@ -11890,6 +12682,13 @@ packages: source-map: 0.6.1 dev: false + /clean-css@5.3.3: + resolution: {integrity: sha512-D5J+kHaVb/wKSFcyyV75uCn8fiY4sV38XJoe4CUyGQ+mOU/fMVYUdH1hJC+CJQ5uY3EnW27SbJYS4X8BiLrAFg==} + engines: {node: '>= 10.0'} + dependencies: + source-map: 0.6.1 + dev: true + /clean-regexp@1.0.0: resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==} engines: {node: '>=4'} @@ -14035,6 +14834,37 @@ packages: '@esbuild/win32-x64': 0.19.8 dev: true + /esbuild@0.21.5: + resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/aix-ppc64': 0.21.5 + '@esbuild/android-arm': 0.21.5 + '@esbuild/android-arm64': 0.21.5 + '@esbuild/android-x64': 0.21.5 + '@esbuild/darwin-arm64': 0.21.5 + '@esbuild/darwin-x64': 0.21.5 + '@esbuild/freebsd-arm64': 0.21.5 + '@esbuild/freebsd-x64': 0.21.5 + '@esbuild/linux-arm': 0.21.5 + '@esbuild/linux-arm64': 0.21.5 + '@esbuild/linux-ia32': 0.21.5 + '@esbuild/linux-loong64': 0.21.5 + '@esbuild/linux-mips64el': 0.21.5 + '@esbuild/linux-ppc64': 0.21.5 + '@esbuild/linux-riscv64': 0.21.5 + '@esbuild/linux-s390x': 0.21.5 + '@esbuild/linux-x64': 0.21.5 + '@esbuild/netbsd-x64': 0.21.5 + '@esbuild/openbsd-x64': 0.21.5 + '@esbuild/sunos-x64': 0.21.5 + '@esbuild/win32-arm64': 0.21.5 + '@esbuild/win32-ia32': 0.21.5 + '@esbuild/win32-x64': 0.21.5 + dev: true + /escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} @@ -14097,7 +14927,7 @@ packages: confusing-browser-globals: 1.0.11 eslint: 8.54.0 eslint-plugin-css-modules: 2.11.0(eslint@8.54.0) - eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.56.0) + eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.54.0) eslint-plugin-jest: 27.2.3(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.54.0)(jest@29.5.0)(typescript@5.2.2) eslint-plugin-jsx-a11y: 6.7.1(eslint@8.54.0) eslint-plugin-prettier: 5.0.0(eslint@8.54.0)(prettier@3.1.1) @@ -14129,7 +14959,7 @@ packages: confusing-browser-globals: 1.0.11 eslint: 8.54.0 eslint-plugin-css-modules: 2.11.0(eslint@8.54.0) - eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.56.0) + eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.54.0) eslint-plugin-jest: 27.2.3(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.54.0)(jest@29.5.0)(typescript@5.2.2) eslint-plugin-jsx-a11y: 6.7.1(eslint@8.54.0) eslint-plugin-prettier: 5.0.0(eslint@8.54.0)(prettier@3.1.1) @@ -14150,6 +14980,70 @@ packages: - typescript dev: true + /eslint-config-molindo@7.0.0(eslint@8.54.0)(tailwindcss@3.3.2)(typescript@5.2.2): + resolution: {integrity: sha512-jsy+1xutRhBYOD8EyyOlQRPK9n23yxixfXWEl6ttzTNhV/B8893e09sZDGRc+VK7z4yGW6Pe6cQM9oZkJuEu3Q==} + engines: {node: '>=10'} + peerDependencies: + eslint: ^8.0.0 + dependencies: + '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.54.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.21.0(eslint@8.54.0)(typescript@5.2.2) + confusing-browser-globals: 1.0.11 + eslint: 8.54.0 + eslint-plugin-css-modules: 2.11.0(eslint@8.54.0) + eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.54.0) + eslint-plugin-jest: 27.2.3(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.54.0)(jest@29.5.0)(typescript@5.2.2) + eslint-plugin-jsx-a11y: 6.7.1(eslint@8.54.0) + eslint-plugin-prettier: 5.0.0(eslint@8.54.0)(prettier@3.1.1) + eslint-plugin-react: 7.33.2(eslint@8.54.0) + eslint-plugin-react-hooks: 4.6.0(eslint@8.54.0) + eslint-plugin-sort-destructure-keys: 1.5.0(eslint@8.54.0) + eslint-plugin-tailwindcss: 3.13.0(tailwindcss@3.3.2) + eslint-plugin-unicorn: 48.0.1(eslint@8.54.0) + prettier: 3.1.1 + transitivePeerDependencies: + - '@types/eslint' + - eslint-config-prettier + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - jest + - supports-color + - tailwindcss + - typescript + dev: true + + /eslint-config-molindo@7.0.0(eslint@8.56.0)(tailwindcss@3.3.7)(typescript@5.3.3): + resolution: {integrity: sha512-jsy+1xutRhBYOD8EyyOlQRPK9n23yxixfXWEl6ttzTNhV/B8893e09sZDGRc+VK7z4yGW6Pe6cQM9oZkJuEu3Q==} + engines: {node: '>=10'} + peerDependencies: + eslint: ^8.0.0 + dependencies: + '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3) + confusing-browser-globals: 1.0.11 + eslint: 8.56.0 + eslint-plugin-css-modules: 2.11.0(eslint@8.56.0) + eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.56.0) + eslint-plugin-jest: 27.2.3(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.56.0)(typescript@5.3.3) + eslint-plugin-jsx-a11y: 6.7.1(eslint@8.56.0) + eslint-plugin-prettier: 5.0.0(eslint@8.56.0)(prettier@3.1.1) + eslint-plugin-react: 7.33.2(eslint@8.56.0) + eslint-plugin-react-hooks: 4.6.0(eslint@8.56.0) + eslint-plugin-sort-destructure-keys: 1.5.0(eslint@8.56.0) + eslint-plugin-tailwindcss: 3.13.0(tailwindcss@3.3.7) + eslint-plugin-unicorn: 48.0.1(eslint@8.56.0) + prettier: 3.1.1 + transitivePeerDependencies: + - '@types/eslint' + - eslint-config-prettier + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - jest + - supports-color + - tailwindcss + - typescript + dev: true + /eslint-config-next@14.0.3(eslint@8.54.0)(typescript@5.2.2): resolution: {integrity: sha512-IKPhpLdpSUyKofmsXUfrvBC49JMUTdeaD8ZIH4v9Vk0sC1X6URTuTJCLtA0Vwuj7V/CQh0oISuSTvNn5//Buew==} peerDependencies: @@ -14165,7 +15059,7 @@ packages: eslint: 8.54.0 eslint-import-resolver-node: 0.3.7 eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@6.4.1)(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.0)(eslint@8.54.0) - eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.56.0) + eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.54.0) eslint-plugin-jsx-a11y: 6.7.1(eslint@8.54.0) eslint-plugin-react: 7.33.2(eslint@8.54.0) eslint-plugin-react-hooks: 4.6.0(eslint@8.54.0) @@ -14220,6 +15114,30 @@ packages: - supports-color dev: true + /eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.0)(eslint@8.54.0): + resolution: {integrity: sha512-TdJqPHs2lW5J9Zpe17DZNQuDnox4xo2o+0tE7Pggain9Rbc19ik8kFtXdxZ250FVx2kF4vlt2RSf4qlUpG7bhw==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + eslint: '*' + eslint-plugin-import: '*' + dependencies: + debug: 4.3.4(supports-color@6.1.0) + enhanced-resolve: 5.15.0 + eslint: 8.54.0 + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5)(eslint@8.54.0) + eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.54.0) + get-tsconfig: 4.5.0 + globby: 13.1.4 + is-core-module: 2.13.1 + is-glob: 4.0.3 + synckit: 0.8.5 + transitivePeerDependencies: + - '@typescript-eslint/parser' + - eslint-import-resolver-node + - eslint-import-resolver-webpack + - supports-color + dev: true + /eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.0)(eslint@8.56.0): resolution: {integrity: sha512-TdJqPHs2lW5J9Zpe17DZNQuDnox4xo2o+0tE7Pggain9Rbc19ik8kFtXdxZ250FVx2kF4vlt2RSf4qlUpG7bhw==} engines: {node: ^14.18.0 || >=16.0.0} @@ -14255,7 +15173,7 @@ packages: enhanced-resolve: 5.15.0 eslint: 8.54.0 eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.4.1)(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@3.5.5)(eslint@8.54.0) - eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.56.0) + eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.54.0) get-tsconfig: 4.5.0 globby: 13.1.4 is-core-module: 2.13.1 @@ -14268,6 +15186,36 @@ packages: - supports-color dev: true + /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5)(eslint@8.54.0): + resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} + engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint: '*' + eslint-import-resolver-node: '*' + eslint-import-resolver-typescript: '*' + eslint-import-resolver-webpack: '*' + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + eslint: + optional: true + eslint-import-resolver-node: + optional: true + eslint-import-resolver-typescript: + optional: true + eslint-import-resolver-webpack: + optional: true + dependencies: + '@typescript-eslint/parser': 6.21.0(eslint@8.54.0)(typescript@5.2.2) + debug: 3.2.7(supports-color@6.1.0) + eslint: 8.54.0 + eslint-import-resolver-node: 0.3.9 + eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.0)(eslint@8.54.0) + transitivePeerDependencies: + - supports-color + dev: true + /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5)(eslint@8.56.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} @@ -14339,6 +15287,17 @@ packages: lodash: 4.17.21 dev: true + /eslint-plugin-css-modules@2.11.0(eslint@8.56.0): + resolution: {integrity: sha512-CLvQvJOMlCywZzaI4HVu7QH/ltgNXvCg7giJGiE+sA9wh5zQ+AqTgftAzrERV22wHe1p688wrU/Zwxt1Ry922w==} + engines: {node: '>=4.0.0'} + peerDependencies: + eslint: '>=2.0.0' + dependencies: + eslint: 8.56.0 + gonzales-pe: 4.3.0 + lodash: 4.17.21 + dev: true + /eslint-plugin-deprecation@1.4.1(eslint@8.54.0)(typescript@5.2.2): resolution: {integrity: sha512-4vxTghWzxsBukPJVQupi6xlTuDc8Pyi1QlRCrFiLgwLPMJQW3cJCNaehJUKQqQFvuue5m4W27e179Y3Qjzeghg==} peerDependencies: @@ -14354,6 +15313,41 @@ packages: - supports-color dev: true + /eslint-plugin-import@2.29.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.54.0): + resolution: {integrity: sha512-QPOO5NO6Odv5lpoTkddtutccQjysJuFxoPS7fAHO+9m9udNHvTCPSAMW9zGAYj8lAIdr40I8yPCdUYrncXtrwg==} + engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + dependencies: + '@typescript-eslint/parser': 6.21.0(eslint@8.54.0)(typescript@5.2.2) + array-includes: 3.1.7 + array.prototype.findlastindex: 1.2.3 + array.prototype.flat: 1.3.2 + array.prototype.flatmap: 1.3.2 + debug: 3.2.7(supports-color@6.1.0) + doctrine: 2.1.0 + eslint: 8.54.0 + eslint-import-resolver-node: 0.3.9 + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5)(eslint@8.54.0) + hasown: 2.0.0 + is-core-module: 2.13.1 + is-glob: 4.0.3 + minimatch: 3.1.2 + object.fromentries: 2.0.7 + object.groupby: 1.0.1 + object.values: 1.1.7 + semver: 6.3.1 + tsconfig-paths: 3.14.2 + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color + dev: true + /eslint-plugin-import@2.29.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.56.0): resolution: {integrity: sha512-QPOO5NO6Odv5lpoTkddtutccQjysJuFxoPS7fAHO+9m9udNHvTCPSAMW9zGAYj8lAIdr40I8yPCdUYrncXtrwg==} engines: {node: '>=4'} @@ -14411,6 +15405,27 @@ packages: - typescript dev: true + /eslint-plugin-jest@27.2.3(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-sRLlSCpICzWuje66Gl9zvdF6mwD5X86I4u55hJyFBsxYOsBCmT5+kSUjf+fkFWVMMgpzNEupjW8WzUqi83hJAQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + peerDependencies: + '@typescript-eslint/eslint-plugin': ^5.0.0 || ^6.0.0 + eslint: ^7.0.0 || ^8.0.0 + jest: '*' + peerDependenciesMeta: + '@typescript-eslint/eslint-plugin': + optional: true + jest: + optional: true + dependencies: + '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/utils': 5.59.2(eslint@8.56.0)(typescript@5.3.3) + eslint: 8.56.0 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + /eslint-plugin-jsx-a11y@6.7.1(eslint@8.54.0): resolution: {integrity: sha512-63Bog4iIethyo8smBklORknVjB0T2dwB8Mr/hIC+fBS0uyHdYYpzM/Ed+YC8VxTjlXHEWFOdmgwcDn1U2L9VCA==} engines: {node: '>=4.0'} @@ -14481,6 +15496,26 @@ packages: synckit: 0.8.5 dev: true + /eslint-plugin-prettier@5.0.0(eslint@8.56.0)(prettier@3.1.1): + resolution: {integrity: sha512-AgaZCVuYDXHUGxj/ZGu1u8H8CYgDY3iG6w5kUFw4AzMVXzB7VvbKgYR4nATIN+OvUrghMbiDLeimVjVY5ilq3w==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + '@types/eslint': '>=8.0.0' + eslint: '>=8.0.0' + eslint-config-prettier: '*' + prettier: '>=3.0.0' + peerDependenciesMeta: + '@types/eslint': + optional: true + eslint-config-prettier: + optional: true + dependencies: + eslint: 8.56.0 + prettier: 3.1.1 + prettier-linter-helpers: 1.0.0 + synckit: 0.8.5 + dev: true + /eslint-plugin-react-hooks@4.6.0(eslint@8.54.0): resolution: {integrity: sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==} engines: {node: '>=10'} @@ -14559,6 +15594,27 @@ packages: natural-compare-lite: 1.4.0 dev: true + /eslint-plugin-sort-destructure-keys@1.5.0(eslint@8.56.0): + resolution: {integrity: sha512-xGLyqHtbFXZNXQSvAiQ4ISBYokrbUywEhmaA50fKtSKgceCv5y3zjoNuZwcnajdM6q29Nxj+oXC9KcqfMsAPrg==} + engines: {node: '>=6.0.0'} + peerDependencies: + eslint: 3 - 8 + dependencies: + eslint: 8.56.0 + natural-compare-lite: 1.4.0 + dev: true + + /eslint-plugin-tailwindcss@3.13.0(tailwindcss@3.3.2): + resolution: {integrity: sha512-Fcep4KDRLWaK3KmkQbdyKHG0P4GdXFmXdDaweTIPcgOP60OOuWFbh1++dufRT28Q4zpKTKaHwTsXPJ4O/EjU2Q==} + engines: {node: '>=12.13.0'} + peerDependencies: + tailwindcss: ^3.3.2 + dependencies: + fast-glob: 3.3.2 + postcss: 8.4.35 + tailwindcss: 3.3.2 + dev: true + /eslint-plugin-tailwindcss@3.13.0(tailwindcss@3.3.3): resolution: {integrity: sha512-Fcep4KDRLWaK3KmkQbdyKHG0P4GdXFmXdDaweTIPcgOP60OOuWFbh1++dufRT28Q4zpKTKaHwTsXPJ4O/EjU2Q==} engines: {node: '>=12.13.0'} @@ -14605,6 +15661,30 @@ packages: strip-indent: 3.0.0 dev: true + /eslint-plugin-unicorn@48.0.1(eslint@8.56.0): + resolution: {integrity: sha512-FW+4r20myG/DqFcCSzoumaddKBicIPeFnTrifon2mWIzlfyvzwyqZjqVP7m4Cqr/ZYisS2aiLghkUWaPg6vtCw==} + engines: {node: '>=16'} + peerDependencies: + eslint: '>=8.44.0' + dependencies: + '@babel/helper-validator-identifier': 7.22.20 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + ci-info: 3.8.0 + clean-regexp: 1.0.0 + eslint: 8.56.0 + esquery: 1.5.0 + indent-string: 4.0.0 + is-builtin-module: 3.2.1 + jsesc: 3.0.2 + lodash: 4.17.21 + pluralize: 8.0.0 + read-pkg-up: 7.0.1 + regexp-tree: 0.1.27 + regjsparser: 0.10.0 + semver: 7.5.4 + strip-indent: 3.0.0 + dev: true + /eslint-scope@4.0.3: resolution: {integrity: sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==} engines: {node: '>=4.0.0'} @@ -15960,6 +17040,12 @@ packages: resolution: {integrity: sha512-MjhiaIWCJ1sAU4pIQ5i5OfOuHHxVo1oYeNsWTON7jxYkod8pHocXeh+SSbmu5OZZZK73B6cbJ2XADzXehLyovQ==} dev: true + /get-tsconfig@4.7.5: + resolution: {integrity: sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw==} + dependencies: + resolve-pkg-maps: 1.0.0 + dev: true + /get-uri@3.0.2: resolution: {integrity: sha512-+5s0SJbGoyiJTZZ2JTpFPLMPSch72KEqGOTvQsBqg0RBWvwhWUSYZFAtz3TPW0GXJuLBJPts1E241iHg+VRfhg==} engines: {node: '>= 6'} @@ -16234,6 +17320,18 @@ packages: slash: 4.0.0 dev: true + /globby@14.0.1: + resolution: {integrity: sha512-jOMLD2Z7MAhyG8aJpNOpmziMOP4rPLcc95oQPKXBazW82z+CEgPFBQvEpRUa1KeIMUJo4Wsm+q6uzO/Q/4BksQ==} + engines: {node: '>=18'} + dependencies: + '@sindresorhus/merge-streams': 2.3.0 + fast-glob: 3.3.2 + ignore: 5.2.4 + path-type: 5.0.0 + slash: 5.1.0 + unicorn-magic: 0.1.0 + dev: true + /globby@6.1.0: resolution: {integrity: sha512-KVbFv2TQtbzCoxAnfD6JcHZTYCzyliEaaeM/gH8qQdkKr5s0OP9scEgvdcngyk7AVdY6YVW/TJHd+lQ/Df3Daw==} engines: {node: '>=0.10.0'} @@ -18744,8 +19842,8 @@ packages: resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} engines: {node: '>=10'} - /lilconfig@3.0.0: - resolution: {integrity: sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==} + /lilconfig@3.1.2: + resolution: {integrity: sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==} engines: {node: '>=14'} /lines-and-columns@1.2.4: @@ -19012,6 +20110,12 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 dev: true + /magic-string@0.30.10: + resolution: {integrity: sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ==} + dependencies: + '@jridgewell/sourcemap-codec': 1.4.15 + dev: true + /magic-string@0.30.5: resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} engines: {node: '>=12'} @@ -20638,6 +21742,12 @@ packages: engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true + /nanoid@5.0.7: + resolution: {integrity: sha512-oLxFY2gd2IqnjcYyOXD8XGCftpGtZP2AbHbOkthDkvRywH5ayNtPVy9YlOPcHckXzbLTCHpkb7FB+yuxKV13pQ==} + engines: {node: ^18 || >=20} + hasBin: true + dev: true + /nanomatch@1.2.13(supports-color@6.1.0): resolution: {integrity: sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==} engines: {node: '>=0.10.0'} @@ -20660,7 +21770,7 @@ packages: /nanospinner@1.1.0: resolution: {integrity: sha512-yFvNYMig4AthKYfHFl1sLj7B2nkHL4lzdig4osvl9/LdGbXwrdFRoqBS98gsEsOakr0yH+r5NZ/1Y9gdVB8trA==} dependencies: - picocolors: 1.0.0 + picocolors: 1.0.1 dev: true /napi-build-utils@1.0.2: @@ -20747,7 +21857,7 @@ packages: react: '>=16.0.0' react-dom: '>=16.0.0' dependencies: - next: 14.2.3(@babel/core@7.23.6)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + next: 14.2.3(@babel/core@7.22.5)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) react: 18.3.0 react-dom: 18.3.0(react@18.3.0) dev: false @@ -20763,7 +21873,7 @@ packages: '@corex/deepmerge': 4.0.43 '@next/env': 14.2.3 minimist: 1.2.8 - next: 14.2.3(@babel/core@7.23.6)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + next: 14.2.3(@babel/core@7.22.5)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) dev: true /next-themes@0.2.1(next@14.2.3)(react-dom@18.3.0)(react@18.3.0): @@ -20773,7 +21883,7 @@ packages: react: '*' react-dom: '*' dependencies: - next: 14.2.3(@babel/core@7.23.6)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + next: 14.2.3(@babel/core@7.22.5)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) react: 18.3.0 react-dom: 18.3.0(react@18.3.0) dev: false @@ -20819,7 +21929,6 @@ packages: transitivePeerDependencies: - '@babel/core' - babel-plugin-macros - dev: false /next@14.2.3(@babel/core@7.23.3)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0): resolution: {integrity: sha512-dowFkFTR8v79NPJO4QsBUtxv0g9BrS/phluVpMAt2ku7H+cbcBJlopXjkWlwxrk/xGqMemr7JkGPGemPrLLX7A==} @@ -20905,6 +22014,7 @@ packages: transitivePeerDependencies: - '@babel/core' - babel-plugin-macros + dev: false /nextra-theme-docs@2.13.2(next@14.2.3)(nextra@2.13.2)(react-dom@18.3.0)(react@18.3.0): resolution: {integrity: sha512-yE4umXaImp1/kf/sFciPj2+EFrNSwd9Db26hi98sIIiujzGf3+9eUgAz45vF9CwBw50FSXxm1QGRcY+slQ4xQQ==} @@ -20923,7 +22033,7 @@ packages: git-url-parse: 13.1.0 intersection-observer: 0.12.2 match-sorter: 6.3.1 - next: 14.2.3(@babel/core@7.23.6)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + next: 14.2.3(@babel/core@7.22.5)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) next-seo: 6.0.0(next@14.2.3)(react-dom@18.3.0)(react@18.3.0) next-themes: 0.2.1(next@14.2.3)(react-dom@18.3.0)(react@18.3.0) nextra: 2.13.2(next@14.2.3)(react-dom@18.3.0)(react@18.3.0) @@ -20953,7 +22063,7 @@ packages: gray-matter: 4.0.3 katex: 0.16.9 lodash.get: 4.4.2 - next: 14.2.3(@babel/core@7.23.6)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + next: 14.2.3(@babel/core@7.22.5)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) next-mdx-remote: 4.4.1(react-dom@18.3.0)(react@18.3.0) p-limit: 3.1.0 react: 18.3.0 @@ -22213,6 +23323,11 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} + /path-type@5.0.0: + resolution: {integrity: sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==} + engines: {node: '>=12'} + dev: true + /pathe@1.1.0: resolution: {integrity: sha512-ODbEPR0KKHqECXW1GoxdDb+AZvULmXjVPy4rt+pGo2+TnjJTIPJQSVS6N63n8T2Ip+syHhbn52OewKicV0373w==} dev: true @@ -22262,6 +23377,9 @@ packages: /picocolors@1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + /picocolors@1.0.1: + resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} + /picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} @@ -22463,7 +23581,6 @@ packages: postcss-value-parser: 4.2.0 read-cache: 1.0.0 resolve: 1.22.2 - dev: false /postcss-import@15.1.0(postcss@8.4.31): resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==} @@ -22495,7 +23612,6 @@ packages: dependencies: camelcase-css: 2.0.1 postcss: 8.4.24 - dev: false /postcss-js@4.0.1(postcss@8.4.31): resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==} @@ -22530,7 +23646,6 @@ packages: lilconfig: 2.1.0 postcss: 8.4.24 yaml: 2.2.2 - dev: false /postcss-load-config@4.0.1(postcss@8.4.31): resolution: {integrity: sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==} @@ -22577,7 +23692,7 @@ packages: ts-node: optional: true dependencies: - lilconfig: 3.0.0 + lilconfig: 3.1.2 postcss: 8.4.35 yaml: 2.3.4 @@ -22740,7 +23855,6 @@ packages: dependencies: postcss: 8.4.24 postcss-selector-parser: 6.0.12 - dev: false /postcss-nested@6.0.1(postcss@8.4.31): resolution: {integrity: sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==} @@ -22946,9 +24060,8 @@ packages: engines: {node: ^10 || ^12 || >=14} dependencies: nanoid: 3.3.6 - picocolors: 1.0.0 + picocolors: 1.0.1 source-map-js: 1.0.2 - dev: false /postcss@8.4.31: resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==} @@ -22963,7 +24076,7 @@ packages: engines: {node: ^10 || ^12 || >=14} dependencies: nanoid: 3.3.7 - picocolors: 1.0.0 + picocolors: 1.0.1 source-map-js: 1.0.2 /preact-render-to-string@5.2.6(preact@10.13.2): @@ -23085,7 +24198,6 @@ packages: /pretty-bytes@5.6.0: resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==} engines: {node: '>=6'} - dev: false /pretty-error@2.1.2: resolution: {integrity: sha512-EY5oDzmsX5wvuynAByrmY0P0hcp+QpnAKbJng2A2MPjVKXCxrDSUkzghVJ4ZGPIv+JC4gX8fPUWscC0RtjsWGw==} @@ -24198,6 +25310,10 @@ packages: resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} engines: {node: '>=8'} + /resolve-pkg-maps@1.0.0: + resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} + dev: true + /resolve-url@0.2.1: resolution: {integrity: sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==} deprecated: https://github.com/lydell/resolve-url#deprecated @@ -24335,6 +25451,20 @@ packages: resolution: {integrity: sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==} dev: false + /rollup-plugin-dts@6.1.1(rollup@4.18.0)(typescript@5.2.2): + resolution: {integrity: sha512-aSHRcJ6KG2IHIioYlvAOcEq6U99sVtqDDKVhnwt70rW6tsz3tv5OSjEiWcgzfsHdLyGXZ/3b/7b/+Za3Y6r1XA==} + engines: {node: '>=16'} + peerDependencies: + rollup: ^3.29.4 || ^4 + typescript: ^4.5 || ^5.0 + dependencies: + magic-string: 0.30.10 + rollup: 4.18.0 + typescript: 5.2.2 + optionalDependencies: + '@babel/code-frame': 7.24.7 + dev: true + /rollup-plugin-inject@3.0.2: resolution: {integrity: sha512-ptg9PQwzs3orn4jkgXJ74bfs5vYz1NCZlSQMBUA0wKcGp5i5pA1AO3fOUEte8enhGUC+iapTCzEWw2jEFFUO/w==} deprecated: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject. @@ -24359,12 +25489,36 @@ packages: rollup: 3.28.1 dev: true + /rollup-plugin-swc3@0.11.2(@swc/core@1.5.28)(rollup@4.18.0): + resolution: {integrity: sha512-o1ih9B806fV2wBSNk46T0cYfTF2eiiKmYXRpWw3K4j/Cp3tCAt10UCVsTqvUhGP58pcB3/GZcAVl5e7TCSKN6Q==} + engines: {node: '>=12'} + peerDependencies: + '@swc/core': '>=1.2.165' + rollup: ^2.0.0 || ^3.0.0 || ^4.0.0 + dependencies: + '@fastify/deepmerge': 1.3.0 + '@rollup/pluginutils': 5.1.0(rollup@4.18.0) + '@swc/core': 1.5.28(@swc/helpers@0.5.11) + get-tsconfig: 4.7.5 + rollup: 4.18.0 + rollup-preserve-directives: 1.1.1(rollup@4.18.0) + dev: true + /rollup-pluginutils@2.8.2: resolution: {integrity: sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==} dependencies: estree-walker: 0.6.1 dev: true + /rollup-preserve-directives@1.1.1(rollup@4.18.0): + resolution: {integrity: sha512-+eQafbuEfDPfxQ9hQPlwaROfin4yiVRxap8hnrvvvcSGoukv1tTiYpAW9mvm3uR8J+fe4xd8FdVd5rz9q7jZ+Q==} + peerDependencies: + rollup: ^2.0.0 || ^3.0.0 || ^4.0.0 + dependencies: + magic-string: 0.30.10 + rollup: 4.18.0 + dev: true + /rollup@3.28.1: resolution: {integrity: sha512-R9OMQmIHJm9znrU3m3cpE8uhN0fGdXiawME7aZIpQqvpS/85+Vt1Hq1/yVIcYfOmaQiHjvXkQAoJukvLpau6Yw==} engines: {node: '>=14.18.0', npm: '>=8.0.0'} @@ -24373,6 +25527,32 @@ packages: fsevents: 2.3.3 dev: true + /rollup@4.18.0: + resolution: {integrity: sha512-QmJz14PX3rzbJCN1SG4Xe/bAAX2a6NpCP8ab2vfu2GiUr8AQcr2nCV/oEO3yneFarB67zk8ShlIyWb2LGTb3Sg==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + dependencies: + '@types/estree': 1.0.5 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.18.0 + '@rollup/rollup-android-arm64': 4.18.0 + '@rollup/rollup-darwin-arm64': 4.18.0 + '@rollup/rollup-darwin-x64': 4.18.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.18.0 + '@rollup/rollup-linux-arm-musleabihf': 4.18.0 + '@rollup/rollup-linux-arm64-gnu': 4.18.0 + '@rollup/rollup-linux-arm64-musl': 4.18.0 + '@rollup/rollup-linux-powerpc64le-gnu': 4.18.0 + '@rollup/rollup-linux-riscv64-gnu': 4.18.0 + '@rollup/rollup-linux-s390x-gnu': 4.18.0 + '@rollup/rollup-linux-x64-gnu': 4.18.0 + '@rollup/rollup-linux-x64-musl': 4.18.0 + '@rollup/rollup-win32-arm64-msvc': 4.18.0 + '@rollup/rollup-win32-ia32-msvc': 4.18.0 + '@rollup/rollup-win32-x64-msvc': 4.18.0 + fsevents: 2.3.3 + dev: true + /rollup@4.6.1: resolution: {integrity: sha512-jZHaZotEHQaHLgKr8JnQiDT1rmatjgKlMekyksz+yk9jt/8z9quNjnKNRoaM0wd9DC2QKXjmWWuDYtM3jfF8pQ==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} @@ -24607,6 +25787,14 @@ packages: dependencies: lru-cache: 6.0.0 + /semver@7.6.0: + resolution: {integrity: sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==} + engines: {node: '>=10'} + hasBin: true + dependencies: + lru-cache: 6.0.0 + dev: true + /send@0.18.0(supports-color@6.1.0): resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==} engines: {node: '>= 0.8.0'} @@ -24835,6 +26023,20 @@ packages: /sisteransi@1.0.5: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} + /size-limit@11.1.4: + resolution: {integrity: sha512-V2JAI/Z7h8sEuxU3V+Ig3XKA5FcYbI4CZ7sh6s7wvuy+TUwDZYqw7sAqrHhQ4cgcNfPKIAHAaH8VaqOdbcwJDA==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + dependencies: + bytes-iec: 3.1.1 + chokidar: 3.6.0 + globby: 14.0.1 + jiti: 1.21.0 + lilconfig: 3.1.2 + nanospinner: 1.1.0 + picocolors: 1.0.1 + dev: true + /size-limit@8.2.6: resolution: {integrity: sha512-zpznim/tX/NegjoQuRKgWTF4XiB0cn2qt90uJzxYNTFAqexk4b94DOAkBD3TwhC6c3kw2r0KcnA5upziVMZqDg==} engines: {node: ^14.0.0 || ^16.0.0 || >=18.0.0} @@ -24864,6 +26066,11 @@ packages: engines: {node: '>=12'} dev: true + /slash@5.1.0: + resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==} + engines: {node: '>=14.16'} + dev: true + /slice-ansi@2.1.0: resolution: {integrity: sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==} engines: {node: '>=6'} @@ -25484,7 +26691,6 @@ packages: '@babel/core': 7.22.5 client-only: 0.0.1 react: 18.3.0 - dev: false /styled-jsx@5.1.1(@babel/core@7.23.3)(react@18.3.0): resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==} @@ -25520,6 +26726,7 @@ packages: '@babel/core': 7.23.6 client-only: 0.0.1 react: 18.3.0 + dev: false /stylehacks@4.0.3: resolution: {integrity: sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g==} @@ -25690,7 +26897,6 @@ packages: sucrase: 3.32.0 transitivePeerDependencies: - ts-node - dev: false /tailwindcss@3.3.3: resolution: {integrity: sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==} @@ -26250,6 +27456,10 @@ packages: /tslib@2.5.0: resolution: {integrity: sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==} + /tslib@2.6.3: + resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} + dev: true + /tsup@7.2.0: resolution: {integrity: sha512-vDHlczXbgUvY3rWvqFEbSqmC1L7woozbzngMqTtL2PGBODTtWlRwGDDawhvWzr5c1QjKe4OAKqJGfE1xeXUvtQ==} engines: {node: '>=16.14'} @@ -26274,7 +27484,7 @@ packages: execa: 5.1.1 globby: 11.1.0 joycon: 3.1.1 - postcss-load-config: 4.0.1(postcss@8.4.35) + postcss-load-config: 4.0.1(postcss@8.4.24) resolve-from: 5.0.0 rollup: 3.28.1 source-map: 0.8.0-beta.0 @@ -26295,6 +27505,16 @@ packages: typescript: 5.2.2 dev: true + /tsutils@3.21.0(typescript@5.3.3): + resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} + engines: {node: '>= 6'} + peerDependencies: + typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' + dependencies: + tslib: 1.14.1 + typescript: 5.3.3 + dev: true + /tty-browserify@0.0.0: resolution: {integrity: sha512-JVa5ijo+j/sOoHGjw0sxw734b1LhBkQ3bvUGNdxnVXDCX81Yx7TFgnZygxrIIWn23hbfTaMYLwRmAxFyDuFmIw==} dev: false @@ -26583,6 +27803,11 @@ packages: resolution: {integrity: sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==} engines: {node: '>=4'} + /unicorn-magic@0.1.0: + resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} + engines: {node: '>=18'} + dev: true + /unified@10.1.2: resolution: {integrity: sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==} dependencies: @@ -26842,7 +28067,7 @@ packages: dependencies: browserslist: 4.21.5 escalade: 3.1.1 - picocolors: 1.0.0 + picocolors: 1.0.1 dev: true /update-browserslist-db@1.0.11(browserslist@4.21.9): @@ -26853,7 +28078,7 @@ packages: dependencies: browserslist: 4.21.9 escalade: 3.1.1 - picocolors: 1.0.0 + picocolors: 1.0.1 /update-browserslist-db@1.0.13(browserslist@4.22.2): resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} @@ -26863,7 +28088,7 @@ packages: dependencies: browserslist: 4.22.2 escalade: 3.1.1 - picocolors: 1.0.0 + picocolors: 1.0.1 /update-check@1.5.3: resolution: {integrity: sha512-6KLU4/dd0Tg/l0xwL+f9V7kEIPSL1vOIbnNnhSLiRDlj4AVG6Ks9Zoc9Jgt9kIgWFPZ/wp2AHgmG7xNf15TJOA==} @@ -27147,7 +28372,7 @@ packages: debug: 4.3.4(supports-color@6.1.0) mlly: 1.2.0 pathe: 1.1.0 - picocolors: 1.0.0 + picocolors: 1.0.1 source-map: 0.6.1 source-map-support: 0.5.21 vite: 4.3.4 @@ -27365,7 +28590,7 @@ packages: graceful-fs: 4.2.11 neo-async: 2.6.2 optionalDependencies: - chokidar: 3.5.3 + chokidar: 3.6.0 watchpack-chokidar2: 2.0.1 transitivePeerDependencies: - supports-color From b7480bf6e185454dd156457a4c54ff02ff3d265c Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Tue, 11 Jun 2024 12:53:52 +0200 Subject: [PATCH 02/19] Test tree-shaking of parser --- packages/use-intl/.size-limit.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/use-intl/.size-limit.ts b/packages/use-intl/.size-limit.ts index e4ca0070d..554a792cd 100644 --- a/packages/use-intl/.size-limit.ts +++ b/packages/use-intl/.size-limit.ts @@ -2,10 +2,19 @@ import type {SizeLimitConfig} from 'size-limit'; const config: SizeLimitConfig = [ { + name: 'All (ESM)', path: 'dist/index.mjs', limit: '13.16 kB' }, { + name: 'All but useTranslations (ESM)', + path: 'dist/index.mjs', + import: + '{useLocale, IntlProvider, useNow, useTimeZone, useMessages, useFormatter}', + limit: '1.58 kB' + }, + { + name: 'All (CJS)', path: 'dist/index.js', limit: '16.81 kB' } From 0149984c532f57a608df8a6577d383d2e9f3a6e4 Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Tue, 11 Jun 2024 13:21:12 +0200 Subject: [PATCH 03/19] Draft for next-intl (wip) --- packages/next-intl/.size-limit.ts | 55 ++ packages/next-intl/config.d.ts | 2 +- packages/next-intl/middleware.d.ts | 2 +- packages/next-intl/navigation.d.ts | 2 +- packages/next-intl/package.json | 124 ++-- packages/next-intl/rollup.config.js | 49 -- .../react-client/useBasePathname.tsx | 2 - packages/next-intl/src/plugin.tsx | 10 +- .../next-intl/src/react-client/useLocale.tsx | 3 +- .../src/server/react-client/index.tsx | 1 + .../src/shared/NextIntlClientProvider.tsx | 3 +- pnpm-lock.yaml | 556 ++---------------- scripts/getBuildConfig.js | 110 ---- 13 files changed, 187 insertions(+), 732 deletions(-) create mode 100644 packages/next-intl/.size-limit.ts delete mode 100644 packages/next-intl/rollup.config.js delete mode 100644 scripts/getBuildConfig.js diff --git a/packages/next-intl/.size-limit.ts b/packages/next-intl/.size-limit.ts new file mode 100644 index 000000000..b65efe1ab --- /dev/null +++ b/packages/next-intl/.size-limit.ts @@ -0,0 +1,55 @@ +import type {SizeLimitConfig} from 'size-limit'; + +const config: SizeLimitConfig = [ + // { + // name: 'All (ESM)', + // path: 'dist/index.mjs', + // limit: '13.16 kB' + // }, + // { + // name: 'All but useTranslations (ESM)', + // path: 'dist/index.mjs', + // import: + // '{useLocale, IntlProvider, useNow, useTimeZone, useMessages, useFormatter}', + // limit: '1.58 kB' + // }, + // { + // name: 'All (CJS)', + // path: 'dist/index.js', + // limit: '16.81 kB' + // } + // { + // path: 'dist/production/index.react-client.js', + // limit: '15.765 KB' + // }, + // { + // path: 'dist/production/index.react-server.js', + // limit: '16.66 KB' + // }, + // { + // path: 'dist/production/navigation.react-client.js', + // limit: '3.235 KB' + // }, + // { + // path: 'dist/production/navigation.react-server.js', + // limit: '17.815 KB' + // }, + // { + // path: 'dist/production/server.react-client.js', + // limit: '1 KB' + // }, + // { + // path: 'dist/production/server.react-server.js', + // limit: '15.84 KB' + // }, + // { + // path: 'dist/production/middleware.js', + // limit: '6.42 KB' + // }, + // { + // path: 'dist/production/routing.js', + // limit: '0 KB' + // } +]; + +module.exports = config; diff --git a/packages/next-intl/config.d.ts b/packages/next-intl/config.d.ts index 86c346051..cfc9c469c 100644 --- a/packages/next-intl/config.d.ts +++ b/packages/next-intl/config.d.ts @@ -1,3 +1,3 @@ -import config from './dist/types/src/config'; +import config from './dist/config'; export = config; diff --git a/packages/next-intl/middleware.d.ts b/packages/next-intl/middleware.d.ts index 41dddf9a1..0b95aa6d8 100644 --- a/packages/next-intl/middleware.d.ts +++ b/packages/next-intl/middleware.d.ts @@ -1,3 +1,3 @@ -import createMiddleware from './dist/types/src/middleware'; +import createMiddleware from './dist/middleware'; export = createMiddleware; diff --git a/packages/next-intl/navigation.d.ts b/packages/next-intl/navigation.d.ts index 81ded918e..ab45eb662 100644 --- a/packages/next-intl/navigation.d.ts +++ b/packages/next-intl/navigation.d.ts @@ -1 +1 @@ -export * from './dist/types/src/navigation.react-client'; +export * from './dist/navigation'; diff --git a/packages/next-intl/package.json b/packages/next-intl/package.json index a7d4919e6..a7056f4e0 100644 --- a/packages/next-intl/package.json +++ b/packages/next-intl/package.json @@ -17,7 +17,7 @@ "url": "https://github.com/amannn/next-intl" }, "scripts": { - "build": "rm -rf dist && rollup -c", + "build": "bunchee", "test": "TZ=Europe/Berlin vitest", "lint": "pnpm run lint:source && pnpm run lint:package", "lint:source": "eslint src test && tsc --noEmit", @@ -26,39 +26,88 @@ "postpublish": "git checkout . && rm ./README.md", "size": "size-limit" }, - "main": "./dist/index.react-client.js", - "module": "./dist/esm/index.react-client.js", - "typings": "./dist/types/src/index.react-client.d.ts", + "main": "./dist/index.js", + "module": "./dist/index.mjs", + "typings": "./dist/index.d.ts", "exports": { ".": { - "types": "./dist/types/src/index.react-client.d.ts", - "react-server": "./dist/esm/index.react-server.js", - "default": "./dist/index.react-client.js" + "react-server": "./dist/index.react-server.mjs", + "import": { + "types": "./dist/index.d.mts", + "default": "./dist/index.mjs" + }, + "require": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "default": "./dist/index.js" }, "./server": { - "types": "./server.d.ts", - "react-server": "./dist/esm/server.react-server.js", - "default": "./dist/server.react-client.js" + "react-server": "./dist/server.react-server.mjs", + "import": { + "types": "./dist/server.d.mts", + "default": "./dist/server.mjs" + }, + "require": { + "types": "./dist/server.d.ts", + "default": "./dist/server.js" + }, + "default": "./dist/server.js" }, "./config": { - "types": "./config.d.ts", + "import": { + "types": "./dist/config.d.mts", + "default": "./dist/config.mjs" + }, + "require": { + "types": "./dist/config.d.ts", + "default": "./dist/config.js" + }, "default": "./dist/config.js" }, "./middleware": { - "types": "./middleware.d.ts", + "import": { + "types": "./dist/middleware.d.mts", + "default": "./dist/middleware.mjs" + }, + "require": { + "types": "./dist/middleware.d.ts", + "default": "./dist/middleware.js" + }, "default": "./dist/middleware.js" }, "./navigation": { - "types": "./navigation.d.ts", - "react-server": "./dist/esm/navigation.react-server.js", - "default": "./dist/navigation.react-client.js" + "react-server": "./dist/navigation.react-server.mjs", + "import": { + "types": "./dist/navigation.d.mts", + "default": "./dist/navigation.mjs" + }, + "require": { + "types": "./dist/navigation.d.ts", + "default": "./dist/navigation.js" + }, + "default": "./dist/navigation.js" }, "./routing": { - "types": "./routing.d.ts", + "import": { + "types": "./dist/routing.d.mts", + "default": "./dist/routing.mjs" + }, + "require": { + "types": "./dist/routing.d.ts", + "default": "./dist/routing.js" + }, "default": "./dist/routing.js" }, "./plugin": { - "types": "./plugin.d.ts", + "import": { + "types": "./dist/plugin.d.mts", + "default": "./dist/plugin.mjs" + }, + "require": { + "types": "./dist/plugin.d.ts", + "default": "./dist/plugin.js" + }, "default": "./dist/plugin.js" } }, @@ -86,6 +135,7 @@ ], "dependencies": { "@formatjs/intl-localematcher": "^0.2.32", + "bunchee": "^5.1.6", "negotiator": "^0.6.3", "use-intl": "^3.15.0" }, @@ -96,7 +146,7 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.13.5", "@edge-runtime/vm": "^3.1.3", - "@size-limit/preset-big-lib": "^8.2.6", + "@size-limit/preset-small-lib": "^8.2.6", "@testing-library/react": "^13.0.0", "@types/negotiator": "^0.6.1", "@types/node": "^20.1.2", @@ -110,45 +160,9 @@ "publint": "^0.2.7", "react": "^18.3.0", "react-dom": "^18.3.0", - "rollup": "^3.28.1", - "rollup-plugin-preserve-directives": "0.2.0", "size-limit": "^8.2.6", "typescript": "^5.2.2", "vitest": "^1.0.1" }, - "prettier": "../../.prettierrc.json", - "size-limit": [ - { - "path": "dist/production/index.react-client.js", - "limit": "15.765 KB" - }, - { - "path": "dist/production/index.react-server.js", - "limit": "16.66 KB" - }, - { - "path": "dist/production/navigation.react-client.js", - "limit": "3.235 KB" - }, - { - "path": "dist/production/navigation.react-server.js", - "limit": "17.815 KB" - }, - { - "path": "dist/production/server.react-client.js", - "limit": "1 KB" - }, - { - "path": "dist/production/server.react-server.js", - "limit": "15.84 KB" - }, - { - "path": "dist/production/middleware.js", - "limit": "6.42 KB" - }, - { - "path": "dist/production/routing.js", - "limit": "0 KB" - } - ] + "prettier": "../../.prettierrc.json" } diff --git a/packages/next-intl/rollup.config.js b/packages/next-intl/rollup.config.js deleted file mode 100644 index d99f0a2b6..000000000 --- a/packages/next-intl/rollup.config.js +++ /dev/null @@ -1,49 +0,0 @@ -/* eslint-env node */ -const preserveDirectives = require('rollup-plugin-preserve-directives').default; -const getBuildConfig = require('../../scripts/getBuildConfig'); - -const config = { - input: { - 'index.react-client': 'src/index.react-client.tsx', - 'index.react-server': 'src/index.react-server.tsx', - - 'navigation.react-client': 'src/navigation.react-client.tsx', - 'navigation.react-server': 'src/navigation.react-server.tsx', - - 'server.react-client': 'src/server.react-client.tsx', - 'server.react-server': 'src/server.react-server.tsx', - - middleware: 'src/middleware.tsx', - routing: 'src/routing.tsx', - plugin: 'src/plugin.tsx', - config: 'src/config.tsx' - }, - external: ['next-intl/config', /use-intl/], - output: { - preserveModules: true - }, - onwarn(warning, warn) { - if (warning.code === 'MODULE_LEVEL_DIRECTIVE') return; - warn(warning); - }, - plugins: [preserveDirectives()] -}; - -module.exports = [ - getBuildConfig({ - ...config, - env: 'development' - }), - getBuildConfig({ - ...config, - output: { - ...config.output, - format: 'es' - }, - env: 'esm' - }), - getBuildConfig({ - ...config, - env: 'production' - }) -]; diff --git a/packages/next-intl/src/navigation/react-client/useBasePathname.tsx b/packages/next-intl/src/navigation/react-client/useBasePathname.tsx index 6d288e6ea..8a6806d94 100644 --- a/packages/next-intl/src/navigation/react-client/useBasePathname.tsx +++ b/packages/next-intl/src/navigation/react-client/useBasePathname.tsx @@ -1,5 +1,3 @@ -'use client'; - import {usePathname as useNextPathname} from 'next/navigation'; import {useMemo} from 'react'; import useLocale from '../../react-client/useLocale'; diff --git a/packages/next-intl/src/plugin.tsx b/packages/next-intl/src/plugin.tsx index fac8cb5e3..896d9d559 100644 --- a/packages/next-intl/src/plugin.tsx +++ b/packages/next-intl/src/plugin.tsx @@ -107,8 +107,14 @@ function initPlugin(i18nPath?: string, nextConfig?: NextConfig): NextConfig { return Object.assign({}, nextConfig, nextIntlConfig); } -module.exports = function createNextIntlPlugin(i18nPath?: string) { +export default function createNextIntlPlugin(i18nPath?: string) { return function withNextIntl(nextConfig?: NextConfig) { return initPlugin(i18nPath, nextConfig); }; -}; +} + +// Compat with CJS default export +if (typeof module !== 'undefined' && module.exports) { + module.exports = createNextIntlPlugin; +} +// todo: necessary? diff --git a/packages/next-intl/src/react-client/useLocale.tsx b/packages/next-intl/src/react-client/useLocale.tsx index 400dd6fec..01f799d35 100644 --- a/packages/next-intl/src/react-client/useLocale.tsx +++ b/packages/next-intl/src/react-client/useLocale.tsx @@ -1,6 +1,5 @@ import {useParams} from 'next/navigation'; -// Workaround for some bundle splitting until we have ESM -import {useLocale as useBaseLocale} from 'use-intl/_useLocale'; +import {useLocale as useBaseLocale} from 'use-intl'; import {LOCALE_SEGMENT_NAME} from '../shared/constants'; export default function useLocale(): string { diff --git a/packages/next-intl/src/server/react-client/index.tsx b/packages/next-intl/src/server/react-client/index.tsx index 7d00b33e4..b703f5a15 100644 --- a/packages/next-intl/src/server/react-client/index.tsx +++ b/packages/next-intl/src/server/react-client/index.tsx @@ -43,6 +43,7 @@ export const getLocale = notSupported('getLocale') as typeof getLocale_type; // The type of `getTranslations` is not assigned here because it // causes a type error. The types use the `react-server` entry // anyway, therefore this is irrelevant. +// TODO: Validate if this is still the case export const getTranslations = notSupported('getTranslations'); export const unstable_setRequestLocale = notSupported( diff --git a/packages/next-intl/src/shared/NextIntlClientProvider.tsx b/packages/next-intl/src/shared/NextIntlClientProvider.tsx index 2b0385ae4..fcc02837d 100644 --- a/packages/next-intl/src/shared/NextIntlClientProvider.tsx +++ b/packages/next-intl/src/shared/NextIntlClientProvider.tsx @@ -1,8 +1,7 @@ 'use client'; import React, {ComponentProps} from 'react'; -// Workaround for some bundle splitting until we have ESM -import {IntlProvider} from 'use-intl/_IntlProvider'; +import {IntlProvider} from 'use-intl'; type Props = Omit, 'locale'> & { /** This is automatically received when being rendered from a Server Component. In all other cases, e.g. when rendered from a Client Component, a unit test or with the Pages Router, you can pass this prop explicitly. */ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7341d12f0..328a53f6f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -635,6 +635,9 @@ importers: '@formatjs/intl-localematcher': specifier: ^0.2.32 version: 0.2.32 + bunchee: + specifier: ^5.1.6 + version: 5.1.6(typescript@5.2.2) negotiator: specifier: ^0.6.3 version: 0.6.3 @@ -648,9 +651,9 @@ importers: '@edge-runtime/vm': specifier: ^3.1.3 version: 3.1.3 - '@size-limit/preset-big-lib': + '@size-limit/preset-small-lib': specifier: ^8.2.6 - version: 8.2.6(esbuild@0.18.20)(size-limit@8.2.6) + version: 8.2.6(size-limit@8.2.6) '@testing-library/react': specifier: ^13.0.0 version: 13.0.0(react-dom@18.3.0)(react@18.3.0) @@ -690,12 +693,6 @@ importers: react-dom: specifier: ^18.3.0 version: 18.3.0(react@18.3.0) - rollup: - specifier: ^3.28.1 - version: 3.28.1 - rollup-plugin-preserve-directives: - specifier: 0.2.0 - version: 0.2.0(rollup@3.28.1) size-limit: specifier: ^8.2.6 version: 8.2.6 @@ -996,7 +993,6 @@ packages: dependencies: '@babel/highlight': 7.24.7 picocolors: 1.0.1 - dev: true optional: true /@babel/compat-data@7.22.9: @@ -1758,7 +1754,6 @@ packages: chalk: 2.4.2 js-tokens: 4.0.0 picocolors: 1.0.1 - dev: true optional: true /@babel/parser@7.21.8: @@ -7061,7 +7056,6 @@ packages: /@fastify/deepmerge@1.3.0: resolution: {integrity: sha512-J8TOSBq3SoZbDhM9+R/u77hP93gz/rajSA+K2kGyijPpORPWUXHUpTaleoj+92As0S9uPRP7Oi8IqMf0u+ro6A==} - dev: true /@formatjs/ecma402-abstract@1.11.4: resolution: {integrity: sha512-EBikYFp2JCdIfGEb5G9dyCkTGDmC57KSHhRQOC3aYxoPWVZvfWCDjZwkGYHN7Lis/fmuWl906bnNTJifDQ3sXw==} @@ -7912,7 +7906,7 @@ packages: resolution: {integrity: sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==} dependencies: '@gar/promisify': 1.1.3 - semver: 7.5.4 + semver: 7.6.0 /@npmcli/fs@2.1.2: resolution: {integrity: sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==} @@ -7926,7 +7920,7 @@ packages: resolution: {integrity: sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - semver: 7.5.4 + semver: 7.6.0 dev: true /@npmcli/git@4.0.4: @@ -7939,7 +7933,7 @@ packages: proc-log: 3.0.0 promise-inflight: 1.0.1(bluebird@3.7.2) promise-retry: 2.0.1 - semver: 7.5.4 + semver: 7.6.0 which: 3.0.1 transitivePeerDependencies: - bluebird @@ -7971,7 +7965,7 @@ packages: cacache: 17.1.0 json-parse-even-better-errors: 3.0.0 pacote: 15.1.1 - semver: 7.5.4 + semver: 7.6.0 transitivePeerDependencies: - bluebird - supports-color @@ -8826,7 +8820,6 @@ packages: is-reference: 1.2.1 magic-string: 0.30.5 rollup: 4.18.0 - dev: true /@rollup/plugin-json@6.1.0(rollup@4.18.0): resolution: {integrity: sha512-EGI2te5ENk1coGeADSIwZ7G2Q8CJS2sF120T7jLw4xFw9n7wIOXHo+kIYRAoVpJAN+kmqZSoO3Fp4JtoNF4ReA==} @@ -8839,7 +8832,6 @@ packages: dependencies: '@rollup/pluginutils': 5.1.0(rollup@4.18.0) rollup: 4.18.0 - dev: true /@rollup/plugin-node-resolve@15.2.3(rollup@3.28.1): resolution: {integrity: sha512-j/lym8nf5E21LwBT4Df1VD6hRO2L2iwUeUmP7litikRsVp1H6NWx20NEp0Y7su+7XGc476GnXXc4kFeZNGmaSQ==} @@ -8875,7 +8867,6 @@ packages: is-module: 1.0.0 resolve: 1.22.2 rollup: 4.18.0 - dev: true /@rollup/plugin-replace@5.0.5(rollup@3.28.1): resolution: {integrity: sha512-rYO4fOi8lMaTg/z5Jb+hKnrHHVn8j2lwkqwyS4kTRhKyWOLf2wST2sWXr4WzWiTcoHTp2sTjqUbqIj2E39slKQ==} @@ -8900,10 +8891,9 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.5(rollup@4.18.0) - magic-string: 0.30.5 + '@rollup/pluginutils': 5.1.0(rollup@4.18.0) + magic-string: 0.30.10 rollup: 4.18.0 - dev: true /@rollup/plugin-terser@0.4.4(rollup@3.28.1): resolution: {integrity: sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A==} @@ -8931,7 +8921,6 @@ packages: dependencies: '@rollup/pluginutils': 5.1.0(rollup@4.18.0) rollup: 4.18.0 - dev: true /@rollup/pluginutils@4.2.1: resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} @@ -8969,7 +8958,6 @@ packages: estree-walker: 2.0.2 picomatch: 2.3.1 rollup: 4.18.0 - dev: true /@rollup/pluginutils@5.1.0(rollup@4.18.0): resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} @@ -8980,18 +8968,16 @@ packages: rollup: optional: true dependencies: - '@types/estree': 1.0.1 + '@types/estree': 1.0.5 estree-walker: 2.0.2 picomatch: 2.3.1 rollup: 4.18.0 - dev: true /@rollup/rollup-android-arm-eabi@4.18.0: resolution: {integrity: sha512-Tya6xypR10giZV1XzxmH5wr25VcZSncG0pZIjfePT0OVBvqNEurzValetGNarVrGiq66EBVAFn15iYX4w6FKgQ==} cpu: [arm] os: [android] requiresBuild: true - dev: true optional: true /@rollup/rollup-android-arm-eabi@4.6.1: @@ -9007,7 +8993,6 @@ packages: cpu: [arm64] os: [android] requiresBuild: true - dev: true optional: true /@rollup/rollup-android-arm64@4.6.1: @@ -9023,7 +9008,6 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true - dev: true optional: true /@rollup/rollup-darwin-arm64@4.6.1: @@ -9039,7 +9023,6 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true - dev: true optional: true /@rollup/rollup-darwin-x64@4.6.1: @@ -9055,7 +9038,6 @@ packages: cpu: [arm] os: [linux] requiresBuild: true - dev: true optional: true /@rollup/rollup-linux-arm-gnueabihf@4.6.1: @@ -9071,7 +9053,6 @@ packages: cpu: [arm] os: [linux] requiresBuild: true - dev: true optional: true /@rollup/rollup-linux-arm64-gnu@4.18.0: @@ -9079,7 +9060,6 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true - dev: true optional: true /@rollup/rollup-linux-arm64-gnu@4.6.1: @@ -9095,7 +9075,6 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true - dev: true optional: true /@rollup/rollup-linux-arm64-musl@4.6.1: @@ -9111,7 +9090,6 @@ packages: cpu: [ppc64] os: [linux] requiresBuild: true - dev: true optional: true /@rollup/rollup-linux-riscv64-gnu@4.18.0: @@ -9119,7 +9097,6 @@ packages: cpu: [riscv64] os: [linux] requiresBuild: true - dev: true optional: true /@rollup/rollup-linux-s390x-gnu@4.18.0: @@ -9127,7 +9104,6 @@ packages: cpu: [s390x] os: [linux] requiresBuild: true - dev: true optional: true /@rollup/rollup-linux-x64-gnu@4.18.0: @@ -9135,7 +9111,6 @@ packages: cpu: [x64] os: [linux] requiresBuild: true - dev: true optional: true /@rollup/rollup-linux-x64-gnu@4.6.1: @@ -9151,7 +9126,6 @@ packages: cpu: [x64] os: [linux] requiresBuild: true - dev: true optional: true /@rollup/rollup-linux-x64-musl@4.6.1: @@ -9167,7 +9141,6 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true - dev: true optional: true /@rollup/rollup-win32-arm64-msvc@4.6.1: @@ -9183,7 +9156,6 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true - dev: true optional: true /@rollup/rollup-win32-ia32-msvc@4.6.1: @@ -9199,7 +9171,6 @@ packages: cpu: [x64] os: [win32] requiresBuild: true - dev: true optional: true /@rollup/rollup-win32-x64-msvc@4.6.1: @@ -9269,15 +9240,6 @@ packages: '@sinonjs/commons': 2.0.0 dev: true - /@sitespeed.io/tracium@0.3.3: - resolution: {integrity: sha512-dNZafjM93Y+F+sfwTO5gTpsGXlnc/0Q+c2+62ViqP3gkMWvHEMSKkaEHgVJLcLg3i/g19GSIPziiKpgyne07Bw==} - engines: {node: '>=8'} - dependencies: - debug: 4.3.4(supports-color@6.1.0) - transitivePeerDependencies: - - supports-color - dev: true - /@size-limit/esbuild@11.1.4(size-limit@11.1.4): resolution: {integrity: sha512-Nxh+Fw4Z7sFjRLeT7GDZIy297VXyJrMvG20UDSWP31QgglriEBDkW9U77T7W6js5FaEr89bYVrGzpHfmE1CLFw==} engines: {node: ^18.0.0 || >=20.0.0} @@ -9289,6 +9251,17 @@ packages: size-limit: 11.1.4 dev: true + /@size-limit/esbuild@8.2.6(size-limit@8.2.6): + resolution: {integrity: sha512-a4c8xVDuDMYw5jF655ADjQDluw3jGPPYer6UJock5rSnUlWnIbmT/Ohud7gJGq5gqyLUQOCrBD7NB3g+mlhj4g==} + engines: {node: ^14.0.0 || ^16.0.0 || >=18.0.0} + peerDependencies: + size-limit: 8.2.6 + dependencies: + esbuild: 0.18.20 + nanoid: 3.3.7 + size-limit: 8.2.6 + dev: true + /@size-limit/file@11.1.4(size-limit@11.1.4): resolution: {integrity: sha512-QxnGj9cxhCEuqMAV01gqonXIKcc+caZqFHZpV51oL2ZJNGSPP9Q/yyf+7HbVe00faOFd1dZZwMwzZmX7HQ9LbA==} engines: {node: ^18.0.0 || >=20.0.0} @@ -9308,26 +9281,6 @@ packages: size-limit: 8.2.6 dev: true - /@size-limit/preset-big-lib@8.2.6(esbuild@0.18.20)(size-limit@8.2.6): - resolution: {integrity: sha512-63a+yos0QNMVCfx1OWnxBrdQVTlBVGzW5fDXwpWq/hKfP3B89XXHYGeL2Z2f8IXSVeGkAHXnDcTZyIPRaXffVg==} - peerDependencies: - size-limit: 8.2.6 - dependencies: - '@size-limit/file': 8.2.6(size-limit@8.2.6) - '@size-limit/time': 8.2.6(size-limit@8.2.6) - '@size-limit/webpack': 8.2.6(esbuild@0.18.20)(size-limit@8.2.6) - size-limit: 8.2.6 - transitivePeerDependencies: - - '@swc/core' - - bufferutil - - encoding - - esbuild - - supports-color - - uglify-js - - utf-8-validate - - webpack-cli - dev: true - /@size-limit/preset-small-lib@11.1.4(size-limit@11.1.4): resolution: {integrity: sha512-wELW374esv+2Nlzf7g+qW4Af9L69duLoO9F52f0sGk/nzb6et7u8gLRvweWrBfm3itUrqHCpGSSVabTsIU8kNw==} peerDependencies: @@ -9338,36 +9291,14 @@ packages: size-limit: 11.1.4 dev: true - /@size-limit/time@8.2.6(size-limit@8.2.6): - resolution: {integrity: sha512-fUEPvz7Uq6+oUQxSYbNlJt3tTgQBl1VY21USi/B7ebdnVKLnUx1JyPI9v7imN6XEkB2VpJtnYgjFeLgNrirzMA==} - engines: {node: ^14.0.0 || ^16.0.0 || >=18.0.0} + /@size-limit/preset-small-lib@8.2.6(size-limit@8.2.6): + resolution: {integrity: sha512-roanEuscDaaXDsT5Cg9agMbmsQVlMr66eRg3AwT2o4vE7WFLR8Z42p0AHZiwucW1nGpCxAh8E08Qa/yyVuj5nA==} peerDependencies: size-limit: 8.2.6 dependencies: - estimo: 2.3.6 - react: 17.0.2 - size-limit: 8.2.6 - transitivePeerDependencies: - - bufferutil - - encoding - - supports-color - - utf-8-validate - dev: true - - /@size-limit/webpack@8.2.6(esbuild@0.18.20)(size-limit@8.2.6): - resolution: {integrity: sha512-y2sB66m5sJxIjZ8SEAzpWbiw3/+bnQHDHfk9cSbV5ChKklq02AlYg8BS5KxGWmMpdyUo4TzpjSCP9oEudY+hxQ==} - engines: {node: ^14.0.0 || ^16.0.0 || >=18.0.0} - peerDependencies: - size-limit: 8.2.6 - dependencies: - nanoid: 3.3.6 + '@size-limit/esbuild': 8.2.6(size-limit@8.2.6) + '@size-limit/file': 8.2.6(size-limit@8.2.6) size-limit: 8.2.6 - webpack: 5.88.1(esbuild@0.18.20) - transitivePeerDependencies: - - '@swc/core' - - esbuild - - uglify-js - - webpack-cli dev: true /@swc/core-darwin-arm64@1.5.28: @@ -9376,7 +9307,6 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true - dev: true optional: true /@swc/core-darwin-x64@1.5.28: @@ -9385,7 +9315,6 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true - dev: true optional: true /@swc/core-linux-arm-gnueabihf@1.5.28: @@ -9394,7 +9323,6 @@ packages: cpu: [arm] os: [linux] requiresBuild: true - dev: true optional: true /@swc/core-linux-arm64-gnu@1.5.28: @@ -9403,7 +9331,6 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true - dev: true optional: true /@swc/core-linux-arm64-musl@1.5.28: @@ -9412,7 +9339,6 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true - dev: true optional: true /@swc/core-linux-x64-gnu@1.5.28: @@ -9421,7 +9347,6 @@ packages: cpu: [x64] os: [linux] requiresBuild: true - dev: true optional: true /@swc/core-linux-x64-musl@1.5.28: @@ -9430,7 +9355,6 @@ packages: cpu: [x64] os: [linux] requiresBuild: true - dev: true optional: true /@swc/core-win32-arm64-msvc@1.5.28: @@ -9439,7 +9363,6 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true - dev: true optional: true /@swc/core-win32-ia32-msvc@1.5.28: @@ -9448,7 +9371,6 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true - dev: true optional: true /@swc/core-win32-x64-msvc@1.5.28: @@ -9457,7 +9379,6 @@ packages: cpu: [x64] os: [win32] requiresBuild: true - dev: true optional: true /@swc/core@1.5.28(@swc/helpers@0.5.11): @@ -9484,7 +9405,6 @@ packages: '@swc/core-win32-arm64-msvc': 1.5.28 '@swc/core-win32-ia32-msvc': 1.5.28 '@swc/core-win32-x64-msvc': 1.5.28 - dev: true /@swc/counter@0.1.3: resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} @@ -9493,7 +9413,6 @@ packages: resolution: {integrity: sha512-YNlnKRWF2sVojTpIyzwou9XoTNbzbzONwRhOoniEioF1AtaitTvVZblaQRrAzChWQ1bLYyYSWzM18y4WwgzJ+A==} dependencies: tslib: 2.6.3 - dev: true /@swc/helpers@0.5.5: resolution: {integrity: sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==} @@ -9505,7 +9424,6 @@ packages: resolution: {integrity: sha512-RNFA3+7OJFNYY78x0FYwi1Ow+iF1eF5WvmfY1nXPOEH4R2p/D4Cr1vzje7dNAI2aLFqpv8Wyz4oKSWqIZArpQA==} dependencies: '@swc/counter': 0.1.3 - dev: true /@szmarczak/http-timer@4.0.6: resolution: {integrity: sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==} @@ -9665,20 +9583,6 @@ packages: dependencies: '@types/ms': 0.7.31 - /@types/eslint-scope@3.7.4: - resolution: {integrity: sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==} - dependencies: - '@types/eslint': 8.40.2 - '@types/estree': 1.0.1 - dev: true - - /@types/eslint@8.40.2: - resolution: {integrity: sha512-PRVjQ4Eh9z9pmmtaq8nTjZjQwKFk7YIHIud3lRoKRBgUQjgjRmoGxxGEPXQkF+lH7QkHJRNr5F4aBgYCW0lqpQ==} - dependencies: - '@types/estree': 1.0.1 - '@types/json-schema': 7.0.12 - dev: true - /@types/estree-jsx@0.0.1: resolution: {integrity: sha512-gcLAYiMfQklDCPjQegGn0TBAn9it05ISEsEhlKQUddIk7o2XDokOcTN7HBO8tznM0D9dGezvHEfRZBfZf6me0A==} dependencies: @@ -9695,7 +9599,6 @@ packages: /@types/estree@1.0.5: resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} - dev: true /@types/glob@7.2.0: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} @@ -9864,7 +9767,6 @@ packages: /@types/resolve@1.20.2: resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} - dev: true /@types/responselike@1.0.0: resolution: {integrity: sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==} @@ -9944,14 +9846,6 @@ packages: dependencies: '@types/yargs-parser': 21.0.0 - /@types/yauzl@2.10.3: - resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} - requiresBuild: true - dependencies: - '@types/node': 20.1.2 - dev: true - optional: true - /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.54.0)(typescript@5.2.2): resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==} engines: {node: ^16.0.0 || >=18.0.0} @@ -10166,7 +10060,7 @@ packages: debug: 4.3.4(supports-color@6.1.0) globby: 11.1.0 is-glob: 4.0.3 - semver: 7.5.4 + semver: 7.6.0 tsutils: 3.21.0(typescript@5.2.2) typescript: 5.2.2 transitivePeerDependencies: @@ -10187,7 +10081,7 @@ packages: debug: 4.3.4(supports-color@6.1.0) globby: 11.1.0 is-glob: 4.0.3 - semver: 7.5.4 + semver: 7.6.0 tsutils: 3.21.0(typescript@5.3.3) typescript: 5.3.3 transitivePeerDependencies: @@ -10506,13 +10400,6 @@ packages: /@web3-storage/multipart-parser@1.0.0: resolution: {integrity: sha512-BEO6al7BYqcnfX15W2cnGR+Q566ACXAT9UQykORCWW80lmkpWsnEob6zJS1ZVBKsSJC8+7vJkHwlp+lXG1UCdw==} - /@webassemblyjs/ast@1.11.6: - resolution: {integrity: sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==} - dependencies: - '@webassemblyjs/helper-numbers': 1.11.6 - '@webassemblyjs/helper-wasm-bytecode': 1.11.6 - dev: true - /@webassemblyjs/ast@1.9.0: resolution: {integrity: sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==} dependencies: @@ -10521,26 +10408,14 @@ packages: '@webassemblyjs/wast-parser': 1.9.0 dev: false - /@webassemblyjs/floating-point-hex-parser@1.11.6: - resolution: {integrity: sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==} - dev: true - /@webassemblyjs/floating-point-hex-parser@1.9.0: resolution: {integrity: sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA==} dev: false - /@webassemblyjs/helper-api-error@1.11.6: - resolution: {integrity: sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==} - dev: true - /@webassemblyjs/helper-api-error@1.9.0: resolution: {integrity: sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==} dev: false - /@webassemblyjs/helper-buffer@1.11.6: - resolution: {integrity: sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA==} - dev: true - /@webassemblyjs/helper-buffer@1.9.0: resolution: {integrity: sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA==} dev: false @@ -10561,31 +10436,10 @@ packages: '@webassemblyjs/ast': 1.9.0 dev: false - /@webassemblyjs/helper-numbers@1.11.6: - resolution: {integrity: sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==} - dependencies: - '@webassemblyjs/floating-point-hex-parser': 1.11.6 - '@webassemblyjs/helper-api-error': 1.11.6 - '@xtuc/long': 4.2.2 - dev: true - - /@webassemblyjs/helper-wasm-bytecode@1.11.6: - resolution: {integrity: sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==} - dev: true - /@webassemblyjs/helper-wasm-bytecode@1.9.0: resolution: {integrity: sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==} dev: false - /@webassemblyjs/helper-wasm-section@1.11.6: - resolution: {integrity: sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g==} - dependencies: - '@webassemblyjs/ast': 1.11.6 - '@webassemblyjs/helper-buffer': 1.11.6 - '@webassemblyjs/helper-wasm-bytecode': 1.11.6 - '@webassemblyjs/wasm-gen': 1.11.6 - dev: true - /@webassemblyjs/helper-wasm-section@1.9.0: resolution: {integrity: sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw==} dependencies: @@ -10595,51 +10449,22 @@ packages: '@webassemblyjs/wasm-gen': 1.9.0 dev: false - /@webassemblyjs/ieee754@1.11.6: - resolution: {integrity: sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==} - dependencies: - '@xtuc/ieee754': 1.2.0 - dev: true - /@webassemblyjs/ieee754@1.9.0: resolution: {integrity: sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg==} dependencies: '@xtuc/ieee754': 1.2.0 dev: false - /@webassemblyjs/leb128@1.11.6: - resolution: {integrity: sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==} - dependencies: - '@xtuc/long': 4.2.2 - dev: true - /@webassemblyjs/leb128@1.9.0: resolution: {integrity: sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw==} dependencies: '@xtuc/long': 4.2.2 dev: false - /@webassemblyjs/utf8@1.11.6: - resolution: {integrity: sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==} - dev: true - /@webassemblyjs/utf8@1.9.0: resolution: {integrity: sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w==} dev: false - /@webassemblyjs/wasm-edit@1.11.6: - resolution: {integrity: sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw==} - dependencies: - '@webassemblyjs/ast': 1.11.6 - '@webassemblyjs/helper-buffer': 1.11.6 - '@webassemblyjs/helper-wasm-bytecode': 1.11.6 - '@webassemblyjs/helper-wasm-section': 1.11.6 - '@webassemblyjs/wasm-gen': 1.11.6 - '@webassemblyjs/wasm-opt': 1.11.6 - '@webassemblyjs/wasm-parser': 1.11.6 - '@webassemblyjs/wast-printer': 1.11.6 - dev: true - /@webassemblyjs/wasm-edit@1.9.0: resolution: {integrity: sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw==} dependencies: @@ -10653,16 +10478,6 @@ packages: '@webassemblyjs/wast-printer': 1.9.0 dev: false - /@webassemblyjs/wasm-gen@1.11.6: - resolution: {integrity: sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA==} - dependencies: - '@webassemblyjs/ast': 1.11.6 - '@webassemblyjs/helper-wasm-bytecode': 1.11.6 - '@webassemblyjs/ieee754': 1.11.6 - '@webassemblyjs/leb128': 1.11.6 - '@webassemblyjs/utf8': 1.11.6 - dev: true - /@webassemblyjs/wasm-gen@1.9.0: resolution: {integrity: sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA==} dependencies: @@ -10673,15 +10488,6 @@ packages: '@webassemblyjs/utf8': 1.9.0 dev: false - /@webassemblyjs/wasm-opt@1.11.6: - resolution: {integrity: sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g==} - dependencies: - '@webassemblyjs/ast': 1.11.6 - '@webassemblyjs/helper-buffer': 1.11.6 - '@webassemblyjs/wasm-gen': 1.11.6 - '@webassemblyjs/wasm-parser': 1.11.6 - dev: true - /@webassemblyjs/wasm-opt@1.9.0: resolution: {integrity: sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A==} dependencies: @@ -10691,17 +10497,6 @@ packages: '@webassemblyjs/wasm-parser': 1.9.0 dev: false - /@webassemblyjs/wasm-parser@1.11.6: - resolution: {integrity: sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ==} - dependencies: - '@webassemblyjs/ast': 1.11.6 - '@webassemblyjs/helper-api-error': 1.11.6 - '@webassemblyjs/helper-wasm-bytecode': 1.11.6 - '@webassemblyjs/ieee754': 1.11.6 - '@webassemblyjs/leb128': 1.11.6 - '@webassemblyjs/utf8': 1.11.6 - dev: true - /@webassemblyjs/wasm-parser@1.9.0: resolution: {integrity: sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA==} dependencies: @@ -10724,13 +10519,6 @@ packages: '@xtuc/long': 4.2.2 dev: false - /@webassemblyjs/wast-printer@1.11.6: - resolution: {integrity: sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A==} - dependencies: - '@webassemblyjs/ast': 1.11.6 - '@xtuc/long': 4.2.2 - dev: true - /@webassemblyjs/wast-printer@1.9.0: resolution: {integrity: sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==} dependencies: @@ -10746,9 +10534,11 @@ packages: /@xtuc/ieee754@1.2.0: resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==} + dev: false /@xtuc/long@4.2.2: resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} + dev: false /@yarnpkg/lockfile@1.1.0: resolution: {integrity: sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==} @@ -10823,14 +10613,6 @@ packages: acorn-walk: 8.2.0 dev: true - /acorn-import-assertions@1.9.0(acorn@8.10.0): - resolution: {integrity: sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==} - peerDependencies: - acorn: ^8 - dependencies: - acorn: 8.10.0 - dev: true - /acorn-jsx@5.3.2(acorn@8.10.0): resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: @@ -10912,6 +10694,7 @@ packages: ajv: ^6.9.1 dependencies: ajv: 6.12.6 + dev: false /ajv@6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} @@ -12001,7 +11784,6 @@ packages: resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} dependencies: balanced-match: 1.0.2 - dev: true /braces@2.3.2(supports-color@6.1.0): resolution: {integrity: sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==} @@ -12150,10 +11932,6 @@ packages: buffer-fill: 1.0.0 dev: false - /buffer-crc32@0.2.13: - resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} - dev: true - /buffer-fill@1.0.0: resolution: {integrity: sha512-T7zexNBwiiaCOGDg9xNX9PBmjrubblRkENuptryuI64URkXDFum9il/JGL8Lm8wYfAXpredVXXZz7eMHilimiQ==} dev: false @@ -12193,7 +11971,6 @@ packages: /builtin-modules@3.3.0: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} engines: {node: '>=6'} - dev: true /builtin-status-codes@3.0.0: resolution: {integrity: sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ==} @@ -12205,7 +11982,7 @@ packages: /builtins@5.0.1: resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==} dependencies: - semver: 7.5.4 + semver: 7.6.0 dev: true /bunchee@5.1.6(typescript@5.2.2): @@ -12236,7 +12013,6 @@ packages: rollup-preserve-directives: 1.1.1(rollup@4.18.0) tslib: 2.6.3 typescript: 5.2.2 - dev: true /bundle-name@3.0.0: resolution: {integrity: sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==} @@ -12646,6 +12422,7 @@ packages: /chrome-trace-event@1.0.3: resolution: {integrity: sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==} engines: {node: '>=6.0'} + dev: false /ci-info@2.0.0: resolution: {integrity: sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==} @@ -12687,7 +12464,6 @@ packages: engines: {node: '>= 10.0'} dependencies: source-map: 0.6.1 - dev: true /clean-regexp@1.0.0: resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==} @@ -12962,6 +12738,7 @@ packages: /commander@9.5.0: resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==} engines: {node: ^12.20.0 || >=14} + dev: false /common-ancestor-path@1.0.1: resolution: {integrity: sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w==} @@ -13318,6 +13095,7 @@ packages: node-fetch: 2.6.7 transitivePeerDependencies: - encoding + dev: false /cross-spawn@5.1.0: resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} @@ -14032,7 +13810,6 @@ packages: /deepmerge@4.3.1: resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} engines: {node: '>=0.10.0'} - dev: true /default-browser-id@3.0.0: resolution: {integrity: sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA==} @@ -14231,10 +14008,6 @@ packages: dequal: 2.0.3 dev: false - /devtools-protocol@0.0.981744: - resolution: {integrity: sha512-0cuGS8+jhR67Fy7qG3i3Pc7Aw494sb9yG9QgpG97SFVWwolgYjlhJg7n+UaHxOQT30d1TYu/EYe9k01ivLErIg==} - dev: true - /didyoumean@1.2.2: resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} @@ -14658,10 +14431,6 @@ packages: safe-array-concat: 1.0.0 dev: true - /es-module-lexer@1.3.0: - resolution: {integrity: sha512-vZK7T0N2CBmBOixhmjdqx2gWVbFZ4DXZ/NyRMZVlJXPa7CyFS+/a4QQsDGDQy9ZfEzxFuNEsMLeQJnKP2p5/JA==} - dev: true - /es-set-tostringtag@2.0.1: resolution: {integrity: sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==} engines: {node: '>= 0.4'} @@ -15835,23 +15604,6 @@ packages: dependencies: estraverse: 5.3.0 - /estimo@2.3.6: - resolution: {integrity: sha512-aPd3VTQAL1TyDyhFfn6fqBTJ9WvbRZVN4Z29Buk6+P6xsI0DuF5Mh3dGv6kYCUxWnZkB4Jt3aYglUxOtuwtxoA==} - engines: {node: '>=12'} - hasBin: true - dependencies: - '@sitespeed.io/tracium': 0.3.3 - commander: 9.5.0 - find-chrome-bin: 0.1.0 - nanoid: 3.3.7 - puppeteer-core: 13.7.0 - transitivePeerDependencies: - - bufferutil - - encoding - - supports-color - - utf-8-validate - dev: true - /estraverse@4.3.0: resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} engines: {node: '>=4.0'} @@ -15905,7 +15657,6 @@ packages: /estree-walker@2.0.2: resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} - dev: true /estree-walker@3.0.3: resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} @@ -16305,20 +16056,6 @@ packages: - supports-color dev: false - /extract-zip@2.0.1: - resolution: {integrity: sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==} - engines: {node: '>= 10.17.0'} - hasBin: true - dependencies: - debug: 4.3.4(supports-color@6.1.0) - get-stream: 5.2.0 - yauzl: 2.10.0 - optionalDependencies: - '@types/yauzl': 2.10.3 - transitivePeerDependencies: - - supports-color - dev: true - /fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} @@ -16443,12 +16180,6 @@ packages: - encoding dev: false - /fd-slicer@1.1.0: - resolution: {integrity: sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==} - dependencies: - pend: 1.2.0 - dev: true - /fetch-retry@4.1.1: resolution: {integrity: sha512-e6eB7zN6UBSwGVwrbWVH+gdLnkW9WwHhmq2YDK1Sh30pzx1onRVGBvogTlUeWxwTa+L86NYdo4hFkh7O8ZjSnA==} dev: false @@ -16583,11 +16314,6 @@ packages: pkg-dir: 4.2.0 dev: false - /find-chrome-bin@0.1.0: - resolution: {integrity: sha512-XoFZwaEn1R3pE6zNG8kH64l2e093hgB9+78eEKPmJK0o1EXEou+25cEWdtu2qq4DBQPDSe90VJAWVI2Sz9pX6Q==} - engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - dev: true - /find-up@2.1.0: resolution: {integrity: sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==} engines: {node: '>=4'} @@ -17044,7 +16770,6 @@ packages: resolution: {integrity: sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw==} dependencies: resolve-pkg-maps: 1.0.0 - dev: true /get-uri@3.0.2: resolution: {integrity: sha512-+5s0SJbGoyiJTZZ2JTpFPLMPSch72KEqGOTvQsBqg0RBWvwhWUSYZFAtz3TPW0GXJuLBJPts1E241iHg+VRfhg==} @@ -17227,7 +16952,6 @@ packages: inherits: 2.0.4 minimatch: 5.1.6 once: 1.4.0 - dev: true /glob@9.3.5: resolution: {integrity: sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==} @@ -18356,7 +18080,6 @@ packages: engines: {node: '>=6'} dependencies: builtin-modules: 3.3.0 - dev: true /is-callable@1.2.7: resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} @@ -18554,7 +18277,6 @@ packages: /is-module@1.0.0: resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==} - dev: true /is-negative-zero@2.0.2: resolution: {integrity: sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==} @@ -18645,7 +18367,6 @@ packages: resolution: {integrity: sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==} dependencies: '@types/estree': 1.0.1 - dev: true /is-reference@3.0.1: resolution: {integrity: sha512-baJJdQLiYaJdvFbJqXrcGv3WU3QCzBlUcI5QhbesIm6/xPsvmO+2CDoi/GMOFBQEQm+PXkwOPrp9KK5ozZsp2w==} @@ -19254,7 +18975,7 @@ packages: jest-util: 29.5.0 natural-compare: 1.4.0 pretty-format: 29.5.0 - semver: 7.5.4 + semver: 7.6.0 transitivePeerDependencies: - supports-color dev: true @@ -19337,6 +19058,7 @@ packages: '@types/node': 20.1.2 merge-stream: 2.0.0 supports-color: 8.1.1 + dev: false /jest-worker@29.5.0: resolution: {integrity: sha512-NcrQnevGoSp4b5kg+akIpthoAFHxPBcb5P6mYPY0fUNT+sSvmtu6jlkEle3anczUKIKEbMxFimk9oTP/tpIPgA==} @@ -19884,11 +19606,6 @@ packages: engines: {node: '>=4.3.0 <5.0.0 || >=5.10'} dev: false - /loader-runner@4.3.0: - resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==} - engines: {node: '>=6.11.5'} - dev: true - /loader-utils@1.4.2: resolution: {integrity: sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==} engines: {node: '>=4.0.0'} @@ -20103,25 +19820,16 @@ packages: sourcemap-codec: 1.4.8 dev: true - /magic-string@0.30.0: - resolution: {integrity: sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==} - engines: {node: '>=12'} - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - /magic-string@0.30.10: resolution: {integrity: sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ==} dependencies: '@jridgewell/sourcemap-codec': 1.4.15 - dev: true /magic-string@0.30.5: resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} engines: {node: '>=12'} dependencies: '@jridgewell/sourcemap-codec': 1.4.15 - dev: true /make-dir@2.1.0: resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} @@ -21451,7 +21159,6 @@ packages: engines: {node: '>=10'} dependencies: brace-expansion: 2.0.1 - dev: true /minimatch@6.2.0: resolution: {integrity: sha512-sauLxniAmvnhhRjFwPNnJKaPFYyddAgbYdeUpHULtCT/GhzdCx/MDNy+Y40lBxTQUrMzDE8e0S43Z5uqfO0REg==} @@ -22104,7 +21811,7 @@ packages: resolution: {integrity: sha512-SQkEP4hmNWjlniS5zdnfIXTk1x7Ome85RDzHlTbBtzE97Gfwz/Ipw4v/Ryk20DWIy3yCNVLVlGKApCnmvYoJbA==} engines: {node: '>=10'} dependencies: - semver: 7.5.4 + semver: 7.6.0 dev: true /node-addon-api@1.7.2: @@ -22187,7 +21894,7 @@ packages: nopt: 6.0.0 npmlog: 6.0.2 rimraf: 3.0.2 - semver: 7.5.4 + semver: 7.6.0 tar: 6.1.14 which: 2.0.2 transitivePeerDependencies: @@ -22286,7 +21993,7 @@ packages: dependencies: hosted-git-info: 4.1.0 is-core-module: 2.12.0 - semver: 7.5.4 + semver: 7.6.0 validate-npm-package-license: 3.0.4 dev: true @@ -22296,7 +22003,7 @@ packages: dependencies: hosted-git-info: 5.2.1 is-core-module: 2.12.0 - semver: 7.5.4 + semver: 7.6.0 validate-npm-package-license: 3.0.4 dev: true @@ -22306,7 +22013,7 @@ packages: dependencies: hosted-git-info: 6.1.1 is-core-module: 2.12.0 - semver: 7.5.4 + semver: 7.6.0 validate-npm-package-license: 3.0.4 dev: true @@ -22360,7 +22067,7 @@ packages: resolution: {integrity: sha512-dH3GmQL4vsPtld59cOn8uY0iOqRmqKvV+DLGwNXV/Q7MDgD2QfOADWd/mFXcIE5LVhYYGjA3baz6W9JneqnuCw==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - semver: 7.5.4 + semver: 7.6.0 dev: true /npm-normalize-package-bin@1.0.1: @@ -22383,7 +22090,7 @@ packages: dependencies: hosted-git-info: 6.1.1 proc-log: 3.0.0 - semver: 7.5.4 + semver: 7.6.0 validate-npm-package-name: 5.0.0 dev: true @@ -22411,7 +22118,7 @@ packages: dependencies: hosted-git-info: 5.2.1 proc-log: 2.0.1 - semver: 7.5.4 + semver: 7.6.0 validate-npm-package-name: 4.0.0 dev: true @@ -22451,7 +22158,7 @@ packages: npm-install-checks: 6.1.1 npm-normalize-package-bin: 3.0.1 npm-package-arg: 10.1.0 - semver: 7.5.4 + semver: 7.6.0 dev: true /npm-registry-fetch@13.3.1: @@ -23359,10 +23066,6 @@ packages: through2: 2.0.5 dev: true - /pend@1.2.0: - resolution: {integrity: sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==} - dev: true - /periscopic@3.1.0: resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==} dependencies: @@ -24283,6 +23986,7 @@ packages: /progress@2.0.3: resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} engines: {node: '>=0.4.0'} + dev: false /promise-all-reject-late@1.0.1: resolution: {integrity: sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw==} @@ -24452,29 +24156,6 @@ packages: resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==} engines: {node: '>=6'} - /puppeteer-core@13.7.0: - resolution: {integrity: sha512-rXja4vcnAzFAP1OVLq/5dWNfwBGuzcOARJ6qGV7oAZhnLmVRU8G5MsdeQEAOy332ZhkIOnn9jp15R89LKHyp2Q==} - engines: {node: '>=10.18.1'} - dependencies: - cross-fetch: 3.1.5 - debug: 4.3.4(supports-color@6.1.0) - devtools-protocol: 0.0.981744 - extract-zip: 2.0.1 - https-proxy-agent: 5.0.1 - pkg-dir: 4.2.0 - progress: 2.0.3 - proxy-from-env: 1.1.0 - rimraf: 3.0.2 - tar-fs: 2.1.1 - unbzip2-stream: 1.4.3 - ws: 8.5.0 - transitivePeerDependencies: - - bufferutil - - encoding - - supports-color - - utf-8-validate - dev: true - /pure-rand@6.0.2: resolution: {integrity: sha512-6Yg0ekpKICSjPswYOuC5sku/TSWaRYlA0qsXqJgM/d/4pLPHPuTxK7Nbf7jFKzAeedUhR8C7K9Uv63FBsSo8xQ==} dev: true @@ -24786,14 +24467,6 @@ packages: react-is: 18.2.0 dev: false - /react@17.0.2: - resolution: {integrity: sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==} - engines: {node: '>=0.10.0'} - dependencies: - loose-envify: 1.4.0 - object-assign: 4.1.1 - dev: true - /react@18.1.0: resolution: {integrity: sha512-4oL8ivCz5ZEPyclFQXaNksK3adutVS8l2xzZU0cqEFrE9Sb7fC0EFK5uEk74wIreL1DERyjvsU915j1pcT2uEQ==} engines: {node: '>=0.10.0'} @@ -25312,7 +24985,6 @@ packages: /resolve-pkg-maps@1.0.0: resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} - dev: true /resolve-url@0.2.1: resolution: {integrity: sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==} @@ -25463,7 +25135,6 @@ packages: typescript: 5.2.2 optionalDependencies: '@babel/code-frame': 7.24.7 - dev: true /rollup-plugin-inject@3.0.2: resolution: {integrity: sha512-ptg9PQwzs3orn4jkgXJ74bfs5vYz1NCZlSQMBUA0wKcGp5i5pA1AO3fOUEte8enhGUC+iapTCzEWw2jEFFUO/w==} @@ -25480,15 +25151,6 @@ packages: rollup-plugin-inject: 3.0.2 dev: true - /rollup-plugin-preserve-directives@0.2.0(rollup@3.28.1): - resolution: {integrity: sha512-KUwbBaFvD1zFIDNnOkR+u64sSod3m0l6q46/SzTOa4GTQ6hp6w0FRr2u7x99YkY9qhlna5panmTmuLWeJ/2KWw==} - peerDependencies: - rollup: 2.x || 3.x - dependencies: - magic-string: 0.30.0 - rollup: 3.28.1 - dev: true - /rollup-plugin-swc3@0.11.2(@swc/core@1.5.28)(rollup@4.18.0): resolution: {integrity: sha512-o1ih9B806fV2wBSNk46T0cYfTF2eiiKmYXRpWw3K4j/Cp3tCAt10UCVsTqvUhGP58pcB3/GZcAVl5e7TCSKN6Q==} engines: {node: '>=12'} @@ -25502,7 +25164,6 @@ packages: get-tsconfig: 4.7.5 rollup: 4.18.0 rollup-preserve-directives: 1.1.1(rollup@4.18.0) - dev: true /rollup-pluginutils@2.8.2: resolution: {integrity: sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==} @@ -25517,7 +25178,6 @@ packages: dependencies: magic-string: 0.30.10 rollup: 4.18.0 - dev: true /rollup@3.28.1: resolution: {integrity: sha512-R9OMQmIHJm9znrU3m3cpE8uhN0fGdXiawME7aZIpQqvpS/85+Vt1Hq1/yVIcYfOmaQiHjvXkQAoJukvLpau6Yw==} @@ -25551,7 +25211,6 @@ packages: '@rollup/rollup-win32-ia32-msvc': 4.18.0 '@rollup/rollup-win32-x64-msvc': 4.18.0 fsevents: 2.3.3 - dev: true /rollup@4.6.1: resolution: {integrity: sha512-jZHaZotEHQaHLgKr8JnQiDT1rmatjgKlMekyksz+yk9jt/8z9quNjnKNRoaM0wd9DC2QKXjmWWuDYtM3jfF8pQ==} @@ -25698,15 +25357,6 @@ packages: ajv-keywords: 3.5.2(ajv@6.12.6) dev: false - /schema-utils@3.3.0: - resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==} - engines: {node: '>= 10.13.0'} - dependencies: - '@types/json-schema': 7.0.12 - ajv: 6.12.6 - ajv-keywords: 3.5.2(ajv@6.12.6) - dev: true - /scroll-into-view-if-needed@3.0.10: resolution: {integrity: sha512-t44QCeDKAPf1mtQH3fYpWz8IM/DyvHLjs8wUvvwMYxk5moOqCzrMSxK6HQVD0QVmVjXFavoFIPRVrMuJPKAvtg==} dependencies: @@ -25793,7 +25443,6 @@ packages: hasBin: true dependencies: lru-cache: 6.0.0 - dev: true /send@0.18.0(supports-color@6.1.0): resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==} @@ -27127,31 +26776,6 @@ packages: - bluebird dev: false - /terser-webpack-plugin@5.3.9(esbuild@0.18.20)(webpack@5.88.1): - resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==} - engines: {node: '>= 10.13.0'} - peerDependencies: - '@swc/core': '*' - esbuild: '*' - uglify-js: '*' - webpack: ^5.1.0 - peerDependenciesMeta: - '@swc/core': - optional: true - esbuild: - optional: true - uglify-js: - optional: true - dependencies: - '@jridgewell/trace-mapping': 0.3.18 - esbuild: 0.18.20 - jest-worker: 27.5.1 - schema-utils: 3.3.0 - serialize-javascript: 6.0.1 - terser: 5.18.2 - webpack: 5.88.1(esbuild@0.18.20) - dev: true - /terser@4.8.1: resolution: {integrity: sha512-4GnLC0x667eJG0ewJTa6z/yXrbLGv80D9Ru6HIpCQmO+Q4PfEtBFi0ObSckqwL6VyQv/7ENJieXHo2ANmdQwgw==} engines: {node: '>=6.0.0'} @@ -27458,7 +27082,6 @@ packages: /tslib@2.6.3: resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} - dev: true /tsup@7.2.0: resolution: {integrity: sha512-vDHlczXbgUvY3rWvqFEbSqmC1L7woozbzngMqTtL2PGBODTtWlRwGDDawhvWzr5c1QjKe4OAKqJGfE1xeXUvtQ==} @@ -27484,7 +27107,7 @@ packages: execa: 5.1.1 globby: 11.1.0 joycon: 3.1.1 - postcss-load-config: 4.0.1(postcss@8.4.24) + postcss-load-config: 4.0.1(postcss@8.4.35) resolve-from: 5.0.0 rollup: 3.28.1 source-map: 0.8.0-beta.0 @@ -27727,7 +27350,6 @@ packages: resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} engines: {node: '>=14.17'} hasBin: true - dev: true /typescript@5.3.3: resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} @@ -27772,13 +27394,6 @@ packages: has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 - /unbzip2-stream@1.4.3: - resolution: {integrity: sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==} - dependencies: - buffer: 5.7.1 - through: 2.3.8 - dev: true - /unicode-canonical-property-names-ecmascript@2.0.0: resolution: {integrity: sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==} engines: {node: '>=4'} @@ -28596,14 +28211,6 @@ packages: - supports-color dev: false - /watchpack@2.4.0: - resolution: {integrity: sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==} - engines: {node: '>=10.13.0'} - dependencies: - glob-to-regexp: 0.4.1 - graceful-fs: 4.2.11 - dev: true - /wbuf@1.7.3: resolution: {integrity: sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==} dependencies: @@ -28738,11 +28345,6 @@ packages: source-map: 0.6.1 dev: false - /webpack-sources@3.2.3: - resolution: {integrity: sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==} - engines: {node: '>=10.13.0'} - dev: true - /webpack@4.43.0: resolution: {integrity: sha512-GW1LjnPipFW2Y78OOab8NJlCflB7EFskMih2AHdvjbpKMeDJqEgSx24cXXXiPS65+WSwVyxtDsJH6jGX2czy+g==} engines: {node: '>=6.11.5'} @@ -28783,46 +28385,6 @@ packages: - supports-color dev: false - /webpack@5.88.1(esbuild@0.18.20): - resolution: {integrity: sha512-FROX3TxQnC/ox4N+3xQoWZzvGXSuscxR32rbzjpXgEzWudJFEJBpdlkkob2ylrv5yzzufD1zph1OoFsLtm6stQ==} - engines: {node: '>=10.13.0'} - hasBin: true - peerDependencies: - webpack-cli: '*' - peerDependenciesMeta: - webpack-cli: - optional: true - dependencies: - '@types/eslint-scope': 3.7.4 - '@types/estree': 1.0.1 - '@webassemblyjs/ast': 1.11.6 - '@webassemblyjs/wasm-edit': 1.11.6 - '@webassemblyjs/wasm-parser': 1.11.6 - acorn: 8.10.0 - acorn-import-assertions: 1.9.0(acorn@8.10.0) - browserslist: 4.21.9 - chrome-trace-event: 1.0.3 - enhanced-resolve: 5.15.0 - es-module-lexer: 1.3.0 - eslint-scope: 5.1.1 - events: 3.3.0 - glob-to-regexp: 0.4.1 - graceful-fs: 4.2.11 - json-parse-even-better-errors: 2.3.1 - loader-runner: 4.3.0 - mime-types: 2.1.35 - neo-async: 2.6.2 - schema-utils: 3.3.0 - tapable: 2.2.1 - terser-webpack-plugin: 5.3.9(esbuild@0.18.20)(webpack@5.88.1) - watchpack: 2.4.0 - webpack-sources: 3.2.3 - transitivePeerDependencies: - - '@swc/core' - - esbuild - - uglify-js - dev: true - /websocket-driver@0.6.5: resolution: {integrity: sha512-oBx6ZM1Gs5q2jwZuSN/Qxyy/fbgomV8+vqsmipaPKB/74hjHlKuM07jNmRhn4qa2AdUwsgxrltq+gaPsHgcl0Q==} engines: {node: '>=0.6.0'} @@ -29121,19 +28683,6 @@ packages: optional: true dev: true - /ws@8.5.0: - resolution: {integrity: sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==} - engines: {node: '>=10.0.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - dev: true - /xcode@3.0.1: resolution: {integrity: sha512-kCz5k7J7XbJtjABOvkc5lJmkiDh8VhjVCGNiqdKCscmVpdVUpEAyXv1xmCLkQJ5dsHqx3IPO4XW+NTDhU/fatA==} engines: {node: '>=10.0.0'} @@ -29329,13 +28878,6 @@ packages: yargs-parser: 21.1.1 dev: true - /yauzl@2.10.0: - resolution: {integrity: sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==} - dependencies: - buffer-crc32: 0.2.13 - fd-slicer: 1.1.0 - dev: true - /yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} diff --git a/scripts/getBuildConfig.js b/scripts/getBuildConfig.js deleted file mode 100644 index ae809ff7f..000000000 --- a/scripts/getBuildConfig.js +++ /dev/null @@ -1,110 +0,0 @@ -/* eslint-env node */ -const fs = require('fs'); -const {babel} = require('@rollup/plugin-babel'); -const commonjs = require('@rollup/plugin-commonjs'); -const resolve = require('@rollup/plugin-node-resolve'); -const replace = require('@rollup/plugin-replace'); -const terser = require('@rollup/plugin-terser'); -const execa = require('execa'); - -const extensions = [...resolve.DEFAULTS.extensions, '.tsx']; - -const outDir = 'dist/'; - -function writeEnvIndex(input) { - Object.keys(input).forEach((key) => { - fs.writeFileSync( - `./${outDir}${key}.js`, - `'use strict'; - -if (process.env.NODE_ENV === 'production') { - module.exports = require('./production/${key}.js'); -} else { - module.exports = require('./development/${key}.js'); -} -` - ); - }); -} - -async function buildTypes() { - await execa( - 'tsc', - '--noEmit false --emitDeclarationOnly true --outDir dist/types'.split(' ') - ); - // eslint-disable-next-line no-console - console.log('\ncreated types'); -} - -module.exports = function getConfig({ - env, - external = [], - input, - output, - plugins = [], - ...rest -}) { - /** @type import('rollup').RollupOptions */ - const config = { - input, - external: [/node_modules/, ...external], - output: { - dir: outDir + env, - format: 'cjs', - interop: 'auto', - freeze: false, - esModule: true, - exports: 'named', - ...output - }, - treeshake: { - moduleSideEffects: false, - preset: 'smallest', - propertyReadSideEffects: false - }, - plugins: [ - resolve({extensions}), - commonjs(), - babel({ - babelHelpers: 'bundled', - extensions, - presets: [ - '@babel/preset-typescript', - '@babel/preset-react', - [ - '@babel/preset-env', - { - targets: { - // Same as https://nextjs.org/docs/architecture/supported-browsers#browserslist - browsers: [ - 'chrome 64', - 'edge 79', - 'firefox 67', - 'opera 51', - 'safari 12' - ] - } - } - ] - ] - }), - replace({ - 'process.env.NODE_ENV': JSON.stringify(env), - preventAssignment: true - }), - env !== 'development' && terser(), - { - buildEnd() { - if (env === 'production') { - writeEnvIndex(input); - buildTypes(); - } - } - }, - ...plugins - ], - ...rest - }; - - return config; -}; From c455f1ec589048ec2ebfb1e17874f4fb2d3839cc Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Tue, 11 Jun 2024 14:07:00 +0200 Subject: [PATCH 04/19] Add prod/dev export conditions, remove `.react-client.tsx` suffix --- packages/next-intl/package.json | 28 +++++++++++++++++++ .../src/{index.react-client.tsx => index.tsx} | 0 ...gation.react-client.tsx => navigation.tsx} | 0 .../{server.react-client.tsx => server.tsx} | 0 .../react-client/ClientLink.test.tsx | 2 +- .../react-client/useBasePathname.test.tsx | 2 +- .../test/react-client/useFormatter.test.tsx | 5 +--- .../test/react-client/useLocale.test.tsx | 2 +- .../test/react-client/useNow.test.tsx | 2 +- .../test/react-client/useTimeZone.test.tsx | 5 +--- .../react-client/useTranslations.test.tsx | 5 +--- .../test/server/react-client/index.test.tsx | 2 +- .../shared/NextIntlClientProvider.test.tsx | 5 +--- 13 files changed, 37 insertions(+), 21 deletions(-) rename packages/next-intl/src/{index.react-client.tsx => index.tsx} (100%) rename packages/next-intl/src/{navigation.react-client.tsx => navigation.tsx} (100%) rename packages/next-intl/src/{server.react-client.tsx => server.tsx} (100%) diff --git a/packages/next-intl/package.json b/packages/next-intl/package.json index a7056f4e0..4717debea 100644 --- a/packages/next-intl/package.json +++ b/packages/next-intl/package.json @@ -34,10 +34,14 @@ "react-server": "./dist/index.react-server.mjs", "import": { "types": "./dist/index.d.mts", + "production": "./dist/index.production.mjs", + "development": "./dist/index.development.mjs", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", + "production": "./dist/index.production.js", + "development": "./dist/index.development.js", "default": "./dist/index.js" }, "default": "./dist/index.js" @@ -46,10 +50,14 @@ "react-server": "./dist/server.react-server.mjs", "import": { "types": "./dist/server.d.mts", + "production": "./dist/server.production.mjs", + "development": "./dist/server.development.mjs", "default": "./dist/server.mjs" }, "require": { "types": "./dist/server.d.ts", + "production": "./dist/server.production.js", + "development": "./dist/server.development.js", "default": "./dist/server.js" }, "default": "./dist/server.js" @@ -57,10 +65,14 @@ "./config": { "import": { "types": "./dist/config.d.mts", + "production": "./dist/config.production.mjs", + "development": "./dist/config.development.mjs", "default": "./dist/config.mjs" }, "require": { "types": "./dist/config.d.ts", + "production": "./dist/config.production.js", + "development": "./dist/config.development.js", "default": "./dist/config.js" }, "default": "./dist/config.js" @@ -68,10 +80,14 @@ "./middleware": { "import": { "types": "./dist/middleware.d.mts", + "production": "./dist/middleware.production.mjs", + "development": "./dist/middleware.development.mjs", "default": "./dist/middleware.mjs" }, "require": { "types": "./dist/middleware.d.ts", + "production": "./dist/middleware.production.js", + "development": "./dist/middleware.development.js", "default": "./dist/middleware.js" }, "default": "./dist/middleware.js" @@ -80,10 +96,14 @@ "react-server": "./dist/navigation.react-server.mjs", "import": { "types": "./dist/navigation.d.mts", + "production": "./dist/navigation.production.mjs", + "development": "./dist/navigation.development.mjs", "default": "./dist/navigation.mjs" }, "require": { "types": "./dist/navigation.d.ts", + "production": "./dist/navigation.production.js", + "development": "./dist/navigation.development.js", "default": "./dist/navigation.js" }, "default": "./dist/navigation.js" @@ -91,10 +111,14 @@ "./routing": { "import": { "types": "./dist/routing.d.mts", + "production": "./dist/routing.production.mjs", + "development": "./dist/routing.development.mjs", "default": "./dist/routing.mjs" }, "require": { "types": "./dist/routing.d.ts", + "production": "./dist/routing.production.js", + "development": "./dist/routing.development.js", "default": "./dist/routing.js" }, "default": "./dist/routing.js" @@ -102,10 +126,14 @@ "./plugin": { "import": { "types": "./dist/plugin.d.mts", + "production": "./dist/plugin.production.mjs", + "development": "./dist/plugin.development.mjs", "default": "./dist/plugin.mjs" }, "require": { "types": "./dist/plugin.d.ts", + "production": "./dist/plugin.production.js", + "development": "./dist/plugin.development.js", "default": "./dist/plugin.js" }, "default": "./dist/plugin.js" diff --git a/packages/next-intl/src/index.react-client.tsx b/packages/next-intl/src/index.tsx similarity index 100% rename from packages/next-intl/src/index.react-client.tsx rename to packages/next-intl/src/index.tsx diff --git a/packages/next-intl/src/navigation.react-client.tsx b/packages/next-intl/src/navigation.tsx similarity index 100% rename from packages/next-intl/src/navigation.react-client.tsx rename to packages/next-intl/src/navigation.tsx diff --git a/packages/next-intl/src/server.react-client.tsx b/packages/next-intl/src/server.tsx similarity index 100% rename from packages/next-intl/src/server.react-client.tsx rename to packages/next-intl/src/server.tsx diff --git a/packages/next-intl/test/navigation/react-client/ClientLink.test.tsx b/packages/next-intl/test/navigation/react-client/ClientLink.test.tsx index c1bfff4e7..b01810cd7 100644 --- a/packages/next-intl/test/navigation/react-client/ClientLink.test.tsx +++ b/packages/next-intl/test/navigation/react-client/ClientLink.test.tsx @@ -2,7 +2,7 @@ import {fireEvent, render, screen} from '@testing-library/react'; import {usePathname, useParams} from 'next/navigation'; import React, {ComponentProps, LegacyRef, forwardRef} from 'react'; import {it, describe, vi, beforeEach, expect} from 'vitest'; -import {NextIntlClientProvider} from '../../../src/index.react-client'; +import {NextIntlClientProvider} from '../../../src'; import ClientLink from '../../../src/navigation/react-client/ClientLink'; import {LocalePrefixConfigVerbose} from '../../../src/routing/types'; diff --git a/packages/next-intl/test/navigation/react-client/useBasePathname.test.tsx b/packages/next-intl/test/navigation/react-client/useBasePathname.test.tsx index ed88d8db0..1156e1e01 100644 --- a/packages/next-intl/test/navigation/react-client/useBasePathname.test.tsx +++ b/packages/next-intl/test/navigation/react-client/useBasePathname.test.tsx @@ -2,7 +2,7 @@ import {render, screen} from '@testing-library/react'; import {usePathname as useNextPathname, useParams} from 'next/navigation'; import React from 'react'; import {it, describe, vi, beforeEach, expect} from 'vitest'; -import {NextIntlClientProvider} from '../../../src/index.react-client'; +import {NextIntlClientProvider} from '../../../src'; import useBasePathname from '../../../src/navigation/react-client/useBasePathname'; vi.mock('next/navigation'); diff --git a/packages/next-intl/test/react-client/useFormatter.test.tsx b/packages/next-intl/test/react-client/useFormatter.test.tsx index 5cc0294fc..265701909 100644 --- a/packages/next-intl/test/react-client/useFormatter.test.tsx +++ b/packages/next-intl/test/react-client/useFormatter.test.tsx @@ -1,10 +1,7 @@ import {render, screen} from '@testing-library/react'; import React from 'react'; import {it, expect} from 'vitest'; -import { - useFormatter, - NextIntlClientProvider -} from '../../src/index.react-client'; +import {useFormatter, NextIntlClientProvider} from '../../src'; function Component() { const format = useFormatter(); diff --git a/packages/next-intl/test/react-client/useLocale.test.tsx b/packages/next-intl/test/react-client/useLocale.test.tsx index dacb9acfa..26fc71c0b 100644 --- a/packages/next-intl/test/react-client/useLocale.test.tsx +++ b/packages/next-intl/test/react-client/useLocale.test.tsx @@ -2,7 +2,7 @@ import {render, screen} from '@testing-library/react'; import {useParams} from 'next/navigation'; import React from 'react'; import {expect, it, vi} from 'vitest'; -import {NextIntlClientProvider, useLocale} from '../../src/index.react-client'; +import {NextIntlClientProvider, useLocale} from '../../src'; vi.mock('next/navigation', () => ({ useParams: vi.fn(() => ({locale: 'en'})) diff --git a/packages/next-intl/test/react-client/useNow.test.tsx b/packages/next-intl/test/react-client/useNow.test.tsx index 3cf9195d0..0546c6976 100644 --- a/packages/next-intl/test/react-client/useNow.test.tsx +++ b/packages/next-intl/test/react-client/useNow.test.tsx @@ -1,7 +1,7 @@ import {render, screen} from '@testing-library/react'; import React from 'react'; import {it} from 'vitest'; -import {useNow, NextIntlClientProvider} from '../../src/index.react-client'; +import {useNow, NextIntlClientProvider} from '../../src'; function Component() { const now = useNow(); diff --git a/packages/next-intl/test/react-client/useTimeZone.test.tsx b/packages/next-intl/test/react-client/useTimeZone.test.tsx index 8273b1f48..3057277bf 100644 --- a/packages/next-intl/test/react-client/useTimeZone.test.tsx +++ b/packages/next-intl/test/react-client/useTimeZone.test.tsx @@ -1,10 +1,7 @@ import {render, screen} from '@testing-library/react'; import React from 'react'; import {it} from 'vitest'; -import { - useTimeZone, - NextIntlClientProvider -} from '../../src/index.react-client'; +import {useTimeZone, NextIntlClientProvider} from '../../src'; function Component() { const timeZone = useTimeZone(); diff --git a/packages/next-intl/test/react-client/useTranslations.test.tsx b/packages/next-intl/test/react-client/useTranslations.test.tsx index 34837a80c..edab637e7 100644 --- a/packages/next-intl/test/react-client/useTranslations.test.tsx +++ b/packages/next-intl/test/react-client/useTranslations.test.tsx @@ -1,10 +1,7 @@ import {render, screen} from '@testing-library/react'; import React from 'react'; import {it, expect, vi} from 'vitest'; -import { - useTranslations, - NextIntlClientProvider -} from '../../src/index.react-client'; +import {useTranslations, NextIntlClientProvider} from '../../src'; function Component() { const t = useTranslations('Component'); diff --git a/packages/next-intl/test/server/react-client/index.test.tsx b/packages/next-intl/test/server/react-client/index.test.tsx index d06439460..b5f62ef4e 100644 --- a/packages/next-intl/test/server/react-client/index.test.tsx +++ b/packages/next-intl/test/server/react-client/index.test.tsx @@ -1,5 +1,5 @@ import {describe, expect, it} from 'vitest'; -import {getRequestConfig} from '../../../src/server.react-client'; +import {getRequestConfig} from '../../../src/server'; describe('getRequestConfig', () => { it('can be called in the outer module closure', () => { diff --git a/packages/next-intl/test/shared/NextIntlClientProvider.test.tsx b/packages/next-intl/test/shared/NextIntlClientProvider.test.tsx index 7bec01194..1da1f675d 100644 --- a/packages/next-intl/test/shared/NextIntlClientProvider.test.tsx +++ b/packages/next-intl/test/shared/NextIntlClientProvider.test.tsx @@ -1,10 +1,7 @@ import {render, screen} from '@testing-library/react'; import React from 'react'; import {it} from 'vitest'; -import { - useTranslations, - NextIntlClientProvider -} from '../../src/index.react-client'; +import {useTranslations, NextIntlClientProvider} from '../../src'; it('can use messages from the provider', () => { function Component() { From 1fe05a9cc6a3749a090484cdef6e30d57ce80818 Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Thu, 13 Jun 2024 15:55:41 +0200 Subject: [PATCH 05/19] clean up package.json, latest bunchee --- package.json | 11 -- packages/next-intl/package.json | 2 +- packages/use-intl/package.json | 2 +- pnpm-lock.yaml | 331 ++++++-------------------------- 4 files changed, 65 insertions(+), 281 deletions(-) diff --git a/package.json b/package.json index 363cf427a..7ad5b1d74 100644 --- a/package.json +++ b/package.json @@ -10,20 +10,9 @@ "publish": "lerna publish" }, "devDependencies": { - "@babel/core": "^7.24.7", - "@babel/preset-env": "^7.24.7", - "@babel/preset-react": "^7.24.7", - "@babel/preset-typescript": "^7.24.7", "@lerna-lite/cli": "^3.5.1", "@lerna-lite/publish": "^3.5.1", - "@rollup/plugin-babel": "^6.0.3", - "@rollup/plugin-commonjs": "^26.0.1", - "@rollup/plugin-node-resolve": "^15.2.1", - "@rollup/plugin-replace": "^5.0.7", - "@rollup/plugin-terser": "^0.4.3", "conventional-changelog-conventionalcommits": "^7.0.0", - "execa": "^9.2.0", - "rollup": "^4.18.0", "turbo": "^2.0.3" }, "packageManager": "pnpm@8.15.0" diff --git a/packages/next-intl/package.json b/packages/next-intl/package.json index 81f0e4e11..d557ee6e5 100644 --- a/packages/next-intl/package.json +++ b/packages/next-intl/package.json @@ -163,7 +163,7 @@ ], "dependencies": { "@formatjs/intl-localematcher": "^0.2.32", - "bunchee": "^5.1.6", + "bunchee": "^5.2.0", "negotiator": "^0.6.3", "use-intl": "workspace:^" }, diff --git a/packages/use-intl/package.json b/packages/use-intl/package.json index cb3e7222d..25d662093 100644 --- a/packages/use-intl/package.json +++ b/packages/use-intl/package.json @@ -100,7 +100,7 @@ "@types/node": "^20.1.2", "@types/react": "^18.3.0", "@types/react-dom": "^18.3.0", - "bunchee": "^5.1.6", + "bunchee": "^5.2.0", "date-fns": "^2.16.1", "eslint": "^8.54.0", "eslint-config-molindo": "^7.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fd8353c42..684333112 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,48 +8,15 @@ importers: .: devDependencies: - '@babel/core': - specifier: ^7.24.7 - version: 7.24.7 - '@babel/preset-env': - specifier: ^7.24.7 - version: 7.24.7(@babel/core@7.24.7) - '@babel/preset-react': - specifier: ^7.24.7 - version: 7.24.7(@babel/core@7.24.7) - '@babel/preset-typescript': - specifier: ^7.24.7 - version: 7.24.7(@babel/core@7.24.7) '@lerna-lite/cli': specifier: ^3.5.1 version: 3.5.1(@lerna-lite/publish@3.5.1)(@lerna-lite/version@3.5.1) '@lerna-lite/publish': specifier: ^3.5.1 version: 3.5.1 - '@rollup/plugin-babel': - specifier: ^6.0.3 - version: 6.0.4(@babel/core@7.24.7)(rollup@4.18.0) - '@rollup/plugin-commonjs': - specifier: ^26.0.1 - version: 26.0.1(rollup@4.18.0) - '@rollup/plugin-node-resolve': - specifier: ^15.2.1 - version: 15.2.3(rollup@4.18.0) - '@rollup/plugin-replace': - specifier: ^5.0.7 - version: 5.0.7(rollup@4.18.0) - '@rollup/plugin-terser': - specifier: ^0.4.3 - version: 0.4.4(rollup@4.18.0) conventional-changelog-conventionalcommits: specifier: ^7.0.0 version: 7.0.2 - execa: - specifier: ^9.2.0 - version: 9.2.0 - rollup: - specifier: ^4.18.0 - version: 4.18.0 turbo: specifier: ^2.0.3 version: 2.0.3 @@ -79,7 +46,7 @@ importers: version: 2.2.0 next: specifier: ^14.2.3 - version: 14.2.3(@babel/core@7.24.7)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + version: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) nextra: specifier: ^2.13.2 version: 2.13.2(next@14.2.3)(react-dom@18.3.0)(react@18.3.0) @@ -195,7 +162,7 @@ importers: dependencies: next: specifier: ^14.2.3 - version: 14.2.3(@babel/core@7.24.7)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + version: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) next-intl: specifier: latest version: link:../../packages/next-intl @@ -232,7 +199,7 @@ importers: dependencies: next: specifier: ^14.2.3 - version: 14.2.3(@babel/core@7.24.7)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + version: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) next-intl: specifier: latest version: link:../../packages/next-intl @@ -278,7 +245,7 @@ importers: dependencies: next: specifier: ^14.2.3 - version: 14.2.3(@babel/core@7.24.7)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + version: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) next-auth: specifier: ^4.24.4 version: 4.24.4(next@14.2.3)(react-dom@18.3.0)(react@18.3.0) @@ -388,7 +355,7 @@ importers: dependencies: next: specifier: ^14.2.1 - version: 14.2.3(@babel/core@7.24.7)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + version: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) next-intl: specifier: latest version: link:../../packages/next-intl @@ -431,7 +398,7 @@ importers: version: 2.16.1 next: specifier: ^14.2.3 - version: 14.2.3(@babel/core@7.24.7)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + version: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) next-intl: specifier: latest version: link:../../packages/next-intl @@ -639,7 +606,7 @@ importers: specifier: ^0.2.32 version: 0.2.32 bunchee: - specifier: ^5.1.6 + specifier: ^5.2.0 version: 5.2.0(typescript@5.2.2) negotiator: specifier: ^0.6.3 @@ -683,7 +650,7 @@ importers: version: 1.4.1(eslint@8.54.0)(typescript@5.2.2) next: specifier: ^14.2.3 - version: 14.2.3(@babel/core@7.24.7)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + version: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) path-to-regexp: specifier: ^6.2.1 version: 6.2.1 @@ -734,7 +701,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 bunchee: - specifier: ^5.1.6 + specifier: ^5.2.0 version: 5.2.0(typescript@5.2.2) date-fns: specifier: ^2.16.1 @@ -3501,28 +3468,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: false - /@babel/plugin-transform-react-display-name@7.24.7(@babel/core@7.24.7): - resolution: {integrity: sha512-H/Snz9PFxKsS1JLI4dJLtnJgCJRoo0AUm3chP6NYr+9En1JMKloheEiLIhlp5MDVznWo+H3AAC1Mc8lmUEpsgg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.7 - '@babel/helper-plugin-utils': 7.24.7 - dev: true - - /@babel/plugin-transform-react-jsx-development@7.24.7(@babel/core@7.24.7): - resolution: {integrity: sha512-QG9EnzoGn+Qar7rxuW+ZOsbWOt56FvvI93xInqsZDC5fsekx1AlIO4KIJ5M+D0p0SqSH156EpmZyXq630B8OlQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.7 - '@babel/plugin-transform-react-jsx': 7.24.7(@babel/core@7.24.7) - transitivePeerDependencies: - - supports-color - dev: true - /@babel/plugin-transform-react-jsx-self@7.21.0(@babel/core@7.21.8): resolution: {integrity: sha512-f/Eq+79JEu+KUANFks9UZCcvydOOGMgF7jBrcwjHa5jTZD8JivnhCJYvmlhR/WTXBWonDExPoW0eO/CR4QJirA==} engines: {node: '>=6.9.0'} @@ -3593,33 +3538,6 @@ packages: - supports-color dev: false - /@babel/plugin-transform-react-jsx@7.24.7(@babel/core@7.24.7): - resolution: {integrity: sha512-+Dj06GDZEFRYvclU6k4bme55GKBEWUmByM/eoKuqg4zTNQHiApWRhQph5fxQB2wAEFvRzL1tOEj1RJ19wJrhoA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.7 - '@babel/helper-annotate-as-pure': 7.24.7 - '@babel/helper-module-imports': 7.24.7 - '@babel/helper-plugin-utils': 7.24.7 - '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.24.7) - '@babel/types': 7.24.7 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/plugin-transform-react-pure-annotations@7.24.7(@babel/core@7.24.7): - resolution: {integrity: sha512-PLgBVk3fzbmEjBJ/u8kFzOqS9tUeDjiaWud/rRym/yjCo/M9cASPlnrd2ZmmZpQT40fOOrvR8jh+n8jikrOhNA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.7 - '@babel/helper-annotate-as-pure': 7.24.7 - '@babel/helper-plugin-utils': 7.24.7 - dev: true - /@babel/plugin-transform-regenerator@7.24.7(@babel/core@7.21.8): resolution: {integrity: sha512-lq3fvXPdimDrlg6LWBoqj+r/DEWgONuwjuOuQCSYgRroXDH/IdM1C0IZf59fL5cHLpjEH/O6opIRBbqv7ELnuA==} engines: {node: '>=6.9.0'} @@ -4052,7 +3970,7 @@ packages: babel-plugin-polyfill-corejs2: 0.4.11(@babel/core@7.21.8) babel-plugin-polyfill-corejs3: 0.10.4(@babel/core@7.21.8) babel-plugin-polyfill-regenerator: 0.6.2(@babel/core@7.21.8) - core-js-compat: 3.31.0 + core-js-compat: 3.37.1 semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -4184,23 +4102,6 @@ packages: esutils: 2.0.3 dev: true - /@babel/preset-react@7.24.7(@babel/core@7.24.7): - resolution: {integrity: sha512-AAH4lEkpmzFWrGVlHaxJB7RLH21uPQ9+He+eFLWHmF9IuFQVugz8eAsamaW0DXRrTfco5zj1wWtpdcXJUOfsag==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.7 - '@babel/helper-plugin-utils': 7.24.7 - '@babel/helper-validator-option': 7.24.7 - '@babel/plugin-transform-react-display-name': 7.24.7(@babel/core@7.24.7) - '@babel/plugin-transform-react-jsx': 7.24.7(@babel/core@7.24.7) - '@babel/plugin-transform-react-jsx-development': 7.24.7(@babel/core@7.24.7) - '@babel/plugin-transform-react-pure-annotations': 7.24.7(@babel/core@7.24.7) - transitivePeerDependencies: - - supports-color - dev: true - /@babel/preset-typescript@7.24.7(@babel/core@7.21.8): resolution: {integrity: sha512-SyXRe3OdWwIwalxDg5UtJnJQO+YPcTfwiIY2B0Xlddh9o7jpWLvv8X1RthIeDOxQ+O1ML5BLPCONToObyVQVuQ==} engines: {node: '>=6.9.0'} @@ -6536,13 +6437,6 @@ packages: resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} engines: {node: '>=6.0.0'} - /@jridgewell/source-map@0.3.5: - resolution: {integrity: sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==} - dependencies: - '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.18 - dev: true - /@jridgewell/sourcemap-codec@1.4.14: resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} @@ -7668,25 +7562,6 @@ packages: dependencies: web-streams-polyfill: 3.2.1 - /@rollup/plugin-babel@6.0.4(@babel/core@7.24.7)(rollup@4.18.0): - resolution: {integrity: sha512-YF7Y52kFdFT/xVSuVdjkV5ZdX/3YtmX0QulG+x0taQOtJdHYzVU61aSSkAgVJ7NOv6qPkIYiJSgSWWN/DM5sGw==} - engines: {node: '>=14.0.0'} - peerDependencies: - '@babel/core': ^7.0.0 - '@types/babel__core': ^7.1.9 - rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 - peerDependenciesMeta: - '@types/babel__core': - optional: true - rollup: - optional: true - dependencies: - '@babel/core': 7.24.7 - '@babel/helper-module-imports': 7.22.5 - '@rollup/pluginutils': 5.0.5(rollup@4.18.0) - rollup: 4.18.0 - dev: true - /@rollup/plugin-commonjs@25.0.8(rollup@4.18.0): resolution: {integrity: sha512-ZEZWTK5n6Qde0to4vS9Mr5x/0UZoqCxPVR9KRUjU4kA2sO7GEUn1fop0DAwpO6z0Nw/kJON9bDmSxdWxO/TT1A==} engines: {node: '>=14.0.0'} @@ -7704,24 +7579,6 @@ packages: magic-string: 0.30.10 rollup: 4.18.0 - /@rollup/plugin-commonjs@26.0.1(rollup@4.18.0): - resolution: {integrity: sha512-UnsKoZK6/aGIH6AdkptXhNvhaqftcjq3zZdT+LY5Ftms6JR06nADcDsYp5hTU9E2lbJUEOhdlY5J4DNTneM+jQ==} - engines: {node: '>=16.0.0 || 14 >= 14.17'} - peerDependencies: - rollup: ^2.68.0||^3.0.0||^4.0.0 - peerDependenciesMeta: - rollup: - optional: true - dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.18.0) - commondir: 1.0.1 - estree-walker: 2.0.2 - glob: 10.4.1 - is-reference: 1.2.1 - magic-string: 0.30.10 - rollup: 4.18.0 - dev: true - /@rollup/plugin-json@6.1.0(rollup@4.18.0): resolution: {integrity: sha512-EGI2te5ENk1coGeADSIwZ7G2Q8CJS2sF120T7jLw4xFw9n7wIOXHo+kIYRAoVpJAN+kmqZSoO3Fp4JtoNF4ReA==} engines: {node: '>=14.0.0'} @@ -7743,12 +7600,12 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.5(rollup@4.18.0) + '@rollup/pluginutils': 5.1.0(rollup@4.18.0) '@types/resolve': 1.20.2 deepmerge: 4.3.1 is-builtin-module: 3.2.1 is-module: 1.0.0 - resolve: 1.22.2 + resolve: 1.22.8 rollup: 4.18.0 /@rollup/plugin-replace@5.0.7(rollup@4.18.0): @@ -7764,21 +7621,6 @@ packages: magic-string: 0.30.10 rollup: 4.18.0 - /@rollup/plugin-terser@0.4.4(rollup@4.18.0): - resolution: {integrity: sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A==} - engines: {node: '>=14.0.0'} - peerDependencies: - rollup: ^2.0.0||^3.0.0||^4.0.0 - peerDependenciesMeta: - rollup: - optional: true - dependencies: - rollup: 4.18.0 - serialize-javascript: 6.0.1 - smob: 1.4.1 - terser: 5.18.2 - dev: true - /@rollup/plugin-wasm@6.2.2(rollup@4.18.0): resolution: {integrity: sha512-gpC4R1G9Ni92ZIRTexqbhX7U+9estZrbhP+9SRb0DW9xpB9g7j34r+J2hqrcW/lRI7dJaU84MxZM0Rt82tqYPQ==} engines: {node: '>=14.0.0'} @@ -7799,20 +7641,6 @@ packages: picomatch: 2.3.1 dev: true - /@rollup/pluginutils@5.0.5(rollup@4.18.0): - resolution: {integrity: sha512-6aEYR910NyP73oHiJglti74iRyOwgFU4x3meH/H8OJx6Ry0j6cOVZ5X/wTvub7G7Ao6qaHBEaNsV3GLJkSsF+Q==} - engines: {node: '>=14.0.0'} - peerDependencies: - rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 - peerDependenciesMeta: - rollup: - optional: true - dependencies: - '@types/estree': 1.0.5 - estree-walker: 2.0.2 - picomatch: 2.3.1 - rollup: 4.18.0 - /@rollup/pluginutils@5.1.0(rollup@4.18.0): resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} engines: {node: '>=14.0.0'} @@ -8035,11 +7863,6 @@ packages: engines: {node: '>=18'} dev: true - /@sindresorhus/merge-streams@4.0.0: - resolution: {integrity: sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==} - engines: {node: '>=18'} - dev: true - /@sinonjs/commons@2.0.0: resolution: {integrity: sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==} dependencies: @@ -11362,6 +11185,7 @@ packages: /commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + dev: false /commander@4.1.1: resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} @@ -14481,24 +14305,6 @@ packages: strip-final-newline: 3.0.0 dev: true - /execa@9.2.0: - resolution: {integrity: sha512-vpOyYg7UAVKLAWWtRS2gAdgkT7oJbCn0me3gmUmxZih4kd3MF/oo8kNTBTIbkO3yuuF5uB4ZCZfn8BOolITYhg==} - engines: {node: ^18.19.0 || >=20.5.0} - dependencies: - '@sindresorhus/merge-streams': 4.0.0 - cross-spawn: 7.0.3 - figures: 6.1.0 - get-stream: 9.0.1 - human-signals: 7.0.0 - is-plain-obj: 4.1.0 - is-stream: 4.0.1 - npm-run-path: 5.3.0 - pretty-ms: 9.0.0 - signal-exit: 4.1.0 - strip-final-newline: 4.0.0 - yoctocolors: 2.0.2 - dev: true - /exit-hook@2.2.1: resolution: {integrity: sha512-eNTPlAD67BmP31LDINZ3U7HSF8l57TxOY2PmBJ1shpCvpnxBF93mWCE8YHBnXs8qiUZJc9WDcWIeC3a2HIAMfw==} engines: {node: '>=6'} @@ -14908,13 +14714,6 @@ packages: escape-string-regexp: 1.0.5 dev: true - /figures@6.1.0: - resolution: {integrity: sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==} - engines: {node: '>=18'} - dependencies: - is-unicode-supported: 2.0.0 - dev: true - /file-entry-cache@6.0.1: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} engines: {node: ^10.12.0 || >=12.0.0} @@ -16379,11 +16178,6 @@ packages: engines: {node: '>=16.17.0'} dev: true - /human-signals@7.0.0: - resolution: {integrity: sha512-74kytxOUSvNbjrT9KisAbaTZ/eJwD/LrbM/kh5j0IhPuJzwuA19dWvniFGwBzN9rVjg+O/e+F310PjObDXS+9Q==} - engines: {node: '>=18.18.0'} - dev: true - /hyphenate-style-name@1.0.4: resolution: {integrity: sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ==} dev: false @@ -19967,7 +19761,7 @@ packages: '@panva/hkdf': 1.1.1 cookie: 0.5.0 jose: 4.14.4 - next: 14.2.3(@babel/core@7.24.7)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + next: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) oauth: 0.9.15 openid-client: 5.4.2 preact: 10.13.2 @@ -20001,7 +19795,7 @@ packages: react: '>=16.0.0' react-dom: '>=16.0.0' dependencies: - next: 14.2.3(@babel/core@7.24.7)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + next: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) react: 18.3.0 react-dom: 18.3.0(react@18.3.0) dev: false @@ -20017,7 +19811,7 @@ packages: '@corex/deepmerge': 4.0.43 '@next/env': 14.2.4 minimist: 1.2.8 - next: 14.2.3(@babel/core@7.24.7)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + next: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) dev: true /next-themes@0.2.1(next@14.2.3)(react-dom@18.3.0)(react@18.3.0): @@ -20027,7 +19821,7 @@ packages: react: '*' react-dom: '*' dependencies: - next: 14.2.3(@babel/core@7.24.7)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + next: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) react: 18.3.0 react-dom: 18.3.0(react@18.3.0) dev: false @@ -20073,6 +19867,49 @@ packages: transitivePeerDependencies: - '@babel/core' - babel-plugin-macros + dev: false + + /next@14.2.3(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0): + resolution: {integrity: sha512-dowFkFTR8v79NPJO4QsBUtxv0g9BrS/phluVpMAt2ku7H+cbcBJlopXjkWlwxrk/xGqMemr7JkGPGemPrLLX7A==} + engines: {node: '>=18.17.0'} + hasBin: true + peerDependencies: + '@opentelemetry/api': ^1.1.0 + '@playwright/test': ^1.41.2 + react: ^18.2.0 + react-dom: ^18.2.0 + sass: ^1.3.0 + peerDependenciesMeta: + '@opentelemetry/api': + optional: true + '@playwright/test': + optional: true + sass: + optional: true + dependencies: + '@next/env': 14.2.3 + '@playwright/test': 1.43.1 + '@swc/helpers': 0.5.5 + busboy: 1.6.0 + caniuse-lite: 1.0.30001579 + graceful-fs: 4.2.11 + postcss: 8.4.31 + react: 18.3.0 + react-dom: 18.3.0(react@18.3.0) + styled-jsx: 5.1.1(@babel/core@7.24.7)(react@18.3.0) + optionalDependencies: + '@next/swc-darwin-arm64': 14.2.3 + '@next/swc-darwin-x64': 14.2.3 + '@next/swc-linux-arm64-gnu': 14.2.3 + '@next/swc-linux-arm64-musl': 14.2.3 + '@next/swc-linux-x64-gnu': 14.2.3 + '@next/swc-linux-x64-musl': 14.2.3 + '@next/swc-win32-arm64-msvc': 14.2.3 + '@next/swc-win32-ia32-msvc': 14.2.3 + '@next/swc-win32-x64-msvc': 14.2.3 + transitivePeerDependencies: + - '@babel/core' + - babel-plugin-macros /nextra-theme-docs@2.13.2(next@14.2.3)(nextra@2.13.2)(react-dom@18.3.0)(react@18.3.0): resolution: {integrity: sha512-yE4umXaImp1/kf/sFciPj2+EFrNSwd9Db26hi98sIIiujzGf3+9eUgAz45vF9CwBw50FSXxm1QGRcY+slQ4xQQ==} @@ -20091,7 +19928,7 @@ packages: git-url-parse: 13.1.0 intersection-observer: 0.12.2 match-sorter: 6.3.1 - next: 14.2.3(@babel/core@7.24.7)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + next: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) next-seo: 6.0.0(next@14.2.3)(react-dom@18.3.0)(react@18.3.0) next-themes: 0.2.1(next@14.2.3)(react-dom@18.3.0)(react@18.3.0) nextra: 2.13.2(next@14.2.3)(react-dom@18.3.0)(react@18.3.0) @@ -20121,7 +19958,7 @@ packages: gray-matter: 4.0.3 katex: 0.16.9 lodash.get: 4.4.2 - next: 14.2.3(@babel/core@7.24.7)(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) + next: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) next-mdx-remote: 4.4.1(react-dom@18.3.0)(react@18.3.0) p-limit: 3.1.0 react: 18.3.0 @@ -21098,11 +20935,6 @@ packages: engines: {node: '>=6'} dev: true - /parse-ms@4.0.0: - resolution: {integrity: sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==} - engines: {node: '>=18'} - dev: true - /parse-numeric-range@1.3.0: resolution: {integrity: sha512-twN+njEipszzlMJd4ONUYgSfZPDxgHhT9Ahed5uTigpQn90FggW4SA/AIPq/6a149fTbE9qBEcSwE3FAEp6wQQ==} dev: false @@ -22220,13 +22052,6 @@ packages: parse-ms: 2.1.0 dev: true - /pretty-ms@9.0.0: - resolution: {integrity: sha512-E9e9HJ9R9NasGOgPaPE8VMeiPKAyWR5jcFpNnwIejslIhWqdqOrb2wShBsncMPUb+BcCd2OPYfh7p2W6oemTng==} - engines: {node: '>=18'} - dependencies: - parse-ms: 4.0.0 - dev: true - /proc-log@3.0.0: resolution: {integrity: sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -22460,6 +22285,7 @@ packages: resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} dependencies: safe-buffer: 5.2.1 + dev: false /randomfill@1.0.4: resolution: {integrity: sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==} @@ -23662,12 +23488,6 @@ packages: randombytes: 2.1.0 dev: false - /serialize-javascript@6.0.1: - resolution: {integrity: sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==} - dependencies: - randombytes: 2.1.0 - dev: true - /serve-index@1.9.1(supports-color@6.1.0): resolution: {integrity: sha512-pXHfKNP4qujrtteMrSBb0rc8HJ9Ms/GrXwcUtUtD5s4ewDJI8bT3Cz2zTVRMKtri49pLx2e0Ya8ziP5Ya2pZZw==} engines: {node: '>= 0.8.0'} @@ -23933,10 +23753,6 @@ packages: engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} dev: true - /smob@1.4.1: - resolution: {integrity: sha512-9LK+E7Hv5R9u4g4C3p+jjLstaLe11MDsL21UpYaCNmapvMkYhqCV4A/f/3gyH8QjMyh6l68q9xC85vihY9ahMQ==} - dev: true - /snapdragon-node@2.1.1: resolution: {integrity: sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==} engines: {node: '>=0.10.0'} @@ -24467,11 +24283,6 @@ packages: engines: {node: '>=12'} dev: true - /strip-final-newline@4.0.0: - resolution: {integrity: sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==} - engines: {node: '>=18'} - dev: true - /strip-indent@3.0.0: resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} engines: {node: '>=8'} @@ -24992,17 +24803,6 @@ packages: source-map-support: 0.5.21 dev: false - /terser@5.18.2: - resolution: {integrity: sha512-Ah19JS86ypbJzTzvUCX7KOsEIhDaRONungA4aYBjEP3JZRf4ocuDzTg4QWZnPn9DEMiMYGJPiSOy7aykoCc70w==} - engines: {node: '>=10'} - hasBin: true - dependencies: - '@jridgewell/source-map': 0.3.5 - acorn: 8.10.0 - commander: 2.20.3 - source-map-support: 0.5.21 - dev: true - /test-exclude@6.0.0: resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} engines: {node: '>=8'} @@ -26977,11 +26777,6 @@ packages: engines: {node: '>=12.20'} dev: true - /yoctocolors@2.0.2: - resolution: {integrity: sha512-Ct97huExsu7cWeEjmrXlofevF8CvzUglJ4iGUet5B8xn1oumtAZBpHU4GzYuoE6PVqcZ5hghtBrSlhwHuR1Jmw==} - engines: {node: '>=18'} - dev: true - /zod@3.22.4: resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==} dev: false From 2438cd160be64d2aba6cc3876cc645a3797538e9 Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Thu, 13 Jun 2024 17:23:30 +0200 Subject: [PATCH 06/19] Restructure for shared runtime in rsc. Also unify code paths for getTranslations -> getTranslator --- .../navigation/react-server/ServerLink.tsx | 2 +- .../createLocalizedPathnamesNavigation.tsx | 2 +- .../src/navigation/react-server/redirects.tsx | 2 +- .../NextIntlClientProviderServer.tsx | 6 +++++- .../next-intl/src/react-server/useConfig.tsx | 2 +- .../src/react-server/useMessages.tsx | 2 +- .../src/react-server/useTranslations.tsx | 4 ++-- .../runtimes/react-server.shared-runtime.tsx | 3 +++ .../react-server/RequestLocale.tsx | 0 .../react-server/createRequestConfig.tsx | 0 .../react-server/getConfig.tsx | 0 .../react-server/getFormatter.tsx | 0 .../react-server/getLocale.tsx | 0 .../react-server/getMessageFormatCache.tsx | 8 ++++++++ .../react-server/getMessages.tsx | 0 .../react-server/getNow.tsx | 0 .../react-server/getRequestConfig.tsx | 0 .../react-server/getTimeZone.tsx | 0 .../react-server/getTranslations.tsx | 11 ++--------- .../react-server/getTranslator.tsx | 2 +- .../src/runtimes/react-server/index.tsx | 11 +++++++++++ .../src/server/react-server/index.tsx | 19 ++++++++++--------- .../src/shared/messageFormatCache.tsx | 6 ------ ...reateLocalizedPathnamesNavigation.test.tsx | 2 +- .../createSharedPathnamesNavigation.test.tsx | 2 +- 25 files changed, 49 insertions(+), 35 deletions(-) create mode 100644 packages/next-intl/src/runtimes/react-server.shared-runtime.tsx rename packages/next-intl/src/{server => runtimes}/react-server/RequestLocale.tsx (100%) rename packages/next-intl/src/{server => runtimes}/react-server/createRequestConfig.tsx (100%) rename packages/next-intl/src/{server => runtimes}/react-server/getConfig.tsx (100%) rename packages/next-intl/src/{server => runtimes}/react-server/getFormatter.tsx (100%) rename packages/next-intl/src/{server => runtimes}/react-server/getLocale.tsx (100%) create mode 100644 packages/next-intl/src/runtimes/react-server/getMessageFormatCache.tsx rename packages/next-intl/src/{server => runtimes}/react-server/getMessages.tsx (100%) rename packages/next-intl/src/{server => runtimes}/react-server/getNow.tsx (100%) rename packages/next-intl/src/{server => runtimes}/react-server/getRequestConfig.tsx (100%) rename packages/next-intl/src/{server => runtimes}/react-server/getTimeZone.tsx (100%) rename packages/next-intl/src/{server => runtimes}/react-server/getTranslations.tsx (95%) rename packages/next-intl/src/{ => runtimes}/react-server/getTranslator.tsx (97%) create mode 100644 packages/next-intl/src/runtimes/react-server/index.tsx delete mode 100644 packages/next-intl/src/shared/messageFormatCache.tsx diff --git a/packages/next-intl/src/navigation/react-server/ServerLink.tsx b/packages/next-intl/src/navigation/react-server/ServerLink.tsx index c254a6c39..b4ea73a0e 100644 --- a/packages/next-intl/src/navigation/react-server/ServerLink.tsx +++ b/packages/next-intl/src/navigation/react-server/ServerLink.tsx @@ -1,6 +1,6 @@ import React, {ComponentProps} from 'react'; import {Locales, LocalePrefixConfigVerbose} from '../../routing/types'; -import {getLocale} from '../../server.react-server'; +import {getLocale} from '../../runtimes/react-server.shared-runtime'; import {getLocalePrefix} from '../../shared/utils'; import BaseLink from '../shared/BaseLink'; diff --git a/packages/next-intl/src/navigation/react-server/createLocalizedPathnamesNavigation.tsx b/packages/next-intl/src/navigation/react-server/createLocalizedPathnamesNavigation.tsx index b34c72a34..229cebeab 100644 --- a/packages/next-intl/src/navigation/react-server/createLocalizedPathnamesNavigation.tsx +++ b/packages/next-intl/src/navigation/react-server/createLocalizedPathnamesNavigation.tsx @@ -1,6 +1,6 @@ import React, {ComponentProps} from 'react'; import {Locales, Pathnames} from '../../routing/types'; -import {getRequestLocale} from '../../server/react-server/RequestLocale'; +import {getRequestLocale} from '../../runtimes/react-server.shared-runtime'; import {ParametersExceptFirst} from '../../shared/types'; import { LocalizedNavigationRoutingConfigInput, diff --git a/packages/next-intl/src/navigation/react-server/redirects.tsx b/packages/next-intl/src/navigation/react-server/redirects.tsx index 435e5dfa9..3fc93a1e0 100644 --- a/packages/next-intl/src/navigation/react-server/redirects.tsx +++ b/packages/next-intl/src/navigation/react-server/redirects.tsx @@ -1,4 +1,4 @@ -import {getRequestLocale} from '../../server/react-server/RequestLocale'; +import {getRequestLocale} from '../../runtimes/react-server.shared-runtime'; import {ParametersExceptFirst} from '../../shared/types'; import {baseRedirect, basePermanentRedirect} from '../shared/redirects'; diff --git a/packages/next-intl/src/react-server/NextIntlClientProviderServer.tsx b/packages/next-intl/src/react-server/NextIntlClientProviderServer.tsx index 941187dcc..27bf5bbd8 100644 --- a/packages/next-intl/src/react-server/NextIntlClientProviderServer.tsx +++ b/packages/next-intl/src/react-server/NextIntlClientProviderServer.tsx @@ -1,5 +1,9 @@ import React, {ComponentProps} from 'react'; -import {getLocale, getNow, getTimeZone} from '../server.react-server'; +import { + getLocale, + getNow, + getTimeZone +} from '../runtimes/react-server.shared-runtime'; import BaseNextIntlClientProvider from '../shared/NextIntlClientProvider'; type Props = ComponentProps; diff --git a/packages/next-intl/src/react-server/useConfig.tsx b/packages/next-intl/src/react-server/useConfig.tsx index 2731c730d..c60fe4d5a 100644 --- a/packages/next-intl/src/react-server/useConfig.tsx +++ b/packages/next-intl/src/react-server/useConfig.tsx @@ -1,5 +1,5 @@ import {use} from 'react'; -import getConfig from '../server/react-server/getConfig'; +import {getConfig} from '../runtimes/react-server.shared-runtime'; function useHook(hookName: string, promise: Promise) { try { diff --git a/packages/next-intl/src/react-server/useMessages.tsx b/packages/next-intl/src/react-server/useMessages.tsx index 8dff17598..7b3e2a3cb 100644 --- a/packages/next-intl/src/react-server/useMessages.tsx +++ b/packages/next-intl/src/react-server/useMessages.tsx @@ -1,5 +1,5 @@ import type {useMessages as useMessagesType} from 'use-intl'; -import {getMessagesFromConfig} from '../server/react-server/getMessages'; +import {getMessagesFromConfig} from '../runtimes/react-server'; import useConfig from './useConfig'; export default function useMessages( diff --git a/packages/next-intl/src/react-server/useTranslations.tsx b/packages/next-intl/src/react-server/useTranslations.tsx index ebf7b613c..9e2b41e4a 100644 --- a/packages/next-intl/src/react-server/useTranslations.tsx +++ b/packages/next-intl/src/react-server/useTranslations.tsx @@ -1,10 +1,10 @@ import type {useTranslations as useTranslationsType} from 'use-intl'; -import getBaseTranslator from './getTranslator'; +import {getTranslator} from '../runtimes/react-server'; import useConfig from './useConfig'; export default function useTranslations( ...[namespace]: Parameters ): ReturnType { const config = useConfig('useTranslations'); - return getBaseTranslator(config, namespace); + return getTranslator(config, namespace); } diff --git a/packages/next-intl/src/runtimes/react-server.shared-runtime.tsx b/packages/next-intl/src/runtimes/react-server.shared-runtime.tsx new file mode 100644 index 000000000..eefe416c8 --- /dev/null +++ b/packages/next-intl/src/runtimes/react-server.shared-runtime.tsx @@ -0,0 +1,3 @@ +// This entry point needs to be shared to enable caching and code sharing +// across `next-intl/server` (react-server) and `next-intl` (react-server) +export * from './react-server'; diff --git a/packages/next-intl/src/server/react-server/RequestLocale.tsx b/packages/next-intl/src/runtimes/react-server/RequestLocale.tsx similarity index 100% rename from packages/next-intl/src/server/react-server/RequestLocale.tsx rename to packages/next-intl/src/runtimes/react-server/RequestLocale.tsx diff --git a/packages/next-intl/src/server/react-server/createRequestConfig.tsx b/packages/next-intl/src/runtimes/react-server/createRequestConfig.tsx similarity index 100% rename from packages/next-intl/src/server/react-server/createRequestConfig.tsx rename to packages/next-intl/src/runtimes/react-server/createRequestConfig.tsx diff --git a/packages/next-intl/src/server/react-server/getConfig.tsx b/packages/next-intl/src/runtimes/react-server/getConfig.tsx similarity index 100% rename from packages/next-intl/src/server/react-server/getConfig.tsx rename to packages/next-intl/src/runtimes/react-server/getConfig.tsx diff --git a/packages/next-intl/src/server/react-server/getFormatter.tsx b/packages/next-intl/src/runtimes/react-server/getFormatter.tsx similarity index 100% rename from packages/next-intl/src/server/react-server/getFormatter.tsx rename to packages/next-intl/src/runtimes/react-server/getFormatter.tsx diff --git a/packages/next-intl/src/server/react-server/getLocale.tsx b/packages/next-intl/src/runtimes/react-server/getLocale.tsx similarity index 100% rename from packages/next-intl/src/server/react-server/getLocale.tsx rename to packages/next-intl/src/runtimes/react-server/getLocale.tsx diff --git a/packages/next-intl/src/runtimes/react-server/getMessageFormatCache.tsx b/packages/next-intl/src/runtimes/react-server/getMessageFormatCache.tsx new file mode 100644 index 000000000..34955425a --- /dev/null +++ b/packages/next-intl/src/runtimes/react-server/getMessageFormatCache.tsx @@ -0,0 +1,8 @@ +import {cache} from 'react'; + +function getMessageFormatCacheImpl() { + return new Map(); +} +const getMessageFormatCache = cache(getMessageFormatCacheImpl); + +export default getMessageFormatCache; diff --git a/packages/next-intl/src/server/react-server/getMessages.tsx b/packages/next-intl/src/runtimes/react-server/getMessages.tsx similarity index 100% rename from packages/next-intl/src/server/react-server/getMessages.tsx rename to packages/next-intl/src/runtimes/react-server/getMessages.tsx diff --git a/packages/next-intl/src/server/react-server/getNow.tsx b/packages/next-intl/src/runtimes/react-server/getNow.tsx similarity index 100% rename from packages/next-intl/src/server/react-server/getNow.tsx rename to packages/next-intl/src/runtimes/react-server/getNow.tsx diff --git a/packages/next-intl/src/server/react-server/getRequestConfig.tsx b/packages/next-intl/src/runtimes/react-server/getRequestConfig.tsx similarity index 100% rename from packages/next-intl/src/server/react-server/getRequestConfig.tsx rename to packages/next-intl/src/runtimes/react-server/getRequestConfig.tsx diff --git a/packages/next-intl/src/server/react-server/getTimeZone.tsx b/packages/next-intl/src/runtimes/react-server/getTimeZone.tsx similarity index 100% rename from packages/next-intl/src/server/react-server/getTimeZone.tsx rename to packages/next-intl/src/runtimes/react-server/getTimeZone.tsx diff --git a/packages/next-intl/src/server/react-server/getTranslations.tsx b/packages/next-intl/src/runtimes/react-server/getTranslations.tsx similarity index 95% rename from packages/next-intl/src/server/react-server/getTranslations.tsx rename to packages/next-intl/src/runtimes/react-server/getTranslations.tsx index 27a05cc09..1448addfe 100644 --- a/packages/next-intl/src/server/react-server/getTranslations.tsx +++ b/packages/next-intl/src/runtimes/react-server/getTranslations.tsx @@ -1,6 +1,5 @@ import {ReactElement, ReactNodeArray, cache} from 'react'; import { - createTranslator, Formats, TranslationValues, MessageKeys, @@ -10,8 +9,8 @@ import { RichTranslationValues, MarkupTranslationValues } from 'use-intl/core'; -import {getMessageFormatCache} from '../../shared/messageFormatCache'; import getConfig from './getConfig'; +import getTranslator from './getTranslator'; // Maintainer note: `getTranslations` has two different call signatures. // We need to define these with function overloads, otherwise TypeScript @@ -212,13 +211,7 @@ async function getTranslations< } const config = await getConfig(locale); - - return createTranslator({ - ...config, - messageFormatCache: getMessageFormatCache(), - namespace, - messages: config.messages - }); + return getTranslator(config, namespace); } export default cache(getTranslations); diff --git a/packages/next-intl/src/react-server/getTranslator.tsx b/packages/next-intl/src/runtimes/react-server/getTranslator.tsx similarity index 97% rename from packages/next-intl/src/react-server/getTranslator.tsx rename to packages/next-intl/src/runtimes/react-server/getTranslator.tsx index b0c89b895..b65440aa9 100644 --- a/packages/next-intl/src/react-server/getTranslator.tsx +++ b/packages/next-intl/src/runtimes/react-server/getTranslator.tsx @@ -10,7 +10,7 @@ import { createTranslator, MarkupTranslationValues } from 'use-intl/core'; -import {getMessageFormatCache} from '../shared/messageFormatCache'; +import getMessageFormatCache from './getMessageFormatCache'; function getTranslatorImpl< NestedKey extends NamespaceKeys< diff --git a/packages/next-intl/src/runtimes/react-server/index.tsx b/packages/next-intl/src/runtimes/react-server/index.tsx new file mode 100644 index 000000000..dbee0142d --- /dev/null +++ b/packages/next-intl/src/runtimes/react-server/index.tsx @@ -0,0 +1,11 @@ +export {default as getConfig} from './getConfig'; +export {setRequestLocale, getRequestLocale} from './RequestLocale'; +export {default as getRequestConfig} from './getRequestConfig'; + +export {default as getFormatter} from './getFormatter'; +export {default as getNow} from './getNow'; +export {default as getTimeZone} from './getTimeZone'; +export {default as getTranslations} from './getTranslations'; +export {default as getTranslator} from './getTranslator'; +export {default as getMessages, getMessagesFromConfig} from './getMessages'; +export {default as getLocale} from './getLocale'; diff --git a/packages/next-intl/src/server/react-server/index.tsx b/packages/next-intl/src/server/react-server/index.tsx index c3d85a3ea..23617a376 100644 --- a/packages/next-intl/src/server/react-server/index.tsx +++ b/packages/next-intl/src/server/react-server/index.tsx @@ -2,12 +2,13 @@ * Server-only APIs available via `next-intl/server`. */ -export {default as getRequestConfig} from './getRequestConfig'; -export {default as getFormatter} from './getFormatter'; -export {default as getNow} from './getNow'; -export {default as getTimeZone} from './getTimeZone'; -export {default as getTranslations} from './getTranslations'; -export {default as getMessages} from './getMessages'; -export {default as getLocale} from './getLocale'; - -export {setRequestLocale as unstable_setRequestLocale} from './RequestLocale'; +export { + setRequestLocale as unstable_setRequestLocale, + getRequestConfig, + getFormatter, + getNow, + getTimeZone, + getTranslations, + getMessages, + getLocale +} from '../../runtimes/react-server.shared-runtime'; diff --git a/packages/next-intl/src/shared/messageFormatCache.tsx b/packages/next-intl/src/shared/messageFormatCache.tsx deleted file mode 100644 index dd123a57f..000000000 --- a/packages/next-intl/src/shared/messageFormatCache.tsx +++ /dev/null @@ -1,6 +0,0 @@ -import {cache} from 'react'; - -function getMessageFormatCacheImpl() { - return new Map(); -} -export const getMessageFormatCache = cache(getMessageFormatCacheImpl); diff --git a/packages/next-intl/test/navigation/createLocalizedPathnamesNavigation.test.tsx b/packages/next-intl/test/navigation/createLocalizedPathnamesNavigation.test.tsx index 7372aaac3..3ad4e71e4 100644 --- a/packages/next-intl/test/navigation/createLocalizedPathnamesNavigation.test.tsx +++ b/packages/next-intl/test/navigation/createLocalizedPathnamesNavigation.test.tsx @@ -13,7 +13,7 @@ import createLocalizedPathnamesNavigationClient from '../../src/navigation/react import createLocalizedPathnamesNavigationServer from '../../src/navigation/react-server/createLocalizedPathnamesNavigation'; import BaseLink from '../../src/navigation/shared/BaseLink'; import {Pathnames} from '../../src/routing'; -import {getRequestLocale} from '../../src/server/react-server/RequestLocale'; +import {getRequestLocale} from '../../src/runtimes/react-server.shared-runtime'; import {getLocalePrefix} from '../../src/shared/utils'; vi.mock('next/navigation', async () => { diff --git a/packages/next-intl/test/navigation/createSharedPathnamesNavigation.test.tsx b/packages/next-intl/test/navigation/createSharedPathnamesNavigation.test.tsx index a21bb9ff8..5d0f2012b 100644 --- a/packages/next-intl/test/navigation/createSharedPathnamesNavigation.test.tsx +++ b/packages/next-intl/test/navigation/createSharedPathnamesNavigation.test.tsx @@ -12,7 +12,7 @@ import {it, describe, vi, expect, beforeEach} from 'vitest'; import createSharedPathnamesNavigationClient from '../../src/navigation/react-client/createSharedPathnamesNavigation'; import createSharedPathnamesNavigationServer from '../../src/navigation/react-server/createSharedPathnamesNavigation'; import BaseLink from '../../src/navigation/shared/BaseLink'; -import {getRequestLocale} from '../../src/server/react-server/RequestLocale'; +import {getRequestLocale} from '../../src/runtimes/react-server.shared-runtime'; import {getLocalePrefix} from '../../src/shared/utils'; vi.mock('next/navigation', async () => { From a989aaad48d23266842e4079511962d0e2b04061 Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Thu, 13 Jun 2024 17:34:22 +0200 Subject: [PATCH 07/19] More colocation --- .../react-client/useBasePathname.tsx | 7 +- .../navigation/react-client/useBaseRouter.tsx | 4 +- .../src/navigation/shared/BaseLink.tsx | 2 +- .../src/navigation/shared/redirects.tsx | 3 +- .../next-intl/src/navigation/shared/utils.tsx | 87 ++++++++++++++++++- packages/next-intl/src/shared/utils.tsx | 86 ------------------ .../test/navigation/shared/utils.test.tsx | 39 ++++++++- packages/next-intl/test/shared/utils.test.tsx | 42 +-------- 8 files changed, 132 insertions(+), 138 deletions(-) diff --git a/packages/next-intl/src/navigation/react-client/useBasePathname.tsx b/packages/next-intl/src/navigation/react-client/useBasePathname.tsx index 8a6806d94..dc5f1e6f2 100644 --- a/packages/next-intl/src/navigation/react-client/useBasePathname.tsx +++ b/packages/next-intl/src/navigation/react-client/useBasePathname.tsx @@ -2,11 +2,8 @@ import {usePathname as useNextPathname} from 'next/navigation'; import {useMemo} from 'react'; import useLocale from '../../react-client/useLocale'; import {Locales, LocalePrefixConfigVerbose} from '../../routing/types'; -import { - getLocalePrefix, - hasPathnamePrefixed, - unprefixPathname -} from '../../shared/utils'; +import {getLocalePrefix} from '../../shared/utils'; +import {hasPathnamePrefixed, unprefixPathname} from '../shared/utils'; /** * Returns the pathname without a potential locale prefix. diff --git a/packages/next-intl/src/navigation/react-client/useBaseRouter.tsx b/packages/next-intl/src/navigation/react-client/useBaseRouter.tsx index 9be7e2f49..f13199a7e 100644 --- a/packages/next-intl/src/navigation/react-client/useBaseRouter.tsx +++ b/packages/next-intl/src/navigation/react-client/useBaseRouter.tsx @@ -2,9 +2,9 @@ import {useRouter as useNextRouter, usePathname} from 'next/navigation'; import {useMemo} from 'react'; import useLocale from '../../react-client/useLocale'; import {Locales, LocalePrefixConfigVerbose} from '../../routing/types'; -import {getLocalePrefix, localizeHref} from '../../shared/utils'; +import {getLocalePrefix} from '../../shared/utils'; import syncLocaleCookie from '../shared/syncLocaleCookie'; -import {getBasePath} from '../shared/utils'; +import {getBasePath, localizeHref} from '../shared/utils'; type IntlNavigateOptions = { locale?: AppLocales[number]; diff --git a/packages/next-intl/src/navigation/shared/BaseLink.tsx b/packages/next-intl/src/navigation/shared/BaseLink.tsx index 1d5fafb2f..c959016fc 100644 --- a/packages/next-intl/src/navigation/shared/BaseLink.tsx +++ b/packages/next-intl/src/navigation/shared/BaseLink.tsx @@ -11,8 +11,8 @@ import React, { } from 'react'; import useLocale from '../../react-client/useLocale'; import {LocalePrefixMode} from '../../routing/types'; -import {isLocalizableHref, localizeHref, prefixHref} from '../../shared/utils'; import syncLocaleCookie from './syncLocaleCookie'; +import {isLocalizableHref, localizeHref, prefixHref} from './utils'; type Props = Omit, 'locale'> & { locale: string; diff --git a/packages/next-intl/src/navigation/shared/redirects.tsx b/packages/next-intl/src/navigation/shared/redirects.tsx index dc199e081..ca81247fa 100644 --- a/packages/next-intl/src/navigation/shared/redirects.tsx +++ b/packages/next-intl/src/navigation/shared/redirects.tsx @@ -4,7 +4,8 @@ import { } from 'next/navigation'; import {Locales, LocalePrefixConfigVerbose} from '../../routing/types'; import {ParametersExceptFirst} from '../../shared/types'; -import {getLocalePrefix, isLocalHref, prefixPathname} from '../../shared/utils'; +import {getLocalePrefix, prefixPathname} from '../../shared/utils'; +import {isLocalHref} from './utils'; function createRedirectFn(redirectFn: typeof nextRedirect) { return function baseRedirect( diff --git a/packages/next-intl/src/navigation/shared/utils.tsx b/packages/next-intl/src/navigation/shared/utils.tsx index ecbf98a26..bbd44a40b 100644 --- a/packages/next-intl/src/navigation/shared/utils.tsx +++ b/packages/next-intl/src/navigation/shared/utils.tsx @@ -1,7 +1,9 @@ import type {ParsedUrlQueryInput} from 'node:querystring'; import type {UrlObject} from 'url'; +import NextLink from 'next/link'; +import {ComponentProps} from 'react'; import {Locales, Pathnames} from '../../routing/types'; -import {matchesPathname} from '../../shared/utils'; +import {matchesPathname, prefixPathname} from '../../shared/utils'; import StrictParams from './StrictParams'; type SearchParamValue = ParsedUrlQueryInput[keyof ParsedUrlQueryInput]; @@ -186,3 +188,86 @@ export function getBasePath( return windowPathname.replace(pathname, ''); } } + +type Href = ComponentProps['href']; + +function isRelativeHref(href: Href) { + const pathname = typeof href === 'object' ? href.pathname : href; + return pathname != null && !pathname.startsWith('/'); +} + +export function isLocalHref(href: Href) { + if (typeof href === 'object') { + return href.host == null && href.hostname == null; + } else { + const hasProtocol = /^[a-z]+:/i.test(href); + return !hasProtocol; + } +} + +export function isLocalizableHref(href: Href) { + return isLocalHref(href) && !isRelativeHref(href); +} + +export function localizeHref( + href: string, + locale: string, + curLocale: string, + curPathname: string, + prefix: string +): string; +export function localizeHref( + href: UrlObject | string, + locale: string, + curLocale: string, + curPathname: string, + prefix: string +): UrlObject | string; +export function localizeHref( + href: UrlObject | string, + locale: string, + curLocale: string = locale, + curPathname: string, + prefix: string +) { + if (!isLocalizableHref(href)) { + return href; + } + + const isSwitchingLocale = locale !== curLocale; + const isPathnamePrefixed = hasPathnamePrefixed(prefix, curPathname); + const shouldPrefix = isSwitchingLocale || isPathnamePrefixed; + + if (shouldPrefix && prefix != null) { + return prefixHref(href, prefix); + } + + return href; +} + +export function prefixHref(href: string, prefix: string): string; +export function prefixHref( + href: UrlObject | string, + prefix: string +): UrlObject | string; +export function prefixHref(href: UrlObject | string, prefix: string) { + let prefixedHref; + if (typeof href === 'string') { + prefixedHref = prefixPathname(prefix, href); + } else { + prefixedHref = {...href}; + if (href.pathname) { + prefixedHref.pathname = prefixPathname(prefix, href.pathname); + } + } + + return prefixedHref; +} + +export function unprefixPathname(pathname: string, prefix: string) { + return pathname.replace(new RegExp(`^${prefix}`), '') || '/'; +} + +export function hasPathnamePrefixed(prefix: string, pathname: string) { + return pathname === prefix || pathname.startsWith(`${prefix}/`); +} diff --git a/packages/next-intl/src/shared/utils.tsx b/packages/next-intl/src/shared/utils.tsx index ba362dd40..54ba3ce5b 100644 --- a/packages/next-intl/src/shared/utils.tsx +++ b/packages/next-intl/src/shared/utils.tsx @@ -1,87 +1,5 @@ -import {UrlObject} from 'url'; -import NextLink from 'next/link'; -import {ComponentProps} from 'react'; import {Locales, LocalePrefixConfigVerbose} from '../routing/types'; -type Href = ComponentProps['href']; - -export function isRelativeHref(href: Href) { - const pathname = typeof href === 'object' ? href.pathname : href; - return pathname != null && !pathname.startsWith('/'); -} - -export function isLocalHref(href: Href) { - if (typeof href === 'object') { - return href.host == null && href.hostname == null; - } else { - const hasProtocol = /^[a-z]+:/i.test(href); - return !hasProtocol; - } -} - -export function isLocalizableHref(href: Href) { - return isLocalHref(href) && !isRelativeHref(href); -} - -export function localizeHref( - href: string, - locale: string, - curLocale: string, - curPathname: string, - prefix: string -): string; -export function localizeHref( - href: UrlObject | string, - locale: string, - curLocale: string, - curPathname: string, - prefix: string -): UrlObject | string; -export function localizeHref( - href: UrlObject | string, - locale: string, - curLocale: string = locale, - curPathname: string, - prefix: string -) { - if (!isLocalizableHref(href)) { - return href; - } - - const isSwitchingLocale = locale !== curLocale; - const isPathnamePrefixed = hasPathnamePrefixed(prefix, curPathname); - const shouldPrefix = isSwitchingLocale || isPathnamePrefixed; - - if (shouldPrefix && prefix != null) { - return prefixHref(href, prefix); - } - - return href; -} - -export function prefixHref(href: string, prefix: string): string; -export function prefixHref( - href: UrlObject | string, - prefix: string -): UrlObject | string; -export function prefixHref(href: UrlObject | string, prefix: string) { - let prefixedHref; - if (typeof href === 'string') { - prefixedHref = prefixPathname(prefix, href); - } else { - prefixedHref = {...href}; - if (href.pathname) { - prefixedHref.pathname = prefixPathname(prefix, href.pathname); - } - } - - return prefixedHref; -} - -export function unprefixPathname(pathname: string, prefix: string) { - return pathname.replace(new RegExp(`^${prefix}`), '') || '/'; -} - export function prefixPathname(prefix: string, pathname: string) { let localizedHref = prefix; @@ -95,10 +13,6 @@ export function prefixPathname(prefix: string, pathname: string) { return localizedHref; } -export function hasPathnamePrefixed(prefix: string, pathname: string) { - return pathname === prefix || pathname.startsWith(`${prefix}/`); -} - export function matchesPathname( /** E.g. `/users/[userId]-[userName]` */ template: string, diff --git a/packages/next-intl/test/navigation/shared/utils.test.tsx b/packages/next-intl/test/navigation/shared/utils.test.tsx index 65e5819dc..515b15f26 100644 --- a/packages/next-intl/test/navigation/shared/utils.test.tsx +++ b/packages/next-intl/test/navigation/shared/utils.test.tsx @@ -2,7 +2,9 @@ import {describe, expect, it} from 'vitest'; import { compileLocalizedPathname, getBasePath, - serializeSearchParams + serializeSearchParams, + hasPathnamePrefixed, + unprefixPathname } from '../../../src/navigation/shared/utils'; describe('serializeSearchParams', () => { @@ -61,3 +63,38 @@ describe('getBasePath', () => { expect(getBasePath('/about', '/base/about')).toBe('/base'); }); }); + +describe('hasPathnamePrefixed', () => { + it('detects prefixed pathnames', () => { + expect(hasPathnamePrefixed('/en', '/en')).toEqual(true); + expect(hasPathnamePrefixed('/en', '/en/')).toEqual(true); + expect(hasPathnamePrefixed('/en', '/en/client')).toEqual(true); + expect(hasPathnamePrefixed('/en', '/en/client/')).toEqual(true); + expect(hasPathnamePrefixed('/en', '/en/client/test')).toEqual(true); + }); + + it('detects non-prefixed pathnames', () => { + expect(hasPathnamePrefixed('/en', '/')).toEqual(false); + expect(hasPathnamePrefixed('/en', '/client')).toEqual(false); + expect(hasPathnamePrefixed('/en', '/client/')).toEqual(false); + expect(hasPathnamePrefixed('/en', '/client/test')).toEqual(false); + }); +}); + +describe('unlocalizePathname', () => { + it('works for the root', () => { + expect(unprefixPathname('/en', '/en')).toEqual('/'); + }); + + it('works for nested pages', () => { + expect(unprefixPathname('/en/nested', '/en')).toEqual('/nested'); + }); + + it('works with sub-tags', () => { + expect(unprefixPathname('/en-GB/nested', '/en-GB')).toEqual('/nested'); + }); + + it('works for custom prefixes', () => { + expect(unprefixPathname('/uk/nested', '/uk')).toEqual('/nested'); + }); +}); diff --git a/packages/next-intl/test/shared/utils.test.tsx b/packages/next-intl/test/shared/utils.test.tsx index 284ba65a3..a2dbd3042 100644 --- a/packages/next-intl/test/shared/utils.test.tsx +++ b/packages/next-intl/test/shared/utils.test.tsx @@ -1,10 +1,5 @@ import {it, describe, expect} from 'vitest'; -import { - hasPathnamePrefixed, - unprefixPathname, - matchesPathname, - prefixPathname -} from '../../src/shared/utils'; +import {matchesPathname, prefixPathname} from '../../src/shared/utils'; describe('prefixPathname', () => { it("doesn't add trailing slashes for the root", () => { @@ -20,41 +15,6 @@ describe('prefixPathname', () => { }); }); -describe('hasPathnamePrefixed', () => { - it('detects prefixed pathnames', () => { - expect(hasPathnamePrefixed('/en', '/en')).toEqual(true); - expect(hasPathnamePrefixed('/en', '/en/')).toEqual(true); - expect(hasPathnamePrefixed('/en', '/en/client')).toEqual(true); - expect(hasPathnamePrefixed('/en', '/en/client/')).toEqual(true); - expect(hasPathnamePrefixed('/en', '/en/client/test')).toEqual(true); - }); - - it('detects non-prefixed pathnames', () => { - expect(hasPathnamePrefixed('/en', '/')).toEqual(false); - expect(hasPathnamePrefixed('/en', '/client')).toEqual(false); - expect(hasPathnamePrefixed('/en', '/client/')).toEqual(false); - expect(hasPathnamePrefixed('/en', '/client/test')).toEqual(false); - }); -}); - -describe('unlocalizePathname', () => { - it('works for the root', () => { - expect(unprefixPathname('/en', '/en')).toEqual('/'); - }); - - it('works for nested pages', () => { - expect(unprefixPathname('/en/nested', '/en')).toEqual('/nested'); - }); - - it('works with sub-tags', () => { - expect(unprefixPathname('/en-GB/nested', '/en-GB')).toEqual('/nested'); - }); - - it('works for custom prefixes', () => { - expect(unprefixPathname('/uk/nested', '/uk')).toEqual('/nested'); - }); -}); - describe('matchesPathname', () => { it('returns true for matching paths', () => { expect( From da90d76196b2b5422f680379c75c5bab34fbfa36 Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Thu, 13 Jun 2024 18:25:01 +0200 Subject: [PATCH 08/19] you can do it bunchee --- packages/next-intl/src/navigation/index.tsx | 1 + packages/next-intl/src/runtimes/react-server/RequestLocale.tsx | 2 +- packages/next-intl/src/server/index.tsx | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 packages/next-intl/src/navigation/index.tsx create mode 100644 packages/next-intl/src/server/index.tsx diff --git a/packages/next-intl/src/navigation/index.tsx b/packages/next-intl/src/navigation/index.tsx new file mode 100644 index 000000000..fe897989c --- /dev/null +++ b/packages/next-intl/src/navigation/index.tsx @@ -0,0 +1 @@ +export * from './react-client/index'; diff --git a/packages/next-intl/src/runtimes/react-server/RequestLocale.tsx b/packages/next-intl/src/runtimes/react-server/RequestLocale.tsx index 970bb4de5..7a6adffb8 100644 --- a/packages/next-intl/src/runtimes/react-server/RequestLocale.tsx +++ b/packages/next-intl/src/runtimes/react-server/RequestLocale.tsx @@ -35,7 +35,7 @@ function getLocaleFromHeaderImpl() { } const getLocaleFromHeader = cache(getLocaleFromHeaderImpl); -// Workaround until `createServerContext` is available +// https://github.com/vercel/next.js/discussions/58862 function getCacheImpl() { const value: {locale?: string} = {locale: undefined}; return value; diff --git a/packages/next-intl/src/server/index.tsx b/packages/next-intl/src/server/index.tsx new file mode 100644 index 000000000..fe897989c --- /dev/null +++ b/packages/next-intl/src/server/index.tsx @@ -0,0 +1 @@ +export * from './react-client/index'; From 5be09303668ad4c8452f6e91d0f81b4d7d2a92b9 Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Thu, 13 Jun 2024 18:56:56 +0200 Subject: [PATCH 09/19] some fixes --- packages/next-intl/src/server/react-client/index.tsx | 10 ++++------ .../createSharedPathnamesNavigation.test.tsx | 2 +- packages/next-intl/test/react-server/index.test.tsx | 4 ++-- .../test/react-server/useTranslations.test.tsx | 4 ++-- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/packages/next-intl/src/server/react-client/index.tsx b/packages/next-intl/src/server/react-client/index.tsx index b703f5a15..147b8a25f 100644 --- a/packages/next-intl/src/server/react-client/index.tsx +++ b/packages/next-intl/src/server/react-client/index.tsx @@ -5,6 +5,7 @@ import type { getTimeZone as getTimeZone_type, getMessages as getMessages_type, getLocale as getLocale_type, + getTranslations as getTranslations_type, unstable_setRequestLocale as unstable_setRequestLocale_type } from '../react-server'; @@ -39,12 +40,9 @@ export const getMessages = notSupported( 'getMessages' ) as typeof getMessages_type; export const getLocale = notSupported('getLocale') as typeof getLocale_type; - -// The type of `getTranslations` is not assigned here because it -// causes a type error. The types use the `react-server` entry -// anyway, therefore this is irrelevant. -// TODO: Validate if this is still the case -export const getTranslations = notSupported('getTranslations'); +export const getTranslations = notSupported( + 'getTranslations' +) as typeof getTranslations_type; export const unstable_setRequestLocale = notSupported( 'unstable_setRequestLocale' diff --git a/packages/next-intl/test/navigation/createSharedPathnamesNavigation.test.tsx b/packages/next-intl/test/navigation/createSharedPathnamesNavigation.test.tsx index 5d0f2012b..86f833da6 100644 --- a/packages/next-intl/test/navigation/createSharedPathnamesNavigation.test.tsx +++ b/packages/next-intl/test/navigation/createSharedPathnamesNavigation.test.tsx @@ -47,7 +47,7 @@ vi.mock('../../src/navigation/react-server/ServerLink', () => ({ ); } })); -vi.mock('../../src/server/react-server/RequestLocale', () => ({ +vi.mock('../../src/runtimes/react-server/RequestLocale', () => ({ getRequestLocale: vi.fn(() => 'en') })); diff --git a/packages/next-intl/test/react-server/index.test.tsx b/packages/next-intl/test/react-server/index.test.tsx index b02cad421..26e8e99db 100644 --- a/packages/next-intl/test/react-server/index.test.tsx +++ b/packages/next-intl/test/react-server/index.test.tsx @@ -13,7 +13,7 @@ import {renderToStream} from './utils'; vi.mock('react'); -vi.mock('../../src/server/react-server/createRequestConfig', () => ({ +vi.mock('../../src/runtimes/react-server/createRequestConfig', () => ({ default: async () => ({ messages: { Component: { @@ -26,7 +26,7 @@ vi.mock('../../src/server/react-server/createRequestConfig', () => ({ }) })); -vi.mock('../../src/server/react-server/RequestLocale', () => ({ +vi.mock('../../src/runtimes/react-server/RequestLocale', () => ({ getRequestLocale: vi.fn(() => 'en') })); diff --git a/packages/next-intl/test/react-server/useTranslations.test.tsx b/packages/next-intl/test/react-server/useTranslations.test.tsx index 9c1ab43fa..18af7976c 100644 --- a/packages/next-intl/test/react-server/useTranslations.test.tsx +++ b/packages/next-intl/test/react-server/useTranslations.test.tsx @@ -3,7 +3,7 @@ import {describe, expect, it, vi, beforeEach} from 'vitest'; import {createTranslator, useTranslations} from '../../src/react-server'; import {renderToStream} from './utils'; -vi.mock('../../src/server/react-server/createRequestConfig', () => ({ +vi.mock('../../src/runtimes/react-server/createRequestConfig', () => ({ default: async () => ({ messages: { A: { @@ -19,7 +19,7 @@ vi.mock('../../src/server/react-server/createRequestConfig', () => ({ }) })); -vi.mock('../../src/server/react-server/RequestLocale', () => ({ +vi.mock('../../src/runtimes/react-server/RequestLocale', () => ({ getRequestLocale: vi.fn(() => 'en') })); From 066fae7bf2679821870a57caa7cce6d02b0939fa Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Thu, 13 Jun 2024 20:06:58 +0200 Subject: [PATCH 10/19] Small fixes --- packages/next-intl/package.json | 1 + packages/next-intl/src/plugin.tsx | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/next-intl/package.json b/packages/next-intl/package.json index d557ee6e5..2bb32d59f 100644 --- a/packages/next-intl/package.json +++ b/packages/next-intl/package.json @@ -26,6 +26,7 @@ "postpublish": "git checkout . && rm ./README.md", "size": "size-limit" }, + "type": "commonjs", "main": "./dist/index.js", "module": "./dist/index.mjs", "typings": "./dist/index.d.ts", diff --git a/packages/next-intl/src/plugin.tsx b/packages/next-intl/src/plugin.tsx index 896d9d559..1b02420cc 100644 --- a/packages/next-intl/src/plugin.tsx +++ b/packages/next-intl/src/plugin.tsx @@ -112,9 +112,3 @@ export default function createNextIntlPlugin(i18nPath?: string) { return initPlugin(i18nPath, nextConfig); }; } - -// Compat with CJS default export -if (typeof module !== 'undefined' && module.exports) { - module.exports = createNextIntlPlugin; -} -// todo: necessary? From 65e6b84620fba811b95b98cf4b49198ea50aa6d1 Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Thu, 13 Jun 2024 20:15:18 +0200 Subject: [PATCH 11/19] update node10 types --- packages/next-intl/routing.d.ts | 2 +- packages/next-intl/server.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/next-intl/routing.d.ts b/packages/next-intl/routing.d.ts index 13ee0d973..f7fcd0424 100644 --- a/packages/next-intl/routing.d.ts +++ b/packages/next-intl/routing.d.ts @@ -1 +1 @@ -export * from './dist/types/src/routing'; +export * from './dist/routing'; diff --git a/packages/next-intl/server.d.ts b/packages/next-intl/server.d.ts index e53f54959..699fd532a 100644 --- a/packages/next-intl/server.d.ts +++ b/packages/next-intl/server.d.ts @@ -1 +1 @@ -export * from './dist/types/src/server/react-server'; +export * from './dist/server'; From 1ebc8907c34e0e1ed8f1f0546f76a8ad7f31c0b8 Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Thu, 13 Jun 2024 21:21:06 +0200 Subject: [PATCH 12/19] fix a test --- .../test/navigation/createLocalizedPathnamesNavigation.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next-intl/test/navigation/createLocalizedPathnamesNavigation.test.tsx b/packages/next-intl/test/navigation/createLocalizedPathnamesNavigation.test.tsx index 3ad4e71e4..20c4d1c62 100644 --- a/packages/next-intl/test/navigation/createLocalizedPathnamesNavigation.test.tsx +++ b/packages/next-intl/test/navigation/createLocalizedPathnamesNavigation.test.tsx @@ -48,7 +48,7 @@ vi.mock('../../src/navigation/react-server/ServerLink', () => ({ ); } })); -vi.mock('../../src/server/react-server/RequestLocale', () => ({ +vi.mock('../../src/runtimes/react-server/RequestLocale', () => ({ getRequestLocale: vi.fn(() => 'en') })); From 7ae9de15f4669423ffe36a0b22b4010b929de243 Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Thu, 13 Jun 2024 21:59:38 +0200 Subject: [PATCH 13/19] workaround for bunchee bug and tests passing --- packages/next-intl/package.json | 28 +++++++++---------- .../NextIntlClientProviderServer.test.tsx | 2 +- packages/next-intl/vitest.config.mts | 2 +- packages/use-intl/package.json | 12 ++++---- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/packages/next-intl/package.json b/packages/next-intl/package.json index 787030326..53b030b8c 100644 --- a/packages/next-intl/package.json +++ b/packages/next-intl/package.json @@ -35,14 +35,14 @@ "react-server": "./dist/index.react-server.mjs", "import": { "types": "./dist/index.d.mts", - "production": "./dist/index.production.mjs", "development": "./dist/index.development.mjs", + "production": "./dist/index.production.mjs", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", - "production": "./dist/index.production.js", "development": "./dist/index.development.js", + "production": "./dist/index.production.js", "default": "./dist/index.js" }, "default": "./dist/index.js" @@ -51,14 +51,14 @@ "react-server": "./dist/server.react-server.mjs", "import": { "types": "./dist/server.d.mts", - "production": "./dist/server.production.mjs", "development": "./dist/server.development.mjs", + "production": "./dist/server.production.mjs", "default": "./dist/server.mjs" }, "require": { "types": "./dist/server.d.ts", - "production": "./dist/server.production.js", "development": "./dist/server.development.js", + "production": "./dist/server.production.js", "default": "./dist/server.js" }, "default": "./dist/server.js" @@ -66,14 +66,14 @@ "./config": { "import": { "types": "./dist/config.d.mts", - "production": "./dist/config.production.mjs", "development": "./dist/config.development.mjs", + "production": "./dist/config.production.mjs", "default": "./dist/config.mjs" }, "require": { "types": "./dist/config.d.ts", - "production": "./dist/config.production.js", "development": "./dist/config.development.js", + "production": "./dist/config.production.js", "default": "./dist/config.js" }, "default": "./dist/config.js" @@ -81,14 +81,14 @@ "./middleware": { "import": { "types": "./dist/middleware.d.mts", - "production": "./dist/middleware.production.mjs", "development": "./dist/middleware.development.mjs", + "production": "./dist/middleware.production.mjs", "default": "./dist/middleware.mjs" }, "require": { "types": "./dist/middleware.d.ts", - "production": "./dist/middleware.production.js", "development": "./dist/middleware.development.js", + "production": "./dist/middleware.production.js", "default": "./dist/middleware.js" }, "default": "./dist/middleware.js" @@ -97,14 +97,14 @@ "react-server": "./dist/navigation.react-server.mjs", "import": { "types": "./dist/navigation.d.mts", - "production": "./dist/navigation.production.mjs", "development": "./dist/navigation.development.mjs", + "production": "./dist/navigation.production.mjs", "default": "./dist/navigation.mjs" }, "require": { "types": "./dist/navigation.d.ts", - "production": "./dist/navigation.production.js", "development": "./dist/navigation.development.js", + "production": "./dist/navigation.production.js", "default": "./dist/navigation.js" }, "default": "./dist/navigation.js" @@ -112,14 +112,14 @@ "./routing": { "import": { "types": "./dist/routing.d.mts", - "production": "./dist/routing.production.mjs", "development": "./dist/routing.development.mjs", + "production": "./dist/routing.production.mjs", "default": "./dist/routing.mjs" }, "require": { "types": "./dist/routing.d.ts", - "production": "./dist/routing.production.js", "development": "./dist/routing.development.js", + "production": "./dist/routing.production.js", "default": "./dist/routing.js" }, "default": "./dist/routing.js" @@ -127,14 +127,14 @@ "./plugin": { "import": { "types": "./dist/plugin.d.mts", - "production": "./dist/plugin.production.mjs", "development": "./dist/plugin.development.mjs", + "production": "./dist/plugin.production.mjs", "default": "./dist/plugin.mjs" }, "require": { "types": "./dist/plugin.d.ts", - "production": "./dist/plugin.production.js", "development": "./dist/plugin.development.js", + "production": "./dist/plugin.production.js", "default": "./dist/plugin.js" }, "default": "./dist/plugin.js" diff --git a/packages/next-intl/test/react-server/NextIntlClientProviderServer.test.tsx b/packages/next-intl/test/react-server/NextIntlClientProviderServer.test.tsx index d46a96c27..10d88e01d 100644 --- a/packages/next-intl/test/react-server/NextIntlClientProviderServer.test.tsx +++ b/packages/next-intl/test/react-server/NextIntlClientProviderServer.test.tsx @@ -3,7 +3,7 @@ import NextIntlClientProviderServer from '../../src/react-server/NextIntlClientP import {getLocale, getNow, getTimeZone} from '../../src/server.react-server'; import NextIntlClientProvider from '../../src/shared/NextIntlClientProvider'; -vi.mock('../../src/server/react-server', async () => ({ +vi.mock('../../src/runtimes/react-server.shared-runtime', async () => ({ getLocale: vi.fn(async () => 'en-US'), getNow: vi.fn(async () => new Date('2020-01-01T00:00:00.000Z')), getTimeZone: vi.fn(async () => 'America/New_York') diff --git a/packages/next-intl/vitest.config.mts b/packages/next-intl/vitest.config.mts index fa2763895..f46256486 100644 --- a/packages/next-intl/vitest.config.mts +++ b/packages/next-intl/vitest.config.mts @@ -1,4 +1,4 @@ -import {defineConfig} from 'vitest/config' +import {defineConfig} from 'vitest/config'; export default defineConfig({ test: { diff --git a/packages/use-intl/package.json b/packages/use-intl/package.json index 24922f15b..3c88cf962 100644 --- a/packages/use-intl/package.json +++ b/packages/use-intl/package.json @@ -27,14 +27,14 @@ ".": { "import": { "types": "./dist/index.d.mts", - "production": "./dist/index.production.mjs", "development": "./dist/index.development.mjs", + "production": "./dist/index.production.mjs", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", - "production": "./dist/index.production.js", "development": "./dist/index.development.js", + "production": "./dist/index.production.js", "default": "./dist/index.js" }, "default": "./dist/index.js" @@ -42,14 +42,14 @@ "./core": { "import": { "types": "./dist/core.d.mts", - "production": "./dist/core.production.mjs", "development": "./dist/core.development.mjs", + "production": "./dist/core.production.mjs", "default": "./dist/core.mjs" }, "require": { "types": "./dist/core.d.ts", - "production": "./dist/core.production.js", "development": "./dist/core.development.js", + "production": "./dist/core.production.js", "default": "./dist/core.js" }, "default": "./dist/core.js" @@ -57,14 +57,14 @@ "./react": { "import": { "types": "./dist/react.d.mts", - "production": "./dist/react.production.mjs", "development": "./dist/react.development.mjs", + "production": "./dist/react.production.mjs", "default": "./dist/react.mjs" }, "require": { "types": "./dist/react.d.ts", - "production": "./dist/react.production.js", "development": "./dist/react.development.js", + "production": "./dist/react.production.js", "default": "./dist/react.js" }, "default": "./dist/react.js" From e45dcf6556d7f12040075e01f061ac815ad59a60 Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Wed, 26 Jun 2024 11:16:41 +0200 Subject: [PATCH 14/19] Fix lockfile --- pnpm-lock.yaml | 1194 +++++++----------------------------------------- 1 file changed, 169 insertions(+), 1025 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a55a0d385..daaa958c8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,28 +12,8 @@ importers: specifier: ^3.5.1 version: 3.5.1(@lerna-lite/publish@3.5.2)(@lerna-lite/version@3.5.2) '@lerna-lite/publish': -<<<<<<< HEAD specifier: ^3.5.1 - version: 3.5.1 -======= - specifier: ^3.5.2 version: 3.5.2 - '@rollup/plugin-babel': - specifier: ^6.0.3 - version: 6.0.4(@babel/core@7.24.7)(rollup@4.18.0) - '@rollup/plugin-commonjs': - specifier: ^26.0.1 - version: 26.0.1(rollup@4.18.0) - '@rollup/plugin-node-resolve': - specifier: ^15.2.1 - version: 15.2.3(rollup@4.18.0) - '@rollup/plugin-replace': - specifier: ^5.0.7 - version: 5.0.7(rollup@4.18.0) - '@rollup/plugin-terser': - specifier: ^0.4.3 - version: 0.4.4(rollup@4.18.0) ->>>>>>> origin/main conventional-changelog-conventionalcommits: specifier: ^7.0.0 version: 7.0.2 @@ -62,13 +42,8 @@ importers: specifier: ^2.3.0 version: 2.3.0 next: -<<<<<<< HEAD - specifier: ^14.2.3 - version: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.1)(react@18.3.1) -======= specifier: ^14.2.4 - version: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) ->>>>>>> origin/main + version: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) nextra: specifier: ^2.13.4 version: 2.13.4(next@14.2.4)(react-dom@18.3.1)(react@18.3.1) @@ -183,13 +158,8 @@ importers: examples/example-app-router-migration: dependencies: next: -<<<<<<< HEAD - specifier: ^14.2.3 - version: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.1)(react@18.3.1) -======= specifier: ^14.2.4 - version: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) ->>>>>>> origin/main + version: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) next-intl: specifier: latest version: link:../../packages/next-intl @@ -225,13 +195,8 @@ importers: examples/example-app-router-mixed-routing: dependencies: next: -<<<<<<< HEAD - specifier: ^14.2.3 - version: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.1)(react@18.3.1) -======= specifier: ^14.2.4 - version: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) ->>>>>>> origin/main + version: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) next-intl: specifier: latest version: link:../../packages/next-intl @@ -279,13 +244,8 @@ importers: examples/example-app-router-next-auth: dependencies: next: -<<<<<<< HEAD - specifier: ^14.2.3 - version: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.1)(react@18.3.1) -======= specifier: ^14.2.4 - version: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) ->>>>>>> origin/main + version: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) next-auth: specifier: ^4.24.7 version: 4.24.7(next@14.2.4)(react-dom@18.3.1)(react@18.3.1) @@ -401,7 +361,7 @@ importers: dependencies: next: specifier: ^14.2.4 - version: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) + version: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) next-intl: specifier: latest version: link:../../packages/next-intl @@ -452,13 +412,8 @@ importers: specifier: ^4.17.21 version: 4.17.21 next: -<<<<<<< HEAD - specifier: ^14.2.1 - version: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0) -======= specifier: ^14.2.4 - version: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) ->>>>>>> origin/main + version: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) next-intl: specifier: latest version: link:../../packages/next-intl @@ -518,13 +473,8 @@ importers: specifier: ^3.6.0 version: 3.6.0 next: -<<<<<<< HEAD - specifier: ^14.2.3 - version: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.1)(react@18.3.1) -======= specifier: ^14.2.4 - version: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) ->>>>>>> origin/main + version: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) next-intl: specifier: latest version: link:../../packages/next-intl @@ -767,7 +717,7 @@ importers: version: 18.3.0 bunchee: specifier: ^5.2.0 - version: 5.2.0(typescript@5.4.5) + version: 5.2.2(typescript@5.4.5) eslint: specifier: ^8.56.0 version: 8.56.0 @@ -778,13 +728,8 @@ importers: specifier: ^3.0.0 version: 3.0.0(eslint@8.56.0)(typescript@5.4.5) next: -<<<<<<< HEAD - specifier: ^14.2.3 - version: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.1)(react@18.3.1) -======= specifier: ^14.2.4 - version: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) ->>>>>>> origin/main + version: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) path-to-regexp: specifier: ^6.2.2 version: 6.2.2 @@ -833,7 +778,7 @@ importers: version: 18.3.0 bunchee: specifier: ^5.2.0 - version: 5.2.0(typescript@5.4.5) + version: 5.2.2(typescript@5.4.5) date-fns: specifier: ^3.6.0 version: 3.6.0 @@ -1182,6 +1127,7 @@ packages: '@babel/types': 7.24.7 transitivePeerDependencies: - supports-color + dev: false /@babel/helper-compilation-targets@7.22.10: resolution: {integrity: sha512-JMSwHD4J7SLod0idLq5PKgI+6g/hLD/iuWBq08ZX49xE14VpVEojJ5rHWptpirV2j020MvypRLAXAO50igCJ5Q==} @@ -1263,6 +1209,7 @@ packages: '@babel/helper-annotate-as-pure': 7.24.7 regexpu-core: 5.3.2 semver: 6.3.1 + dev: false /@babel/helper-define-polyfill-provider@0.3.3(@babel/core@7.24.7): resolution: {integrity: sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww==} @@ -1293,6 +1240,7 @@ packages: resolve: 1.22.8 transitivePeerDependencies: - supports-color + dev: false /@babel/helper-environment-visitor@7.22.5: resolution: {integrity: sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q==} @@ -1354,6 +1302,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.22.11 + dev: false /@babel/helper-module-imports@7.24.7: resolution: {integrity: sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==} @@ -1454,6 +1403,7 @@ packages: '@babel/helper-wrap-function': 7.24.7 transitivePeerDependencies: - supports-color + dev: false /@babel/helper-replace-supers@7.22.9(@babel/core@7.24.7): resolution: {integrity: sha512-LJIKvvpgPOPUThdYqcX6IXRuIcTkcAub0IaDRGCZH0p5GPUp7PhRU9QVgFcDDd51BaPkk77ZjqFwh6DZTAEmGg==} @@ -1528,6 +1478,7 @@ packages: /@babel/helper-string-parser@7.22.5: resolution: {integrity: sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==} engines: {node: '>=6.9.0'} + dev: false /@babel/helper-string-parser@7.24.7: resolution: {integrity: sha512-7MbVt6xrwFQbunH2DNQsAP5sTGxfqQtErvBIvIMi6EQnbgUOuVYanvREcmFrOPhoXBrTtjhhP+lW+o5UfK+tDg==} @@ -1536,6 +1487,7 @@ packages: /@babel/helper-validator-identifier@7.22.5: resolution: {integrity: sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==} engines: {node: '>=6.9.0'} + dev: false /@babel/helper-validator-identifier@7.24.7: resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==} @@ -1569,6 +1521,7 @@ packages: '@babel/types': 7.24.7 transitivePeerDependencies: - supports-color + dev: false /@babel/helpers@7.24.7: resolution: {integrity: sha512-NlmJJtvcw72yRJRcnCmGvSi+3jDEg8qFu3z0AFoymmzLx5ERVWyzd9kVXr7Th9/8yIJi2Zc6av4Tqz3wFs8QWg==} @@ -1619,6 +1572,7 @@ packages: '@babel/core': 7.24.7 '@babel/helper-environment-visitor': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-unaQgZ/iRu/By6tsjMZzpeBZjChYfLYry6HrEXPoz3KmfF0sVBQ1l8zKMQ4xRGLWVsjuvB8nQfjNP/DcfEOCsg==} @@ -1628,6 +1582,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-+izXIbke1T33mY4MSNnrqhPXDz01WYhEf3yF5NbnUtkiNnm+XBZJl3kNfoK6NKmYlz/D07+l2GWVK/QfDkNCuQ==} @@ -1641,6 +1596,7 @@ packages: '@babel/plugin-transform-optional-chaining': 7.24.7(@babel/core@7.24.7) transitivePeerDependencies: - supports-color + dev: false /@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-utA4HuR6F4Vvcr+o4DnjL8fCOlgRFGbeeBEGNg3ZTrLFw6VWG5XmUrvcQ0FjIYMU2ST4XcR2Wsp7t9qOAPnxMg==} @@ -1651,6 +1607,7 @@ packages: '@babel/core': 7.24.7 '@babel/helper-environment-visitor': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-proposal-async-generator-functions@7.20.7(@babel/core@7.24.7): resolution: {integrity: sha512-xMbiLsn/8RK7Wq7VeVytytS2L6qE69bXPB10YCmMdDZbKF4okCqY74pI/jJQ/8U0b/F6NrT2+14b8/P9/3AMGA==} @@ -1759,6 +1716,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.24.7 + dev: false /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.24.7): resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} @@ -1793,6 +1751,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-syntax-decorators@7.21.0(@babel/core@7.24.7): resolution: {integrity: sha512-tIoPpGBR8UuM4++ccWN3gifhVvQu7ZizuR1fklhRJrd5ewgbkUS+0KVFeWWxELtn18NTLoW32XV7zyOgIAiz+w==} @@ -1821,6 +1780,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.22.5 + dev: false /@babel/plugin-syntax-export-default-from@7.18.6(@babel/core@7.24.7): resolution: {integrity: sha512-Kr//z3ujSVNx6E9z9ih5xXXMqK07VVTuqPmqGe6Mss/zW5XPeLZeSDZoP9ab/hT4wPKqAgjl2PnhPrcpk8Seew==} @@ -1839,6 +1799,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-syntax-flow@7.21.4(@babel/core@7.24.7): resolution: {integrity: sha512-l9xd3N+XG4fZRxEP3vXdK6RW7vN1Uf5dxzRC/09wV86wqZ/YYQooBIGNsiRdfNR3/q2/5pPzV4B54J/9ctX5jw==} @@ -1858,6 +1819,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-syntax-import-attributes@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-hbX+lKKeUMGihnK8nvKqmXBInriT3GVjzXKFriV3YC6APGxMbP8RZNFwy91+hocLXq90Mta+HshoB31802bb8A==} @@ -1867,6 +1829,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.24.7): resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} @@ -1959,6 +1922,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.24.7): resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} @@ -1997,6 +1961,7 @@ packages: '@babel/core': 7.24.7 '@babel/helper-create-regexp-features-plugin': 7.24.7(@babel/core@7.24.7) '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-arrow-functions@7.22.5(@babel/core@7.24.7): resolution: {integrity: sha512-26lTNXoVRdAnsaDXPpvCNUq+OVWEVC6bx7Vvz9rC53F2bagUWW4u4ii2+h8Fejfh7RYqPxn+libeFBBck9muEw==} @@ -2016,6 +1981,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-async-generator-functions@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-o+iF77e3u7ZS4AoAuJvapz9Fm001PuD2V3Lp6OSE4FYQke+cSewYtnek+THqGRWyQloRCyvWL1OkyfNEl9vr/g==} @@ -2030,6 +1996,7 @@ packages: '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.24.7) transitivePeerDependencies: - supports-color + dev: false /@babel/plugin-transform-async-to-generator@7.22.5(@babel/core@7.24.7): resolution: {integrity: sha512-b1A8D8ZzE/VhNDoV1MSJTnpKkCG5bJo+19R4o4oy03zM7ws8yEMK755j61Dc3EyvdysbqH5BOOTquJ7ZX9C6vQ==} @@ -2055,6 +2022,7 @@ packages: '@babel/helper-remap-async-to-generator': 7.24.7(@babel/core@7.24.7) transitivePeerDependencies: - supports-color + dev: false /@babel/plugin-transform-block-scoped-functions@7.22.5(@babel/core@7.24.7): resolution: {integrity: sha512-tdXZ2UdknEKQWKJP1KMNmuF5Lx3MymtMN/pvA+p/VEkhK8jVcQ1fzSy8KM9qRYhAf2/lV33hoMPKI/xaI9sADA==} @@ -2074,6 +2042,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-block-scoping@7.22.10(@babel/core@7.24.7): resolution: {integrity: sha512-1+kVpGAOOI1Albt6Vse7c8pHzcZQdQKW+wJH+g8mCaszOdDVwRXa/slHPqIw+oJAJANTKDMuM2cBdV0Dg618Vg==} @@ -2093,6 +2062,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-class-properties@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-vKbfawVYayKcSeSR5YYzzyXvsDFWU2mD8U5TFeXtbCPLFUqe7GyCgvO6XDHzje862ODrOwy6WCPmKeWHbCFJ4w==} @@ -2105,6 +2075,7 @@ packages: '@babel/helper-plugin-utils': 7.24.7 transitivePeerDependencies: - supports-color + dev: false /@babel/plugin-transform-class-static-block@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-HMXK3WbBPpZQufbMG4B46A90PkuuhN9vBCb5T8+VAHqvAqvcLi+2cKoukcpmUYkszLhScU3l1iudhrks3DggRQ==} @@ -2118,6 +2089,7 @@ packages: '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.24.7) transitivePeerDependencies: - supports-color + dev: false /@babel/plugin-transform-classes@7.22.6(@babel/core@7.24.7): resolution: {integrity: sha512-58EgM6nuPNG6Py4Z3zSuu0xWu2VfodiMi72Jt5Kj2FECmaYk1RrTXA45z6KBFsu9tRgwQDwIiY4FXTt+YsSFAQ==} @@ -2154,6 +2126,7 @@ packages: globals: 11.12.0 transitivePeerDependencies: - supports-color + dev: false /@babel/plugin-transform-computed-properties@7.22.5(@babel/core@7.24.7): resolution: {integrity: sha512-4GHWBgRf0krxPX+AaPtgBAlTgTeZmqDynokHOX7aqqAB4tHs3U2Y02zH6ETFdLZGcg9UQSD1WCmkVrE9ErHeOg==} @@ -2175,6 +2148,7 @@ packages: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 '@babel/template': 7.24.7 + dev: false /@babel/plugin-transform-destructuring@7.22.10(@babel/core@7.24.7): resolution: {integrity: sha512-dPJrL0VOyxqLM9sritNbMSGx/teueHF/htMKrPT7DNxccXxRDPYqlgPFFdr8u+F+qUZOkZoXue/6rL5O5GduEw==} @@ -2194,6 +2168,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-dotall-regex@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-ZOA3W+1RRTSWvyqcMJDLqbchh7U4NRGqwRfFSVbOLS/ePIP4vHB5e8T8eXcuqyN1QkgKyj5wuW0lcS85v4CrSw==} @@ -2204,6 +2179,7 @@ packages: '@babel/core': 7.24.7 '@babel/helper-create-regexp-features-plugin': 7.24.7(@babel/core@7.24.7) '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-duplicate-keys@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-JdYfXyCRihAe46jUIliuL2/s0x0wObgwwiGxw/UbgJBr20gQBThrokO4nYKgWkD7uBaqM7+9x5TU7NkExZJyzw==} @@ -2213,6 +2189,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-dynamic-import@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-sc3X26PhZQDb3JhORmakcbvkeInvxz+A8oda99lj7J60QRuPZvNAk9wQlTBS1ZynelDrDmTU4pw1tyc5d5ZMUg==} @@ -2223,6 +2200,7 @@ packages: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.24.7) + dev: false /@babel/plugin-transform-exponentiation-operator@7.22.5(@babel/core@7.24.7): resolution: {integrity: sha512-vIpJFNM/FjZ4rh1myqIya9jXwrwwgFRHPjT3DkUA9ZLHuzox8jiXkOLvwm1H+PQIP3CqfC++WPKeuDi0Sjdj1g==} @@ -2246,6 +2224,7 @@ packages: '@babel/helper-plugin-utils': 7.24.7 transitivePeerDependencies: - supports-color + dev: false /@babel/plugin-transform-export-namespace-from@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-v0K9uNYsPL3oXZ/7F9NNIbAj2jv1whUEtyA6aujhekLs56R++JDQuzRcP2/z4WX5Vg/c5lE9uWZA0/iUoFhLTA==} @@ -2256,6 +2235,7 @@ packages: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.24.7) + dev: false /@babel/plugin-transform-flow-strip-types@7.21.0(@babel/core@7.24.7): resolution: {integrity: sha512-FlFA2Mj87a6sDkW4gfGrQQqwY/dLlBAyJa2dJEZ+FHXUVHBflO2wyKvg+OOEzXfrKYIa4HWl0mgmbCzt0cMb7w==} @@ -2289,6 +2269,7 @@ packages: '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 transitivePeerDependencies: - supports-color + dev: false /@babel/plugin-transform-function-name@7.22.5(@babel/core@7.24.7): resolution: {integrity: sha512-UIzQNMS0p0HHiQm3oelztj+ECwFnj+ZRV4KnguvlsD2of1whUeM6o7wGNj6oLwcDoAXQ8gEqfgC24D+VdIcevg==} @@ -2312,6 +2293,7 @@ packages: '@babel/helper-compilation-targets': 7.24.7 '@babel/helper-function-name': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-json-strings@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-2yFnBGDvRuxAaE/f0vfBKvtnvvqU8tGpMHqMNpTN2oWMKIR3NqFkjaAgGwawhqK/pIN2T3XdjGPdaG0vDhOBGw==} @@ -2322,6 +2304,7 @@ packages: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.24.7) + dev: false /@babel/plugin-transform-literals@7.22.5(@babel/core@7.24.7): resolution: {integrity: sha512-fTLj4D79M+mepcw3dgFBTIDYpbcB9Sm0bpm4ppXPaO+U+PKFFyV9MGRvS0gvGw62sd10kT5lRMKXAADb9pWy8g==} @@ -2341,6 +2324,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-logical-assignment-operators@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-4D2tpwlQ1odXmTEIFWy9ELJcZHqrStlzK/dAOWYyxX3zT0iXQB6banjgeOJQXzEc4S0E0a5A+hahxPaEFYftsw==} @@ -2351,6 +2335,7 @@ packages: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.24.7) + dev: false /@babel/plugin-transform-member-expression-literals@7.22.5(@babel/core@7.24.7): resolution: {integrity: sha512-RZEdkNtzzYCFl9SE9ATaUMTj2hqMb4StarOJLrZRbqqU4HSBE7UlBw9WBWQiDzrJZJdUWiMTVDI6Gv/8DPvfew==} @@ -2370,6 +2355,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-modules-amd@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-9+pB1qxV3vs/8Hdmz/CulFB8w2tuu6EB94JZFsjdqxQokwGa9Unap7Bo2gGBGIvPmDIVvQrom7r5m/TCDMURhg==} @@ -2382,6 +2368,7 @@ packages: '@babel/helper-plugin-utils': 7.24.7 transitivePeerDependencies: - supports-color + dev: false /@babel/plugin-transform-modules-commonjs@7.22.11(@babel/core@7.24.7): resolution: {integrity: sha512-o2+bg7GDS60cJMgz9jWqRUsWkMzLCxp+jFDeDUT5sjRlAxcJWZ2ylNdI7QQ2+CH5hWu7OnN+Cv3htt7AkSf96g==} @@ -2421,6 +2408,7 @@ packages: '@babel/helper-validator-identifier': 7.24.7 transitivePeerDependencies: - supports-color + dev: false /@babel/plugin-transform-modules-umd@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-3aytQvqJ/h9z4g8AsKPLvD4Zqi2qT+L3j7XoFFu1XBlZWEl2/1kWnhmAbxpLgPrHSY0M6UA02jyTiwUVtiKR6A==} @@ -2433,6 +2421,7 @@ packages: '@babel/helper-plugin-utils': 7.24.7 transitivePeerDependencies: - supports-color + dev: false /@babel/plugin-transform-named-capturing-groups-regex@7.22.5(@babel/core@7.24.7): resolution: {integrity: sha512-YgLLKmS3aUBhHaxp5hi1WJTgOUb/NCuDHzGT9z9WTt3YG+CPRhJs6nprbStx6DnWM4dh6gt7SU3sZodbZ08adQ==} @@ -2454,6 +2443,7 @@ packages: '@babel/core': 7.24.7 '@babel/helper-create-regexp-features-plugin': 7.24.7(@babel/core@7.24.7) '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-new-target@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-RNKwfRIXg4Ls/8mMTza5oPF5RkOW8Wy/WgMAp1/F1yZ8mMbtwXW+HDoJiOsagWrAhI5f57Vncrmr9XeT4CVapA==} @@ -2463,6 +2453,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-nullish-coalescing-operator@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-Ts7xQVk1OEocqzm8rHMXHlxvsfZ0cEF2yomUqpKENHWMF4zKk175Y4q8H5knJes6PgYad50uuRmt3UJuhBw8pQ==} @@ -2473,6 +2464,7 @@ packages: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.24.7) + dev: false /@babel/plugin-transform-numeric-separator@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-e6q1TiVUzvH9KRvicuxdBTUj4AdKSRwzIyFFnfnezpCfP2/7Qmbb8qbU2j7GODbl4JMkblitCQjKYUaX/qkkwA==} @@ -2483,6 +2475,7 @@ packages: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.24.7) + dev: false /@babel/plugin-transform-object-rest-spread@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-4QrHAr0aXQCEFni2q4DqKLD31n2DL+RxcwnNjDFkSG0eNQ/xCavnRkfCUjsyqGC2OviNJvZOF/mQqZBw7i2C5Q==} @@ -2495,6 +2488,7 @@ packages: '@babel/helper-plugin-utils': 7.24.7 '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.24.7) '@babel/plugin-transform-parameters': 7.24.7(@babel/core@7.24.7) + dev: false /@babel/plugin-transform-object-super@7.22.5(@babel/core@7.24.7): resolution: {integrity: sha512-klXqyaT9trSjIUrcsYIfETAzmOEZL3cBYqOYLJxBHfMFFggmXOv+NYSX/Jbs9mzMVESw/WycLFPRx8ba/b2Ipw==} @@ -2518,6 +2512,7 @@ packages: '@babel/helper-replace-supers': 7.24.7(@babel/core@7.24.7) transitivePeerDependencies: - supports-color + dev: false /@babel/plugin-transform-optional-catch-binding@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-uLEndKqP5BfBbC/5jTwPxLh9kqPWWgzN/f8w6UwAIirAEqiIVJWWY312X72Eub09g5KF9+Zn7+hT7sDxmhRuKA==} @@ -2528,6 +2523,7 @@ packages: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.24.7) + dev: false /@babel/plugin-transform-optional-chaining@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-tK+0N9yd4j+x/4hxF3F0e0fu/VdcxU18y5SevtyM/PCFlQvXbR0Zmlo2eBrKtVipGNFzpq56o8WsIIKcJFUCRQ==} @@ -2541,6 +2537,7 @@ packages: '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.24.7) transitivePeerDependencies: - supports-color + dev: false /@babel/plugin-transform-parameters@7.22.5(@babel/core@7.24.7): resolution: {integrity: sha512-AVkFUBurORBREOmHRKo06FjHYgjrabpdqRSwq6+C7R5iTCZOsM4QbcB27St0a4U6fffyAOqh3s/qEfybAhfivg==} @@ -2560,6 +2557,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-private-methods@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-COTCOkG2hn4JKGEKBADkA8WNb35TGkkRbI5iT845dB+NyqgO8Hn+ajPbSnIQznneJTa3d30scb6iz/DhH8GsJQ==} @@ -2572,6 +2570,7 @@ packages: '@babel/helper-plugin-utils': 7.24.7 transitivePeerDependencies: - supports-color + dev: false /@babel/plugin-transform-private-property-in-object@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-9z76mxwnwFxMyxZWEgdgECQglF2Q7cFLm0kMf8pGwt+GSJsY0cONKj/UuO4bOH0w/uAel3ekS4ra5CEAyJRmDA==} @@ -2586,6 +2585,7 @@ packages: '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.24.7) transitivePeerDependencies: - supports-color + dev: false /@babel/plugin-transform-property-literals@7.22.5(@babel/core@7.24.7): resolution: {integrity: sha512-TiOArgddK3mK/x1Qwf5hay2pxI6wCZnvQqrFSqbtg1GLl2JcNMitVH/YnqjP+M31pLUeTfzY1HAXFDnUBV30rQ==} @@ -2605,6 +2605,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-react-display-name@7.22.5(@babel/core@7.24.7): resolution: {integrity: sha512-PVk3WPYudRF5z4GKMEYUrLjPl38fJSKNaEOkFuoprioowGuWN6w2RKznuFNSlJx7pzzXXStPUnNSOEO0jL5EVw==} @@ -2616,33 +2617,7 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: false -<<<<<<< HEAD - /@babel/plugin-transform-react-jsx-self@7.21.0(@babel/core@7.21.8): -======= - /@babel/plugin-transform-react-display-name@7.24.7(@babel/core@7.24.7): - resolution: {integrity: sha512-H/Snz9PFxKsS1JLI4dJLtnJgCJRoo0AUm3chP6NYr+9En1JMKloheEiLIhlp5MDVznWo+H3AAC1Mc8lmUEpsgg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.7 - '@babel/helper-plugin-utils': 7.24.7 - dev: true - - /@babel/plugin-transform-react-jsx-development@7.24.7(@babel/core@7.24.7): - resolution: {integrity: sha512-QG9EnzoGn+Qar7rxuW+ZOsbWOt56FvvI93xInqsZDC5fsekx1AlIO4KIJ5M+D0p0SqSH156EpmZyXq630B8OlQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.24.7 - '@babel/plugin-transform-react-jsx': 7.24.7(@babel/core@7.24.7) - transitivePeerDependencies: - - supports-color - dev: true - /@babel/plugin-transform-react-jsx-self@7.21.0(@babel/core@7.24.7): ->>>>>>> origin/main resolution: {integrity: sha512-f/Eq+79JEu+KUANFks9UZCcvydOOGMgF7jBrcwjHa5jTZD8JivnhCJYvmlhR/WTXBWonDExPoW0eO/CR4QJirA==} engines: {node: '>=6.9.0'} peerDependencies: @@ -2696,30 +2671,12 @@ packages: '@babel/types': 7.22.11 dev: false -<<<<<<< HEAD - /@babel/plugin-transform-react-jsx@7.24.7(@babel/core@7.21.8): -======= /@babel/plugin-transform-react-jsx@7.24.7(@babel/core@7.24.7): ->>>>>>> origin/main resolution: {integrity: sha512-+Dj06GDZEFRYvclU6k4bme55GKBEWUmByM/eoKuqg4zTNQHiApWRhQph5fxQB2wAEFvRzL1tOEj1RJ19wJrhoA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: -<<<<<<< HEAD - '@babel/core': 7.21.8 - '@babel/helper-annotate-as-pure': 7.24.7 - '@babel/helper-module-imports': 7.24.7 - '@babel/helper-plugin-utils': 7.24.7 - '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.21.8) - '@babel/types': 7.24.7 - transitivePeerDependencies: - - supports-color - dev: false - - /@babel/plugin-transform-regenerator@7.24.7(@babel/core@7.21.8): - resolution: {integrity: sha512-lq3fvXPdimDrlg6LWBoqj+r/DEWgONuwjuOuQCSYgRroXDH/IdM1C0IZf59fL5cHLpjEH/O6opIRBbqv7ELnuA==} -======= '@babel/core': 7.24.7 '@babel/helper-annotate-as-pure': 7.24.7 '@babel/helper-module-imports': 7.24.7 @@ -2728,25 +2685,7 @@ packages: '@babel/types': 7.24.7 transitivePeerDependencies: - supports-color - - /@babel/plugin-transform-react-pure-annotations@7.24.7(@babel/core@7.24.7): - resolution: {integrity: sha512-PLgBVk3fzbmEjBJ/u8kFzOqS9tUeDjiaWud/rRym/yjCo/M9cASPlnrd2ZmmZpQT40fOOrvR8jh+n8jikrOhNA==} ->>>>>>> origin/main - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: -<<<<<<< HEAD - '@babel/core': 7.21.8 - '@babel/helper-plugin-utils': 7.24.7 - regenerator-transform: 0.15.2 dev: false -======= - '@babel/core': 7.24.7 - '@babel/helper-annotate-as-pure': 7.24.7 - '@babel/helper-plugin-utils': 7.24.7 - dev: true ->>>>>>> origin/main /@babel/plugin-transform-regenerator@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-lq3fvXPdimDrlg6LWBoqj+r/DEWgONuwjuOuQCSYgRroXDH/IdM1C0IZf59fL5cHLpjEH/O6opIRBbqv7ELnuA==} @@ -2757,6 +2696,7 @@ packages: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 regenerator-transform: 0.15.2 + dev: false /@babel/plugin-transform-reserved-words@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-0DUq0pHcPKbjFZCfTss/pGkYMfy3vFWydkUBd9r0GHpIyfs2eCDENvqadMycRS9wZCXR41wucAfJHJmwA0UmoQ==} @@ -2766,6 +2706,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-runtime@7.21.4(@babel/core@7.24.7): resolution: {integrity: sha512-1J4dhrw1h1PqnNNpzwxQ2UBymJUF8KuPjAAnlLwZcGhHAIqUigFW7cdK6GHoB64ubY4qXQNYknoUeks4Wz7CUA==} @@ -2802,6 +2743,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-spread@7.22.5(@babel/core@7.24.7): resolution: {integrity: sha512-5ZzDQIGyvN4w8+dMmpohL6MBo+l2G7tfC/O2Dg7/hjpgeWvUx8FzfeOKxGog9IimPa4YekaQ9PlDqTLOljkcxg==} @@ -2825,6 +2767,7 @@ packages: '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 transitivePeerDependencies: - supports-color + dev: false /@babel/plugin-transform-sticky-regex@7.22.5(@babel/core@7.24.7): resolution: {integrity: sha512-zf7LuNpHG0iEeiyCNwX4j3gDg1jgt1k3ZdXBKbZSoA3BbGQGvMiSvfbZRR3Dr3aeJe3ooWFZxOOG3IRStYp2Bw==} @@ -2844,6 +2787,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-template-literals@7.22.5(@babel/core@7.24.7): resolution: {integrity: sha512-5ciOehRNf+EyUeewo8NkbQiUs4d6ZxiHo6BcBcnFlgiJfu16q0bQUw9Jvo0b0gBKFG1SMhDSjeKXSYuJLeFSMA==} @@ -2863,6 +2807,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-typeof-symbol@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-VtR8hDy7YLB7+Pet9IarXjg/zgCMSF+1mNS/EQEiEaUPoFXCVsHG64SIxcaaI2zJgRiv+YmgaQESUfWAdbjzgg==} @@ -2872,6 +2817,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-typescript@7.22.11(@babel/core@7.24.7): resolution: {integrity: sha512-0E4/L+7gfvHub7wsbTv03oRtD69X31LByy44fGmFzbZScpupFByMcgCJ0VbBTkzyjSJKuRoGN8tcijOWKTmqOA==} @@ -2908,6 +2854,7 @@ packages: dependencies: '@babel/core': 7.24.7 '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-unicode-property-regex@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-uH2O4OV5M9FZYQrwc7NdVmMxQJOCCzFeYudlZSzUAHRFeOujQefa92E74TQDVskNHCzOXoigEuoyzHDhaEaK5w==} @@ -2918,6 +2865,7 @@ packages: '@babel/core': 7.24.7 '@babel/helper-create-regexp-features-plugin': 7.24.7(@babel/core@7.24.7) '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-unicode-regex@7.22.5(@babel/core@7.24.7): resolution: {integrity: sha512-028laaOKptN5vHJf9/Arr/HiJekMd41hOEZYvNsrsXqJ7YPYuX2bQxh31fkZzGmq3YqHRJzYFFAVYvKfMPKqyg==} @@ -2939,6 +2887,7 @@ packages: '@babel/core': 7.24.7 '@babel/helper-create-regexp-features-plugin': 7.24.7(@babel/core@7.24.7) '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/plugin-transform-unicode-sets-regex@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-2G8aAvF4wy1w/AGZkemprdGMRg5o6zPNhbHVImRz3lss55TYCBd6xStN19rt8XJHq20sqV0JbyWjOWwQRwV/wg==} @@ -2949,6 +2898,7 @@ packages: '@babel/core': 7.24.7 '@babel/helper-create-regexp-features-plugin': 7.24.7(@babel/core@7.24.7) '@babel/helper-plugin-utils': 7.24.7 + dev: false /@babel/preset-env@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-1YZNsc+y6cTvWlDHidMBsQZrZfEFjRIo/BZCT906PMdzOyXtSLTgqGdrpcuTDCXyd11Am5uQULtDIcCfnTc8fQ==} @@ -3040,6 +2990,7 @@ packages: semver: 6.3.1 transitivePeerDependencies: - supports-color + dev: false /@babel/preset-flow@7.21.4(@babel/core@7.24.7): resolution: {integrity: sha512-F24cSq4DIBmhq4OzK3dE63NHagb27OPE3eWR+HLekt4Z3Y5MzIIUGF3LlLgV0gN8vzbDViSY7HnrReNVCJXTeA==} @@ -3062,40 +3013,7 @@ packages: '@babel/helper-plugin-utils': 7.24.7 '@babel/types': 7.24.7 esutils: 2.0.3 - -<<<<<<< HEAD - /@babel/preset-typescript@7.24.7(@babel/core@7.21.8): - resolution: {integrity: sha512-SyXRe3OdWwIwalxDg5UtJnJQO+YPcTfwiIY2B0Xlddh9o7jpWLvv8X1RthIeDOxQ+O1ML5BLPCONToObyVQVuQ==} -======= - /@babel/preset-react@7.24.7(@babel/core@7.24.7): - resolution: {integrity: sha512-AAH4lEkpmzFWrGVlHaxJB7RLH21uPQ9+He+eFLWHmF9IuFQVugz8eAsamaW0DXRrTfco5zj1wWtpdcXJUOfsag==} ->>>>>>> origin/main - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: -<<<<<<< HEAD - '@babel/core': 7.21.8 - '@babel/helper-plugin-utils': 7.24.7 - '@babel/helper-validator-option': 7.24.7 - '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.21.8) - '@babel/plugin-transform-modules-commonjs': 7.24.7(@babel/core@7.21.8) - '@babel/plugin-transform-typescript': 7.24.7(@babel/core@7.21.8) - transitivePeerDependencies: - - supports-color dev: false -======= - '@babel/core': 7.24.7 - '@babel/helper-plugin-utils': 7.24.7 - '@babel/helper-validator-option': 7.24.7 - '@babel/plugin-transform-react-display-name': 7.24.7(@babel/core@7.24.7) - '@babel/plugin-transform-react-jsx': 7.24.7(@babel/core@7.24.7) - '@babel/plugin-transform-react-jsx-development': 7.24.7(@babel/core@7.24.7) - '@babel/plugin-transform-react-pure-annotations': 7.24.7(@babel/core@7.24.7) - transitivePeerDependencies: - - supports-color - dev: true ->>>>>>> origin/main /@babel/preset-typescript@7.24.7(@babel/core@7.24.7): resolution: {integrity: sha512-SyXRe3OdWwIwalxDg5UtJnJQO+YPcTfwiIY2B0Xlddh9o7jpWLvv8X1RthIeDOxQ+O1ML5BLPCONToObyVQVuQ==} @@ -3128,6 +3046,7 @@ packages: /@babel/regjsgen@0.8.0: resolution: {integrity: sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==} + dev: false /@babel/runtime@7.21.5: resolution: {integrity: sha512-8jI69toZqqcsnqGGqwGS4Qb1VwLOEp4hz+CXPywcvjs60u3B4Pom/U/7rm4W8tMOYEB+E9wgD0mW1l3r8qlI9Q==} @@ -3201,6 +3120,7 @@ packages: '@babel/helper-string-parser': 7.22.5 '@babel/helper-validator-identifier': 7.22.5 to-fast-properties: 2.0.0 + dev: false /@babel/types@7.24.7: resolution: {integrity: sha512-XEFXSlxiG5td2EJRe8vOmRbaXVgfcBlszKujvVmWIK/UpywWljQCfzAv3RQCGujWQ1RD4YYWEAqDXfuJiy8f5Q==} @@ -3306,18 +3226,6 @@ packages: /@esbuild/android-arm64@0.18.20: resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - /@esbuild/android-arm64@0.19.8: - resolution: {integrity: sha512-B8JbS61bEunhfx8kasogFENgQfr/dIp+ggYXwTqdbMAgGDhRa3AaPpQMuQU0rNxDLECj6FhDzk1cF9WHMVwrtA==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [arm64] os: [android] @@ -3345,18 +3253,6 @@ packages: /@esbuild/android-arm@0.18.20: resolution: {integrity: sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - /@esbuild/android-arm@0.19.8: - resolution: {integrity: sha512-31E2lxlGM1KEfivQl8Yf5aYU/mflz9g06H6S15ITUFQueMFtFjESRMoDSkvMo8thYvLBax+VKTPlpnx+sPicOA==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [arm] os: [android] @@ -3384,18 +3280,6 @@ packages: /@esbuild/android-x64@0.18.20: resolution: {integrity: sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - /@esbuild/android-x64@0.19.8: - resolution: {integrity: sha512-rdqqYfRIn4jWOp+lzQttYMa2Xar3OK9Yt2fhOhzFXqg0rVWEfSclJvZq5fZslnz6ypHvVf3CT7qyf0A5pM682A==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [x64] os: [android] @@ -3423,18 +3307,6 @@ packages: /@esbuild/darwin-arm64@0.18.20: resolution: {integrity: sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /@esbuild/darwin-arm64@0.19.8: - resolution: {integrity: sha512-RQw9DemMbIq35Bprbboyf8SmOr4UXsRVxJ97LgB55VKKeJOOdvsIPy0nFyF2l8U+h4PtBx/1kRf0BelOYCiQcw==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [arm64] os: [darwin] @@ -3462,18 +3334,6 @@ packages: /@esbuild/darwin-x64@0.18.20: resolution: {integrity: sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /@esbuild/darwin-x64@0.19.8: - resolution: {integrity: sha512-3sur80OT9YdeZwIVgERAysAbwncom7b4bCI2XKLjMfPymTud7e/oY4y+ci1XVp5TfQp/bppn7xLw1n/oSQY3/Q==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [x64] os: [darwin] @@ -3501,18 +3361,6 @@ packages: /@esbuild/freebsd-arm64@0.18.20: resolution: {integrity: sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - /@esbuild/freebsd-arm64@0.19.8: - resolution: {integrity: sha512-WAnPJSDattvS/XtPCTj1tPoTxERjcTpH6HsMr6ujTT+X6rylVe8ggxk8pVxzf5U1wh5sPODpawNicF5ta/9Tmw==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [arm64] os: [freebsd] @@ -3540,18 +3388,6 @@ packages: /@esbuild/freebsd-x64@0.18.20: resolution: {integrity: sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - /@esbuild/freebsd-x64@0.19.8: - resolution: {integrity: sha512-ICvZyOplIjmmhjd6mxi+zxSdpPTKFfyPPQMQTK/w+8eNK6WV01AjIztJALDtwNNfFhfZLux0tZLC+U9nSyA5Zg==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [x64] os: [freebsd] @@ -3579,18 +3415,6 @@ packages: /@esbuild/linux-arm64@0.18.20: resolution: {integrity: sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-arm64@0.19.8: - resolution: {integrity: sha512-z1zMZivxDLHWnyGOctT9JP70h0beY54xDDDJt4VpTX+iwA77IFsE1vCXWmprajJGa+ZYSqkSbRQ4eyLCpCmiCQ==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [arm64] os: [linux] @@ -3618,18 +3442,6 @@ packages: /@esbuild/linux-arm@0.18.20: resolution: {integrity: sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-arm@0.19.8: - resolution: {integrity: sha512-H4vmI5PYqSvosPaTJuEppU9oz1dq2A7Mr2vyg5TF9Ga+3+MGgBdGzcyBP7qK9MrwFQZlvNyJrvz6GuCaj3OukQ==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [arm] os: [linux] @@ -3657,18 +3469,6 @@ packages: /@esbuild/linux-ia32@0.18.20: resolution: {integrity: sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-ia32@0.19.8: - resolution: {integrity: sha512-1a8suQiFJmZz1khm/rDglOc8lavtzEMRo0v6WhPgxkrjcU0LkHj+TwBrALwoz/OtMExvsqbbMI0ChyelKabSvQ==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [ia32] os: [linux] @@ -3696,18 +3496,6 @@ packages: /@esbuild/linux-loong64@0.18.20: resolution: {integrity: sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-loong64@0.19.8: - resolution: {integrity: sha512-fHZWS2JJxnXt1uYJsDv9+b60WCc2RlvVAy1F76qOLtXRO+H4mjt3Tr6MJ5l7Q78X8KgCFudnTuiQRBhULUyBKQ==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [loong64] os: [linux] @@ -3735,18 +3523,6 @@ packages: /@esbuild/linux-mips64el@0.18.20: resolution: {integrity: sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-mips64el@0.19.8: - resolution: {integrity: sha512-Wy/z0EL5qZYLX66dVnEg9riiwls5IYnziwuju2oUiuxVc+/edvqXa04qNtbrs0Ukatg5HEzqT94Zs7J207dN5Q==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [mips64el] os: [linux] @@ -3774,18 +3550,6 @@ packages: /@esbuild/linux-ppc64@0.18.20: resolution: {integrity: sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-ppc64@0.19.8: - resolution: {integrity: sha512-ETaW6245wK23YIEufhMQ3HSeHO7NgsLx8gygBVldRHKhOlD1oNeNy/P67mIh1zPn2Hr2HLieQrt6tWrVwuqrxg==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [ppc64] os: [linux] @@ -3813,18 +3577,6 @@ packages: /@esbuild/linux-riscv64@0.18.20: resolution: {integrity: sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-riscv64@0.19.8: - resolution: {integrity: sha512-T2DRQk55SgoleTP+DtPlMrxi/5r9AeFgkhkZ/B0ap99zmxtxdOixOMI570VjdRCs9pE4Wdkz7JYrsPvsl7eESg==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [riscv64] os: [linux] @@ -3852,18 +3604,6 @@ packages: /@esbuild/linux-s390x@0.18.20: resolution: {integrity: sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-s390x@0.19.8: - resolution: {integrity: sha512-NPxbdmmo3Bk7mbNeHmcCd7R7fptJaczPYBaELk6NcXxy7HLNyWwCyDJ/Xx+/YcNH7Im5dHdx9gZ5xIwyliQCbg==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [s390x] os: [linux] @@ -3891,18 +3631,6 @@ packages: /@esbuild/linux-x64@0.18.20: resolution: {integrity: sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-x64@0.19.8: - resolution: {integrity: sha512-lytMAVOM3b1gPypL2TRmZ5rnXl7+6IIk8uB3eLsV1JwcizuolblXRrc5ShPrO9ls/b+RTp+E6gbsuLWHWi2zGg==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [x64] os: [linux] @@ -3930,18 +3658,6 @@ packages: /@esbuild/netbsd-x64@0.18.20: resolution: {integrity: sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - /@esbuild/netbsd-x64@0.19.8: - resolution: {integrity: sha512-hvWVo2VsXz/8NVt1UhLzxwAfo5sioj92uo0bCfLibB0xlOmimU/DeAEsQILlBQvkhrGjamP0/el5HU76HAitGw==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [x64] os: [netbsd] @@ -3969,18 +3685,6 @@ packages: /@esbuild/openbsd-x64@0.18.20: resolution: {integrity: sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - /@esbuild/openbsd-x64@0.19.8: - resolution: {integrity: sha512-/7Y7u77rdvmGTxR83PgaSvSBJCC2L3Kb1M/+dmSIvRvQPXXCuC97QAwMugBNG0yGcbEGfFBH7ojPzAOxfGNkwQ==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [x64] os: [openbsd] @@ -4008,18 +3712,6 @@ packages: /@esbuild/sunos-x64@0.18.20: resolution: {integrity: sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - /@esbuild/sunos-x64@0.19.8: - resolution: {integrity: sha512-9Lc4s7Oi98GqFA4HzA/W2JHIYfnXbUYgekUP/Sm4BG9sfLjyv6GKKHKKVs83SMicBF2JwAX6A1PuOLMqpD001w==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [x64] os: [sunos] @@ -4047,18 +3739,6 @@ packages: /@esbuild/win32-arm64@0.18.20: resolution: {integrity: sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /@esbuild/win32-arm64@0.19.8: - resolution: {integrity: sha512-rq6WzBGjSzihI9deW3fC2Gqiak68+b7qo5/3kmB6Gvbh/NYPA0sJhrnp7wgV4bNwjqM+R2AApXGxMO7ZoGhIJg==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [arm64] os: [win32] @@ -4086,18 +3766,6 @@ packages: /@esbuild/win32-ia32@0.18.20: resolution: {integrity: sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /@esbuild/win32-ia32@0.19.8: - resolution: {integrity: sha512-AIAbverbg5jMvJznYiGhrd3sumfwWs8572mIJL5NQjJa06P8KfCPWZQ0NwZbPQnbQi9OWSZhFVSUWjjIrn4hSw==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [ia32] os: [win32] @@ -4125,18 +3793,6 @@ packages: /@esbuild/win32-x64@0.18.20: resolution: {integrity: sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==} -<<<<<<< HEAD - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /@esbuild/win32-x64@0.19.8: - resolution: {integrity: sha512-bfZ0cQ1uZs2PqpulNL5j/3w+GDhP36k1K5c38QdQg+Swy51jFZWWeIkteNsufkQxp986wnqRRsb/bHbY1WQ7TA==} -======= ->>>>>>> origin/main engines: {node: '>=12'} cpu: [x64] os: [win32] @@ -4258,7 +3914,7 @@ packages: send: 0.18.0(supports-color@6.1.0) slugify: 1.6.6 structured-headers: 0.4.1 - tar: 6.1.14 + tar: 6.2.1 tempy: 0.7.1 terminal-link: 2.1.1 text-table: 0.2.0 @@ -4555,11 +4211,10 @@ packages: js-yaml: 4.1.0 dev: false -<<<<<<< HEAD /@fastify/deepmerge@1.3.0: resolution: {integrity: sha512-J8TOSBq3SoZbDhM9+R/u77hP93gz/rajSA+K2kGyijPpORPWUXHUpTaleoj+92As0S9uPRP7Oi8IqMf0u+ro6A==} dev: true -======= + /@floating-ui/core@1.6.2: resolution: {integrity: sha512-+2XpQV9LLZeanU4ZevzRnGFg2neDeKHgFLjP6YLW+tly0IvrhqT4u8enLGjLH3qeh85g19xY5rsAusfwTdn5lg==} dependencies: @@ -4587,7 +4242,6 @@ packages: /@floating-ui/utils@0.2.2: resolution: {integrity: sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==} dev: false ->>>>>>> origin/main /@formatjs/ecma402-abstract@1.11.4: resolution: {integrity: sha512-EBikYFp2JCdIfGEb5G9dyCkTGDmC57KSHhRQOC3aYxoPWVZvfWCDjZwkGYHN7Lis/fmuWl906bnNTJifDQ3sXw==} @@ -5177,15 +4831,6 @@ packages: '@types/yargs': 17.0.32 chalk: 4.1.2 - /@jridgewell/gen-mapping@0.3.3: - resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} - engines: {node: '>=6.0.0'} - dependencies: - '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.18 - dev: true - /@jridgewell/gen-mapping@0.3.5: resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} engines: {node: '>=6.0.0'} @@ -5197,22 +4842,19 @@ packages: /@jridgewell/resolve-uri@3.1.0: resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==} engines: {node: '>=6.0.0'} + dev: false /@jridgewell/resolve-uri@3.1.2: resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} engines: {node: '>=6.0.0'} - /@jridgewell/set-array@1.1.2: - resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} - engines: {node: '>=6.0.0'} - dev: true - /@jridgewell/set-array@1.2.1: resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} engines: {node: '>=6.0.0'} /@jridgewell/sourcemap-codec@1.4.14: resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} + dev: false /@jridgewell/sourcemap-codec@1.4.15: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} @@ -5222,6 +4864,7 @@ packages: dependencies: '@jridgewell/resolve-uri': 3.1.0 '@jridgewell/sourcemap-codec': 1.4.14 + dev: false /@jridgewell/trace-mapping@0.3.25: resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} @@ -6885,30 +6528,6 @@ packages: rollup: 4.18.0 dev: true -<<<<<<< HEAD - /@rollup/pluginutils@4.2.1: - resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} - engines: {node: '>= 8.0.0'} - dependencies: - estree-walker: 2.0.2 - picomatch: 2.3.1 -======= - /@rollup/pluginutils@5.0.5(rollup@4.18.0): - resolution: {integrity: sha512-6aEYR910NyP73oHiJglti74iRyOwgFU4x3meH/H8OJx6Ry0j6cOVZ5X/wTvub7G7Ao6qaHBEaNsV3GLJkSsF+Q==} - engines: {node: '>=14.0.0'} - peerDependencies: - rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 - peerDependenciesMeta: - rollup: - optional: true - dependencies: - '@types/estree': 1.0.5 - estree-walker: 2.0.2 - picomatch: 2.3.1 - rollup: 4.18.0 ->>>>>>> origin/main - dev: true - /@rollup/pluginutils@5.1.0(rollup@4.18.0): resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} engines: {node: '>=14.0.0'} @@ -7144,18 +6763,8 @@ packages: engines: {node: '>=18'} dev: true -<<<<<<< HEAD - /@sinonjs/commons@2.0.0: - resolution: {integrity: sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg==} -======= - /@sindresorhus/merge-streams@4.0.0: - resolution: {integrity: sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==} - engines: {node: '>=18'} - dev: true - /@sinonjs/commons@3.0.1: resolution: {integrity: sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==} ->>>>>>> origin/main dependencies: type-detect: 4.0.8 dev: true @@ -7172,7 +6781,6 @@ packages: peerDependencies: size-limit: 11.1.4 dependencies: -<<<<<<< HEAD esbuild: 0.21.5 nanoid: 5.0.7 size-limit: 11.1.4 @@ -7196,11 +6804,6 @@ packages: size-limit: 11.1.4 dependencies: size-limit: 11.1.4 -======= - debug: 4.3.5(supports-color@6.1.0) - transitivePeerDependencies: - - supports-color ->>>>>>> origin/main dev: true /@size-limit/file@8.2.6(size-limit@8.2.6): @@ -7233,8 +6836,8 @@ packages: size-limit: 8.2.6 dev: true - /@swc/core-darwin-arm64@1.5.29: - resolution: {integrity: sha512-6F/sSxpHaq3nzg2ADv9FHLi4Fu2A8w8vP8Ich8gIl16D2htStlwnaPmCLjRswO+cFkzgVqy/l01gzNGWd4DFqA==} + /@swc/core-darwin-arm64@1.6.5: + resolution: {integrity: sha512-RGQhMdni2v1/ANQ/2K+F+QYdzaucekYBewZcX1ogqJ8G5sbPaBdYdDN1qQ4kHLCIkPtGP6qC7c71qPEqL2RidQ==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] @@ -7242,8 +6845,8 @@ packages: dev: true optional: true - /@swc/core-darwin-x64@1.5.29: - resolution: {integrity: sha512-rF/rXkvUOTdTIfoYbmszbSUGsCyvqACqy1VeP3nXONS+LxFl4bRmRcUTRrblL7IE5RTMCKUuPbqbQSE2hK7bqg==} + /@swc/core-darwin-x64@1.6.5: + resolution: {integrity: sha512-/pSN0/Jtcbbb9+ovS9rKxR3qertpFAM3OEJr/+Dh/8yy7jK5G5EFPIrfsw/7Q5987ERPIJIH6BspK2CBB2tgcg==} engines: {node: '>=10'} cpu: [x64] os: [darwin] @@ -7251,8 +6854,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm-gnueabihf@1.5.29: - resolution: {integrity: sha512-2OAPL8iWBsmmwkjGXqvuUhbmmoLxS1xNXiMq87EsnCNMAKohGc7wJkdAOUL6J/YFpean/vwMWg64rJD4pycBeg==} + /@swc/core-linux-arm-gnueabihf@1.6.5: + resolution: {integrity: sha512-B0g/dROCE747RRegs/jPHuKJgwXLracDhnqQa80kFdgWEMjlcb7OMCgs5OX86yJGRS4qcYbiMGD0Pp7Kbqn3yw==} engines: {node: '>=10'} cpu: [arm] os: [linux] @@ -7260,8 +6863,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm64-gnu@1.5.29: - resolution: {integrity: sha512-eH/Q9+8O5qhSxMestZnhuS1xqQMr6M7SolZYxiXJqxArXYILLCF+nq2R9SxuMl0CfjHSpb6+hHPk/HXy54eIRA==} + /@swc/core-linux-arm64-gnu@1.6.5: + resolution: {integrity: sha512-W8meapgXTq8AOtSvDG4yKR8ant2WWD++yOjgzAleB5VAC+oC+aa8YJROGxj8HepurU8kurqzcialwoMeq5SZZQ==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -7269,8 +6872,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm64-musl@1.5.29: - resolution: {integrity: sha512-TERh2OICAJz+SdDIK9+0GyTUwF6r4xDlFmpoiHKHrrD/Hh3u+6Zue0d7jQ/he/i80GDn4tJQkHlZys+RZL5UZg==} + /@swc/core-linux-arm64-musl@1.6.5: + resolution: {integrity: sha512-jyCKqoX50Fg8rJUQqh4u5PqnE7nqYKXHjVH2WcYr114/MU21zlsI+YL6aOQU1XP8bJQ2gPQ1rnlnGJdEHiKS/w==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -7278,8 +6881,8 @@ packages: dev: true optional: true - /@swc/core-linux-x64-gnu@1.5.29: - resolution: {integrity: sha512-WMDPqU7Ji9dJpA+Llek2p9t7pcy7Bob8ggPUvgsIlv3R/eesF9DIzSbrgl6j3EAEPB9LFdSafsgf6kT/qnvqFg==} + /@swc/core-linux-x64-gnu@1.6.5: + resolution: {integrity: sha512-G6HmUn/RRIlXC0YYFfBz2qh6OZkHS/KUPkhoG4X9ADcgWXXjOFh6JrefwsYj8VBAJEnr5iewzjNfj+nztwHaeA==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -7287,8 +6890,8 @@ packages: dev: true optional: true - /@swc/core-linux-x64-musl@1.5.29: - resolution: {integrity: sha512-DO14glwpdKY4POSN0201OnGg1+ziaSVr6/RFzuSLggshwXeeyVORiHv3baj7NENhJhWhUy3NZlDsXLnRFkmhHQ==} + /@swc/core-linux-x64-musl@1.6.5: + resolution: {integrity: sha512-AQpBjBnelQDSbeTJA50AXdS6+CP66LsXIMNTwhPSgUfE7Bx1ggZV11Fsi4Q5SGcs6a8Qw1cuYKN57ZfZC5QOuA==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -7296,8 +6899,8 @@ packages: dev: true optional: true - /@swc/core-win32-arm64-msvc@1.5.29: - resolution: {integrity: sha512-V3Y1+a1zG1zpYXUMqPIHEMEOd+rHoVnIpO/KTyFwAmKVu8v+/xPEVx/AGoYE67x4vDAAvPQrKI3Aokilqa5yVg==} + /@swc/core-win32-arm64-msvc@1.6.5: + resolution: {integrity: sha512-MZTWM8kUwS30pVrtbzSGEXtek46aXNb/mT9D6rsS7NvOuv2w+qZhjR1rzf4LNbbn5f8VnR4Nac1WIOYZmfC5ng==} engines: {node: '>=10'} cpu: [arm64] os: [win32] @@ -7305,8 +6908,8 @@ packages: dev: true optional: true - /@swc/core-win32-ia32-msvc@1.5.29: - resolution: {integrity: sha512-OrM6yfXw4wXhnVFosOJzarw0Fdz5Y0okgHfn9oFbTPJhoqxV5Rdmd6kXxWu2RiVKs6kGSJFZXHDeUq2w5rTIMg==} + /@swc/core-win32-ia32-msvc@1.6.5: + resolution: {integrity: sha512-WZdu4gISAr3yOm1fVwKhhk6+MrP7kVX0KMP7+ZQFTN5zXQEiDSDunEJKVgjMVj3vlR+6mnAqa/L0V9Qa8+zKlQ==} engines: {node: '>=10'} cpu: [ia32] os: [win32] @@ -7314,8 +6917,8 @@ packages: dev: true optional: true - /@swc/core-win32-x64-msvc@1.5.29: - resolution: {integrity: sha512-eD/gnxqKyZQQR0hR7TMkIlJ+nCF9dzYmVVNbYZWuA1Xy94aBPUsEk3Uw3oG7q6R3ErrEUPP0FNf2ztEnv+I+dw==} + /@swc/core-win32-x64-msvc@1.6.5: + resolution: {integrity: sha512-ezXgucnMTzlFIxQZw7ls/5r2hseFaRoDL04cuXUOs97E8r+nJSmFsRQm/ygH5jBeXNo59nyZCalrjJAjwfgACA==} engines: {node: '>=10'} cpu: [x64] os: [win32] @@ -7323,8 +6926,8 @@ packages: dev: true optional: true - /@swc/core@1.5.29(@swc/helpers@0.5.11): - resolution: {integrity: sha512-nvTtHJI43DUSOAf3h9XsqYg8YXKc0/N4il9y4j0xAkO0ekgDNo+3+jbw6MInawjKJF9uulyr+f5bAutTsOKVlw==} + /@swc/core@1.6.5(@swc/helpers@0.5.11): + resolution: {integrity: sha512-tyVvUK/HDOUUsK6/GmWvnqUtD9oDpPUA4f7f7JCOV8hXxtfjMtAZeBKf93yrB1XZet69TDR7EN0hFC6i4MF0Ig==} engines: {node: '>=10'} requiresBuild: true peerDependencies: @@ -7335,18 +6938,18 @@ packages: dependencies: '@swc/counter': 0.1.3 '@swc/helpers': 0.5.11 - '@swc/types': 0.1.8 + '@swc/types': 0.1.9 optionalDependencies: - '@swc/core-darwin-arm64': 1.5.29 - '@swc/core-darwin-x64': 1.5.29 - '@swc/core-linux-arm-gnueabihf': 1.5.29 - '@swc/core-linux-arm64-gnu': 1.5.29 - '@swc/core-linux-arm64-musl': 1.5.29 - '@swc/core-linux-x64-gnu': 1.5.29 - '@swc/core-linux-x64-musl': 1.5.29 - '@swc/core-win32-arm64-msvc': 1.5.29 - '@swc/core-win32-ia32-msvc': 1.5.29 - '@swc/core-win32-x64-msvc': 1.5.29 + '@swc/core-darwin-arm64': 1.6.5 + '@swc/core-darwin-x64': 1.6.5 + '@swc/core-linux-arm-gnueabihf': 1.6.5 + '@swc/core-linux-arm64-gnu': 1.6.5 + '@swc/core-linux-arm64-musl': 1.6.5 + '@swc/core-linux-x64-gnu': 1.6.5 + '@swc/core-linux-x64-musl': 1.6.5 + '@swc/core-win32-arm64-msvc': 1.6.5 + '@swc/core-win32-ia32-msvc': 1.6.5 + '@swc/core-win32-x64-msvc': 1.6.5 dev: true /@swc/counter@0.1.3: @@ -7364,26 +6967,14 @@ packages: '@swc/counter': 0.1.3 tslib: 2.6.3 -<<<<<<< HEAD - /@swc/types@0.1.8: - resolution: {integrity: sha512-RNFA3+7OJFNYY78x0FYwi1Ow+iF1eF5WvmfY1nXPOEH4R2p/D4Cr1vzje7dNAI2aLFqpv8Wyz4oKSWqIZArpQA==} + /@swc/types@0.1.9: + resolution: {integrity: sha512-qKnCno++jzcJ4lM4NTfYifm1EFSCeIfKiAHAfkENZAV5Kl9PjJIyd2yeeVv6c/2CckuLyv2NmRC5pv6pm2WQBg==} dependencies: '@swc/counter': 0.1.3 dev: true - /@szmarczak/http-timer@4.0.6: - resolution: {integrity: sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==} - engines: {node: '>=10'} - dependencies: - defer-to-connect: 2.0.1 - dev: true - - /@tailwindcss/typography@0.5.9(tailwindcss@3.3.2): - resolution: {integrity: sha512-t8Sg3DyynFysV9f4JDOVISGsjazNb48AeIYQwcL+Bsq5uf4RYL75C1giZ43KISjeDGBaTN3Kxh7Xj/vRSMJUUg==} -======= /@tanstack/react-virtual@3.5.1(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-jIsuhfgy8GqA67PdWqg73ZB2LFE+HD9hjWL1L6ifEIZVyZVAKpYmgUG4WsKQ005aEyImJmbuimPiEvc57IY0Aw==} ->>>>>>> origin/main peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -7535,29 +7126,6 @@ packages: dependencies: '@types/ms': 0.7.31 -<<<<<<< HEAD - /@types/estree-jsx@0.0.1: - resolution: {integrity: sha512-gcLAYiMfQklDCPjQegGn0TBAn9it05ISEsEhlKQUddIk7o2XDokOcTN7HBO8tznM0D9dGezvHEfRZBfZf6me0A==} - dependencies: - '@types/estree': 1.0.5 - dev: true - -======= - /@types/eslint-scope@3.7.4: - resolution: {integrity: sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==} - dependencies: - '@types/eslint': 8.40.2 - '@types/estree': 1.0.5 - dev: true - - /@types/eslint@8.40.2: - resolution: {integrity: sha512-PRVjQ4Eh9z9pmmtaq8nTjZjQwKFk7YIHIud3lRoKRBgUQjgjRmoGxxGEPXQkF+lH7QkHJRNr5F4aBgYCW0lqpQ==} - dependencies: - '@types/estree': 1.0.5 - '@types/json-schema': 7.0.12 - dev: true - ->>>>>>> origin/main /@types/estree-jsx@1.0.0: resolution: {integrity: sha512-3qvGd0z8F2ENTGr/GG1yViqfiKmRfrXVx5sJyHGFu3z7m5g5utCQtGp/g29JnjflhtQJBv1WDQukHiT58xPcYQ==} dependencies: @@ -7793,46 +7361,7 @@ packages: /@types/yargs@17.0.32: resolution: {integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==} dependencies: - '@types/yargs-parser': 21.0.3 - -<<<<<<< HEAD - /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.54.0)(typescript@5.4.5): - resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha - eslint: ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@eslint-community/regexpp': 4.7.0 - '@typescript-eslint/parser': 6.21.0(eslint@8.54.0)(typescript@5.4.5) - '@typescript-eslint/scope-manager': 6.21.0 - '@typescript-eslint/type-utils': 6.21.0(eslint@8.54.0)(typescript@5.4.5) - '@typescript-eslint/utils': 6.21.0(eslint@8.54.0)(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 6.21.0 - debug: 4.3.4 - eslint: 8.54.0 - graphemer: 1.4.0 - ignore: 5.2.4 - natural-compare: 1.4.0 - semver: 7.5.4 - ts-api-utils: 1.0.2(typescript@5.4.5) - typescript: 5.4.5 - transitivePeerDependencies: - - supports-color - dev: true -======= - /@types/yauzl@2.10.3: - resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} - requiresBuild: true - dependencies: - '@types/node': 20.14.5 - dev: true - optional: true ->>>>>>> origin/main + '@types/yargs-parser': 21.0.3 /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.4.5): resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==} @@ -8240,7 +7769,7 @@ packages: react: optional: true dependencies: - next: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) + next: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) react: 18.3.1 server-only: 0.0.1 dev: false @@ -8269,7 +7798,7 @@ packages: vue-router: optional: true dependencies: - next: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) + next: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) react: 18.3.1 dev: false @@ -8522,19 +8051,7 @@ packages: acorn-walk: 8.3.3 dev: true -<<<<<<< HEAD - /acorn-jsx@5.3.2(acorn@8.10.0): -======= - /acorn-import-assertions@1.9.0(acorn@8.10.0): - resolution: {integrity: sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==} - peerDependencies: - acorn: ^8 - dependencies: - acorn: 8.10.0 - dev: true - /acorn-jsx@5.3.2(acorn@8.12.0): ->>>>>>> origin/main resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -8563,6 +8080,7 @@ packages: resolution: {integrity: sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==} engines: {node: '>=0.4.0'} hasBin: true + dev: false /acorn@8.12.0: resolution: {integrity: sha512-RTvkC4w+KNXrM39/lWCUaG0IbRkWdCv7W/IOW9oU6SawyxulvkQy5HQPVTKxEjczcUvapcrw3cFx/60VN/NRNw==} @@ -9200,6 +8718,7 @@ packages: semver: 6.3.1 transitivePeerDependencies: - supports-color + dev: false /babel-plugin-polyfill-corejs3@0.10.4(@babel/core@7.24.7): resolution: {integrity: sha512-25J6I8NGfa5YkCDogHRID3fVCadIR8/pGl1/spvCkzb6lVn6SR3ojpx9nOn9iEBcUsjY24AmdKm5khcfKdylcg==} @@ -9211,6 +8730,7 @@ packages: core-js-compat: 3.37.1 transitivePeerDependencies: - supports-color + dev: false /babel-plugin-polyfill-corejs3@0.6.0(@babel/core@7.24.7): resolution: {integrity: sha512-+eHqR6OPcBhJOGgsIar7xoAB1GcSwVUA3XjAd7HJNzOXT4wv6/H7KIdA/Nc60cvUlDbKApmqNvD1B1bzOt4nyA==} @@ -9244,6 +8764,7 @@ packages: '@babel/helper-define-polyfill-provider': 0.6.2(@babel/core@7.24.7) transitivePeerDependencies: - supports-color + dev: false /babel-plugin-react-native-web@0.18.12: resolution: {integrity: sha512-4djr9G6fMdwQoD6LQ7hOKAm39+y12flWgovAqS1k5O8f42YQ3A1FFMyV5kKfetZuGhZO5BmNmOdRRZQ1TixtDw==} @@ -9623,17 +9144,6 @@ packages: node-releases: 1.1.77 dev: false - /browserslist@4.21.9: - resolution: {integrity: sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} - hasBin: true - dependencies: - caniuse-lite: 1.0.30001636 - electron-to-chromium: 1.4.442 - node-releases: 2.0.12 - update-browserslist-db: 1.0.11(browserslist@4.21.9) - dev: true - /browserslist@4.23.1: resolution: {integrity: sha512-TUfofFo/KsK/bWZ9TWQ5O26tsWW4Uhmt8IYklbnUa70udB6P2wA7w7o4PY4muaEPBQaAX+CEnmmIA41NVHtPVw==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} @@ -9708,8 +9218,8 @@ packages: semver: 7.6.2 dev: true - /bunchee@5.2.0(typescript@5.4.5): - resolution: {integrity: sha512-iImc0YzGbYa6I4q97OwGYPvFl20k9cN/1c/D7pW8HYpawF4eaWkkd9KlsEuTks5coM6n0O3CUTjSN7d411zVcw==} + /bunchee@5.2.2(typescript@5.4.5): + resolution: {integrity: sha512-Xc3Rms+VFXVM3ubfim0G7blq0zJxVsojmN3zyqzEgD2XaxpWduF2CsKCDrA8XvfbOjjMJ+z6rqBU3sNrXSOu7w==} engines: {node: '>= 18.0.0'} hasBin: true peerDependencies: @@ -9726,7 +9236,7 @@ packages: '@rollup/plugin-replace': 5.0.7(rollup@4.18.0) '@rollup/plugin-wasm': 6.2.2(rollup@4.18.0) '@rollup/pluginutils': 5.1.0(rollup@4.18.0) - '@swc/core': 1.5.29(@swc/helpers@0.5.11) + '@swc/core': 1.6.5(@swc/helpers@0.5.11) '@swc/helpers': 0.5.11 arg: 5.0.2 clean-css: 5.3.3 @@ -9735,7 +9245,7 @@ packages: pretty-bytes: 5.6.0 rollup: 4.18.0 rollup-plugin-dts: 6.1.1(rollup@4.18.0)(typescript@5.4.5) - rollup-plugin-swc3: 0.11.2(@swc/core@1.5.29)(rollup@4.18.0) + rollup-plugin-swc3: 0.11.2(@swc/core@1.6.5)(rollup@4.18.0) rollup-preserve-directives: 1.1.1(rollup@4.18.0) tslib: 2.6.3 typescript: 5.4.5 @@ -10666,6 +10176,7 @@ packages: resolution: {integrity: sha512-9TNiImhKvQqSUkOvk/mMRZzOANTiEVC7WaBNhHcKM7x+/5E1l5NvsysR19zuDQScE8k+kfQXWRN3AtS/eOSHpg==} dependencies: browserslist: 4.23.1 + dev: false /core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} @@ -11397,18 +10908,6 @@ packages: ms: 2.1.3 supports-color: 6.1.0 - /debug@4.3.4: - resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} - engines: {node: '>=6.0'} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - dependencies: - ms: 2.1.2 - dev: true - /debug@4.3.5(supports-color@6.1.0): resolution: {integrity: sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==} engines: {node: '>=6.0'} @@ -11865,6 +11364,7 @@ packages: /electron-to-chromium@1.4.442: resolution: {integrity: sha512-RkrZF//Ya+0aJq2NM3OdisNh5ZodZq1rdXOS96G8DdDgpDKqKE81yTbbQ3F/4CKm1JBPsGu1Lp/akkna2xO06Q==} + dev: false /electron-to-chromium@1.4.806: resolution: {integrity: sha512-nkoEX2QIB8kwCOtvtgwhXWy2IHVcOLQZu9Qo36uaGB835mdX/h8uLRlosL6QIhLVUnAiicXRW00PwaPZC74Nrg==} @@ -11938,14 +11438,6 @@ packages: tapable: 1.1.3 dev: false - /enhanced-resolve@5.15.0: - resolution: {integrity: sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==} - engines: {node: '>=10.13.0'} - dependencies: - graceful-fs: 4.2.11 - tapable: 2.2.1 - dev: true - /enhanced-resolve@5.17.0: resolution: {integrity: sha512-dwDPwZL0dmye8Txp2gzFmA6sxALaSvdRDjPH0viLcKrtlOL3tw62nWWweVD1SdILDTJrbrL6tdWVN58Wo6U3eA==} engines: {node: '>=10.13.0'} @@ -12141,12 +11633,6 @@ packages: safe-array-concat: 1.1.2 dev: true -<<<<<<< HEAD -======= - /es-module-lexer@1.3.0: - resolution: {integrity: sha512-vZK7T0N2CBmBOixhmjdqx2gWVbFZ4DXZ/NyRMZVlJXPa7CyFS+/a4QQsDGDQy9ZfEzxFuNEsMLeQJnKP2p5/JA==} - dev: true - /es-module-lexer@1.5.3: resolution: {integrity: sha512-i1gCgmR9dCl6Vil6UKPI/trA69s08g/syhiDK9TG0Nf1RJjjFI+AzoWW7sPufzkgYAn861skuCwJa0pIIHYxvg==} dev: true @@ -12157,7 +11643,6 @@ packages: dependencies: es-errors: 1.3.0 ->>>>>>> origin/main /es-set-tostringtag@2.0.1: resolution: {integrity: sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==} engines: {node: '>= 0.4'} @@ -12238,39 +11723,6 @@ packages: /esbuild@0.18.20: resolution: {integrity: sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==} -<<<<<<< HEAD - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/android-arm': 0.18.20 - '@esbuild/android-arm64': 0.18.20 - '@esbuild/android-x64': 0.18.20 - '@esbuild/darwin-arm64': 0.18.20 - '@esbuild/darwin-x64': 0.18.20 - '@esbuild/freebsd-arm64': 0.18.20 - '@esbuild/freebsd-x64': 0.18.20 - '@esbuild/linux-arm': 0.18.20 - '@esbuild/linux-arm64': 0.18.20 - '@esbuild/linux-ia32': 0.18.20 - '@esbuild/linux-loong64': 0.18.20 - '@esbuild/linux-mips64el': 0.18.20 - '@esbuild/linux-ppc64': 0.18.20 - '@esbuild/linux-riscv64': 0.18.20 - '@esbuild/linux-s390x': 0.18.20 - '@esbuild/linux-x64': 0.18.20 - '@esbuild/netbsd-x64': 0.18.20 - '@esbuild/openbsd-x64': 0.18.20 - '@esbuild/sunos-x64': 0.18.20 - '@esbuild/win32-arm64': 0.18.20 - '@esbuild/win32-ia32': 0.18.20 - '@esbuild/win32-x64': 0.18.20 - dev: true - - /esbuild@0.19.8: - resolution: {integrity: sha512-l7iffQpT2OrZfH2rXIp7/FkmaeZM0vxbxN9KfiCwGYuZqzMg/JdvX26R31Zxn/Pxvsrg3Y9N6XTcnknqDyyv4w==} -======= ->>>>>>> origin/main engines: {node: '>=12'} hasBin: true requiresBuild: true @@ -12333,6 +11785,7 @@ packages: /escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} + dev: false /escalade@3.1.2: resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} @@ -13270,23 +12723,6 @@ packages: - supports-color dev: false -<<<<<<< HEAD -======= - /extract-zip@2.0.1: - resolution: {integrity: sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==} - engines: {node: '>= 10.17.0'} - hasBin: true - dependencies: - debug: 4.3.5(supports-color@6.1.0) - get-stream: 5.2.0 - yauzl: 2.10.0 - optionalDependencies: - '@types/yauzl': 2.10.3 - transitivePeerDependencies: - - supports-color - dev: true - ->>>>>>> origin/main /fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} @@ -13395,21 +12831,6 @@ packages: resolution: {integrity: sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw==} dev: false -<<<<<<< HEAD - /figures@3.2.0: - resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==} - engines: {node: '>=8'} - dependencies: - escape-string-regexp: 1.0.5 -======= - /figures@6.1.0: - resolution: {integrity: sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==} - engines: {node: '>=18'} - dependencies: - is-unicode-supported: 2.0.0 ->>>>>>> origin/main - dev: true - /file-entry-cache@6.0.1: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} engines: {node: ^10.12.0 || >=12.0.0} @@ -13945,13 +13366,6 @@ packages: pump: 3.0.0 dev: false - /get-stream@5.2.0: - resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==} - engines: {node: '>=8'} - dependencies: - pump: 3.0.0 - dev: true - /get-stream@6.0.1: resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} engines: {node: '>=10'} @@ -13977,25 +13391,9 @@ packages: call-bind: 1.0.2 get-intrinsic: 1.2.1 -<<<<<<< HEAD - /get-tsconfig@4.5.0: - resolution: {integrity: sha512-MjhiaIWCJ1sAU4pIQ5i5OfOuHHxVo1oYeNsWTON7jxYkod8pHocXeh+SSbmu5OZZZK73B6cbJ2XADzXehLyovQ==} - dev: true - - /get-tsconfig@4.7.5: - resolution: {integrity: sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw==} - dependencies: - resolve-pkg-maps: 1.0.0 - dev: true - - /get-uri@3.0.2: - resolution: {integrity: sha512-+5s0SJbGoyiJTZZ2JTpFPLMPSch72KEqGOTvQsBqg0RBWvwhWUSYZFAtz3TPW0GXJuLBJPts1E241iHg+VRfhg==} - engines: {node: '>= 6'} -======= /get-symbol-description@1.0.2: resolution: {integrity: sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==} engines: {node: '>= 0.4'} ->>>>>>> origin/main dependencies: call-bind: 1.0.7 es-errors: 1.3.0 @@ -14077,10 +13475,6 @@ packages: dependencies: is-glob: 4.0.3 - /glob-to-regexp@0.4.1: - resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} - dev: true - /glob@10.3.10: resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==} engines: {node: '>=16 || 14 >=14.17'} @@ -15259,12 +14653,6 @@ packages: rgba-regex: 1.0.0 dev: false - /is-core-module@2.12.0: - resolution: {integrity: sha512-RECHCBCd/viahWmwj6enj19sKbHfJrddi/6cBDsNTKbNq0f7VeaUkBo60BqzvPqo/W54ChS62Z5qyun7cfOMqQ==} - dependencies: - has: 1.0.3 - dev: true - /is-core-module@2.13.1: resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} dependencies: @@ -16645,11 +16033,6 @@ packages: resolution: {integrity: sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==} engines: {node: '>=14'} - /lilconfig@3.1.2: - resolution: {integrity: sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==} - engines: {node: '>=14'} - dev: true - /lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} @@ -18273,12 +17656,6 @@ packages: dev: false optional: true - /nanoid@3.3.6: - resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==} - engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} - hasBin: true - dev: true - /nanoid@3.3.7: resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -18362,13 +17739,8 @@ packages: '@babel/runtime': 7.24.7 '@panva/hkdf': 1.2.0 cookie: 0.5.0 -<<<<<<< HEAD - jose: 4.14.4 - next: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.1)(react@18.3.1) -======= jose: 4.15.7 - next: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) ->>>>>>> origin/main + next: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) oauth: 0.9.15 openid-client: 5.6.5 preact: 10.22.0 @@ -18402,11 +17774,7 @@ packages: react: '>=16.0.0' react-dom: '>=16.0.0' dependencies: -<<<<<<< HEAD - next: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.1)(react@18.3.1) -======= - next: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) ->>>>>>> origin/main + next: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false @@ -18422,11 +17790,7 @@ packages: '@next/env': 13.5.6 fast-glob: 3.3.2 minimist: 1.2.8 -<<<<<<< HEAD - next: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.1)(react@18.3.1) -======= - next: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) ->>>>>>> origin/main + next: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) dev: true /next-themes@0.2.1(next@14.2.4)(react-dom@18.3.1)(react@18.3.1): @@ -18436,18 +17800,13 @@ packages: react: '*' react-dom: '*' dependencies: -<<<<<<< HEAD - next: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.1)(react@18.3.1) -======= - next: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) ->>>>>>> origin/main + next: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) dev: false -<<<<<<< HEAD - /next@14.2.3(@babel/core@7.24.7)(@playwright/test@1.43.1)(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-dowFkFTR8v79NPJO4QsBUtxv0g9BrS/phluVpMAt2ku7H+cbcBJlopXjkWlwxrk/xGqMemr7JkGPGemPrLLX7A==} + /next@14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1): + resolution: {integrity: sha512-R8/V7vugY+822rsQGQCjoLhMuC9oFj9SOi4Cl4b2wjDrseD0LRZ10W7R6Czo4w9ZznVSshKjuIomsRjvm9EKJQ==} engines: {node: '>=18.17.0'} hasBin: true peerDependencies: @@ -18464,37 +17823,33 @@ packages: sass: optional: true dependencies: - '@next/env': 14.2.3 - '@playwright/test': 1.43.1 + '@next/env': 14.2.4 + '@playwright/test': 1.44.1 '@swc/helpers': 0.5.5 busboy: 1.6.0 - caniuse-lite: 1.0.30001579 + caniuse-lite: 1.0.30001636 graceful-fs: 4.2.11 postcss: 8.4.31 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) styled-jsx: 5.1.1(@babel/core@7.24.7)(react@18.3.1) optionalDependencies: - '@next/swc-darwin-arm64': 14.2.3 - '@next/swc-darwin-x64': 14.2.3 - '@next/swc-linux-arm64-gnu': 14.2.3 - '@next/swc-linux-arm64-musl': 14.2.3 - '@next/swc-linux-x64-gnu': 14.2.3 - '@next/swc-linux-x64-musl': 14.2.3 - '@next/swc-win32-arm64-msvc': 14.2.3 - '@next/swc-win32-ia32-msvc': 14.2.3 - '@next/swc-win32-x64-msvc': 14.2.3 + '@next/swc-darwin-arm64': 14.2.4 + '@next/swc-darwin-x64': 14.2.4 + '@next/swc-linux-arm64-gnu': 14.2.4 + '@next/swc-linux-arm64-musl': 14.2.4 + '@next/swc-linux-x64-gnu': 14.2.4 + '@next/swc-linux-x64-musl': 14.2.4 + '@next/swc-win32-arm64-msvc': 14.2.4 + '@next/swc-win32-ia32-msvc': 14.2.4 + '@next/swc-win32-x64-msvc': 14.2.4 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros dev: false - /next@14.2.3(@playwright/test@1.43.1)(react-dom@18.3.0)(react@18.3.0): - resolution: {integrity: sha512-dowFkFTR8v79NPJO4QsBUtxv0g9BrS/phluVpMAt2ku7H+cbcBJlopXjkWlwxrk/xGqMemr7JkGPGemPrLLX7A==} -======= - /next@14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1): + /next@14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-R8/V7vugY+822rsQGQCjoLhMuC9oFj9SOi4Cl4b2wjDrseD0LRZ10W7R6Czo4w9ZznVSshKjuIomsRjvm9EKJQ==} ->>>>>>> origin/main engines: {node: '>=18.17.0'} hasBin: true peerDependencies: @@ -18515,54 +17870,7 @@ packages: '@playwright/test': 1.44.1 '@swc/helpers': 0.5.5 busboy: 1.6.0 -<<<<<<< HEAD - caniuse-lite: 1.0.30001579 - graceful-fs: 4.2.11 - postcss: 8.4.31 - react: 18.3.0 - react-dom: 18.3.0(react@18.3.0) - styled-jsx: 5.1.1(react@18.3.0) - optionalDependencies: - '@next/swc-darwin-arm64': 14.2.3 - '@next/swc-darwin-x64': 14.2.3 - '@next/swc-linux-arm64-gnu': 14.2.3 - '@next/swc-linux-arm64-musl': 14.2.3 - '@next/swc-linux-x64-gnu': 14.2.3 - '@next/swc-linux-x64-musl': 14.2.3 - '@next/swc-win32-arm64-msvc': 14.2.3 - '@next/swc-win32-ia32-msvc': 14.2.3 - '@next/swc-win32-x64-msvc': 14.2.3 - transitivePeerDependencies: - - '@babel/core' - - babel-plugin-macros - dev: false - - /next@14.2.3(@playwright/test@1.43.1)(react-dom@18.3.1)(react@18.3.1): - resolution: {integrity: sha512-dowFkFTR8v79NPJO4QsBUtxv0g9BrS/phluVpMAt2ku7H+cbcBJlopXjkWlwxrk/xGqMemr7JkGPGemPrLLX7A==} - engines: {node: '>=18.17.0'} - hasBin: true - peerDependencies: - '@opentelemetry/api': ^1.1.0 - '@playwright/test': ^1.41.2 - react: ^18.2.0 - react-dom: ^18.2.0 - sass: ^1.3.0 - peerDependenciesMeta: - '@opentelemetry/api': - optional: true - '@playwright/test': - optional: true - sass: - optional: true - dependencies: - '@next/env': 14.2.3 - '@playwright/test': 1.43.1 - '@swc/helpers': 0.5.5 - busboy: 1.6.0 - caniuse-lite: 1.0.30001579 -======= caniuse-lite: 1.0.30001636 ->>>>>>> origin/main graceful-fs: 4.2.11 postcss: 8.4.31 react: 18.3.1 @@ -18598,19 +17906,11 @@ packages: focus-visible: 5.2.0 git-url-parse: 13.1.1 intersection-observer: 0.12.2 -<<<<<<< HEAD - match-sorter: 6.3.1 - next: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.1)(react@18.3.1) - next-seo: 6.0.0(next@14.2.3)(react-dom@18.3.1)(react@18.3.1) - next-themes: 0.2.1(next@14.2.3)(react-dom@18.3.1)(react@18.3.1) - nextra: 2.13.2(next@14.2.3)(react-dom@18.3.1)(react@18.3.1) -======= match-sorter: 6.3.4 - next: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) + next: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) next-seo: 6.5.0(next@14.2.4)(react-dom@18.3.1)(react@18.3.1) next-themes: 0.2.1(next@14.2.4)(react-dom@18.3.1)(react@18.3.1) nextra: 2.13.4(next@14.2.4)(react-dom@18.3.1)(react@18.3.1) ->>>>>>> origin/main react: 18.3.1 react-dom: 18.3.1(react@18.3.1) scroll-into-view-if-needed: 3.1.0 @@ -18637,11 +17937,7 @@ packages: gray-matter: 4.0.3 katex: 0.16.10 lodash.get: 4.4.2 -<<<<<<< HEAD - next: 14.2.3(@playwright/test@1.43.1)(react-dom@18.3.1)(react@18.3.1) -======= - next: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) ->>>>>>> origin/main + next: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) next-mdx-remote: 4.4.1(react-dom@18.3.1)(react@18.3.1) p-limit: 3.1.0 react: 18.3.1 @@ -18803,10 +18099,6 @@ packages: resolution: {integrity: sha512-rB1DUFUNAN4Gn9keO2K1efO35IDK7yKHCdCaIMvFO7yUYmmZYeDjnGKle26G4rwj+LKRQpjyUUvMkPglwGCYNQ==} dev: false - /node-releases@2.0.12: - resolution: {integrity: sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==} - dev: true - /node-releases@2.0.14: resolution: {integrity: sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==} @@ -20592,10 +19884,6 @@ packages: forwarded: 0.2.0 ipaddr.js: 1.9.1 - /proxy-from-env@1.1.0: - resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} - dev: true - /prr@1.0.1: resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==} dev: false @@ -20660,41 +19948,13 @@ packages: resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==} engines: {node: '>=6'} -<<<<<<< HEAD - /pure-rand@6.0.2: - resolution: {integrity: sha512-6Yg0ekpKICSjPswYOuC5sku/TSWaRYlA0qsXqJgM/d/4pLPHPuTxK7Nbf7jFKzAeedUhR8C7K9Uv63FBsSo8xQ==} -======= /punycode@2.3.1: resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} engines: {node: '>=6'} dev: true - /puppeteer-core@13.7.0: - resolution: {integrity: sha512-rXja4vcnAzFAP1OVLq/5dWNfwBGuzcOARJ6qGV7oAZhnLmVRU8G5MsdeQEAOy332ZhkIOnn9jp15R89LKHyp2Q==} - engines: {node: '>=10.18.1'} - dependencies: - cross-fetch: 3.1.5 - debug: 4.3.4 - devtools-protocol: 0.0.981744 - extract-zip: 2.0.1 - https-proxy-agent: 5.0.1 - pkg-dir: 4.2.0 - progress: 2.0.3 - proxy-from-env: 1.1.0 - rimraf: 3.0.2 - tar-fs: 2.1.1 - unbzip2-stream: 1.4.3 - ws: 8.5.0 - transitivePeerDependencies: - - bufferutil - - encoding - - supports-color - - utf-8-validate - dev: true - /pure-rand@6.1.0: resolution: {integrity: sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==} ->>>>>>> origin/main dev: true /q@1.5.1: @@ -21032,8 +20292,6 @@ packages: react-is: 18.2.0 dev: false -<<<<<<< HEAD -======= /react-style-singleton@2.2.1(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==} engines: {node: '>=10'} @@ -21051,15 +20309,6 @@ packages: tslib: 2.6.3 dev: false - /react@17.0.2: - resolution: {integrity: sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==} - engines: {node: '>=0.10.0'} - dependencies: - loose-envify: 1.4.0 - object-assign: 4.1.1 - dev: true - ->>>>>>> origin/main /react@18.1.0: resolution: {integrity: sha512-4oL8ivCz5ZEPyclFQXaNksK3adutVS8l2xzZU0cqEFrE9Sb7fC0EFK5uEk74wIreL1DERyjvsU915j1pcT2uEQ==} engines: {node: '>=0.10.0'} @@ -21223,9 +20472,11 @@ packages: engines: {node: '>=4'} dependencies: regenerate: 1.4.2 + dev: false /regenerate@1.4.2: resolution: {integrity: sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==} + dev: false /regenerator-runtime@0.13.11: resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==} @@ -21238,6 +20489,7 @@ packages: resolution: {integrity: sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==} dependencies: '@babel/runtime': 7.24.7 + dev: false /regex-not@1.0.2: resolution: {integrity: sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==} @@ -21279,6 +20531,7 @@ packages: regjsparser: 0.9.1 unicode-match-property-ecmascript: 2.0.0 unicode-match-property-value-ecmascript: 2.1.0 + dev: false /registry-auth-token@3.3.2: resolution: {integrity: sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==} @@ -21306,6 +20559,7 @@ packages: hasBin: true dependencies: jsesc: 0.5.0 + dev: false /rehype-katex@7.0.0: resolution: {integrity: sha512-h8FPkGE00r2XKU+/acgqwWUlyzve1IiOKwsEkg4pDL3k48PiE0Pt+/uLtVHDVkN1yA4iurZN6UES8ivHVEQV6Q==} @@ -21523,15 +20777,6 @@ packages: engines: {node: '>=10'} dev: true - /resolve@1.22.2: - resolution: {integrity: sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==} - hasBin: true - dependencies: - is-core-module: 2.12.0 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - dev: true - /resolve@1.22.8: resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} hasBin: true @@ -21646,7 +20891,6 @@ packages: resolution: {integrity: sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==} dev: false -<<<<<<< HEAD /rollup-plugin-dts@6.1.1(rollup@4.18.0)(typescript@5.4.5): resolution: {integrity: sha512-aSHRcJ6KG2IHIioYlvAOcEq6U99sVtqDDKVhnwt70rW6tsz3tv5OSjEiWcgzfsHdLyGXZ/3b/7b/+Za3Y6r1XA==} engines: {node: '>=16'} @@ -21661,47 +20905,21 @@ packages: '@babel/code-frame': 7.24.7 dev: true - /rollup-plugin-inject@3.0.2: - resolution: {integrity: sha512-ptg9PQwzs3orn4jkgXJ74bfs5vYz1NCZlSQMBUA0wKcGp5i5pA1AO3fOUEte8enhGUC+iapTCzEWw2jEFFUO/w==} - deprecated: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject. - dependencies: - estree-walker: 0.6.1 - magic-string: 0.25.9 - rollup-pluginutils: 2.8.2 - dev: true - - /rollup-plugin-node-polyfills@0.2.1: - resolution: {integrity: sha512-4kCrKPTJ6sK4/gLL/U5QzVT8cxJcofO0OU74tnB19F40cmuAKSzH5/siithxlofFEjwvw1YAhPmbvGNA6jEroA==} - dependencies: - rollup-plugin-inject: 3.0.2 - dev: true - - /rollup-plugin-swc3@0.11.2(@swc/core@1.5.29)(rollup@4.18.0): + /rollup-plugin-swc3@0.11.2(@swc/core@1.6.5)(rollup@4.18.0): resolution: {integrity: sha512-o1ih9B806fV2wBSNk46T0cYfTF2eiiKmYXRpWw3K4j/Cp3tCAt10UCVsTqvUhGP58pcB3/GZcAVl5e7TCSKN6Q==} engines: {node: '>=12'} -======= - /rollup-plugin-preserve-directives@0.4.0(rollup@4.18.0): - resolution: {integrity: sha512-gx4nBxYm5BysmEQS+e2tAMrtFxrGvk+Pe5ppafRibQi0zlW7VYAbEGk6IKDw9sJGPdFWgVTE0o4BU4cdG0Fylg==} ->>>>>>> origin/main peerDependencies: '@swc/core': '>=1.2.165' rollup: ^2.0.0 || ^3.0.0 || ^4.0.0 dependencies: '@fastify/deepmerge': 1.3.0 '@rollup/pluginutils': 5.1.0(rollup@4.18.0) - '@swc/core': 1.5.29(@swc/helpers@0.5.11) + '@swc/core': 1.6.5(@swc/helpers@0.5.11) get-tsconfig: 4.7.5 rollup: 4.18.0 rollup-preserve-directives: 1.1.1(rollup@4.18.0) dev: true -<<<<<<< HEAD - /rollup-pluginutils@2.8.2: - resolution: {integrity: sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==} - dependencies: - estree-walker: 0.6.1 - dev: true - /rollup-preserve-directives@1.1.1(rollup@4.18.0): resolution: {integrity: sha512-+eQafbuEfDPfxQ9hQPlwaROfin4yiVRxap8hnrvvvcSGoukv1tTiYpAW9mvm3uR8J+fe4xd8FdVd5rz9q7jZ+Q==} peerDependencies: @@ -21711,8 +20929,6 @@ packages: rollup: 4.18.0 dev: true -======= ->>>>>>> origin/main /rollup@3.29.4: resolution: {integrity: sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==} engines: {node: '>=14.18.0', npm: '>=8.0.0'} @@ -21889,22 +21105,8 @@ packages: ajv-keywords: 3.5.2(ajv@6.12.6) dev: false -<<<<<<< HEAD - /scroll-into-view-if-needed@3.0.10: - resolution: {integrity: sha512-t44QCeDKAPf1mtQH3fYpWz8IM/DyvHLjs8wUvvwMYxk5moOqCzrMSxK6HQVD0QVmVjXFavoFIPRVrMuJPKAvtg==} -======= - /schema-utils@3.3.0: - resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==} - engines: {node: '>= 10.13.0'} - dependencies: - '@types/json-schema': 7.0.12 - ajv: 6.12.6 - ajv-keywords: 3.5.2(ajv@6.12.6) - dev: true - /scroll-into-view-if-needed@3.1.0: resolution: {integrity: sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==} ->>>>>>> origin/main dependencies: compute-scroll-into-view: 3.1.0 dev: false @@ -22564,21 +21766,11 @@ packages: resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==} dev: true -<<<<<<< HEAD /stdin-discarder@0.2.2: resolution: {integrity: sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==} engines: {node: '>=18'} dev: true - /stop-iteration-iterator@1.0.0: - resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==} - engines: {node: '>= 0.4'} - dependencies: - internal-slot: 1.0.5 - dev: true - -======= ->>>>>>> origin/main /stream-browserify@2.0.2: resolution: {integrity: sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==} dependencies: @@ -22654,7 +21846,6 @@ packages: emoji-regex: 9.2.2 strip-ansi: 7.1.0 -<<<<<<< HEAD /string-width@7.1.0: resolution: {integrity: sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==} engines: {node: '>=18'} @@ -22664,13 +21855,9 @@ packages: strip-ansi: 7.1.0 dev: true - /string.prototype.matchall@4.0.8: - resolution: {integrity: sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg==} -======= /string.prototype.matchall@4.0.11: resolution: {integrity: sha512-NUdh0aDavY2og7IbBPenWqR9exH+E26Sv8e0/eTe1tltDGZL+GtBkDAnnyBtmekfK6/Dq3MkcGtzXFEd1LQrtg==} engines: {node: '>= 0.4'} ->>>>>>> origin/main dependencies: call-bind: 1.0.7 define-properties: 1.2.1 @@ -22780,13 +21967,6 @@ packages: dependencies: ansi-regex: 6.0.1 - /strip-ansi@7.1.0: - resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} - engines: {node: '>=12'} - dependencies: - ansi-regex: 6.0.1 - dev: true - /strip-bom-string@1.0.0: resolution: {integrity: sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==} engines: {node: '>=0.10.0'} @@ -22887,23 +22067,6 @@ packages: client-only: 0.0.1 react: 18.3.1 - /styled-jsx@5.1.1(react@18.3.0): - resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==} - engines: {node: '>= 12.0.0'} - peerDependencies: - '@babel/core': '*' - babel-plugin-macros: '*' - react: '>= 16.8.0 || 17.x.x || ^18.0.0-0' - peerDependenciesMeta: - '@babel/core': - optional: true - babel-plugin-macros: - optional: true - dependencies: - client-only: 0.0.1 - react: 18.3.0 - dev: false - /stylehacks@4.0.3: resolution: {integrity: sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g==} engines: {node: '>=6.9.0'} @@ -23112,7 +22275,6 @@ packages: minizlib: 2.1.2 mkdirp: 1.0.4 yallist: 4.0.0 - dev: true /temp-dir@1.0.0: resolution: {integrity: sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ==} @@ -23379,6 +22541,7 @@ packages: /tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + dev: false /tr46@3.0.0: resolution: {integrity: sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==} @@ -23464,10 +22627,6 @@ packages: /tslib@2.6.3: resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} - /tslib@2.6.3: - resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} - dev: true - /tsutils@3.21.0(typescript@5.4.5): resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} @@ -23778,6 +22937,7 @@ packages: /unicode-canonical-property-names-ecmascript@2.0.0: resolution: {integrity: sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==} engines: {node: '>=4'} + dev: false /unicode-emoji-modifier-base@1.0.0: resolution: {integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==} @@ -23790,14 +22950,17 @@ packages: dependencies: unicode-canonical-property-names-ecmascript: 2.0.0 unicode-property-aliases-ecmascript: 2.1.0 + dev: false /unicode-match-property-value-ecmascript@2.1.0: resolution: {integrity: sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==} engines: {node: '>=4'} + dev: false /unicode-property-aliases-ecmascript@2.1.0: resolution: {integrity: sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==} engines: {node: '>=4'} + dev: false /unicorn-magic@0.1.0: resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} @@ -24034,17 +23197,6 @@ packages: engines: {node: '>=4'} dev: false - /update-browserslist-db@1.0.11(browserslist@4.21.9): - resolution: {integrity: sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==} - hasBin: true - peerDependencies: - browserslist: '>= 4.21.0' - dependencies: - browserslist: 4.21.9 - escalade: 3.1.1 - picocolors: 1.0.1 - dev: true - /update-browserslist-db@1.0.16(browserslist@4.23.1): resolution: {integrity: sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==} hasBin: true @@ -24584,6 +23736,7 @@ packages: /webidl-conversions@3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + dev: false /webidl-conversions@7.0.0: resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} @@ -24772,6 +23925,7 @@ packages: dependencies: tr46: 0.0.3 webidl-conversions: 3.0.1 + dev: false /which-boxed-primitive@1.0.2: resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} @@ -25164,18 +24318,8 @@ packages: engines: {node: '>=12.20'} dev: true -<<<<<<< HEAD - /zod@3.22.4: - resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==} -======= - /yoctocolors@2.0.2: - resolution: {integrity: sha512-Ct97huExsu7cWeEjmrXlofevF8CvzUglJ4iGUet5B8xn1oumtAZBpHU4GzYuoE6PVqcZ5hghtBrSlhwHuR1Jmw==} - engines: {node: '>=18'} - dev: true - /zod@3.23.8: resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} ->>>>>>> origin/main dev: false /zwitch@2.0.4: From a490adbfdf617a77c81f819b2a3f8cf3e261b6ea Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Wed, 26 Jun 2024 13:58:33 +0200 Subject: [PATCH 15/19] Latest bunchee and updated sizes --- packages/next-intl/.size-limit.ts | 126 +++++++++------ packages/next-intl/config.d.ts | 2 +- packages/next-intl/middleware.d.ts | 2 +- packages/next-intl/navigation.d.ts | 2 +- packages/next-intl/package.json | 144 +++++++++--------- packages/next-intl/plugin.d.ts | 9 +- packages/next-intl/routing.d.ts | 2 +- packages/next-intl/server.d.ts | 2 +- packages/next-intl/src/react-client/index.tsx | 36 ----- packages/use-intl/.size-limit.ts | 18 +-- packages/use-intl/core.d.ts | 2 +- packages/use-intl/package.json | 62 ++++---- packages/use-intl/react.d.ts | 2 +- pnpm-lock.yaml | 70 +-------- 14 files changed, 204 insertions(+), 275 deletions(-) diff --git a/packages/next-intl/.size-limit.ts b/packages/next-intl/.size-limit.ts index b65efe1ab..d59b0fa66 100644 --- a/packages/next-intl/.size-limit.ts +++ b/packages/next-intl/.size-limit.ts @@ -1,55 +1,83 @@ import type {SizeLimitConfig} from 'size-limit'; const config: SizeLimitConfig = [ - // { - // name: 'All (ESM)', - // path: 'dist/index.mjs', - // limit: '13.16 kB' - // }, - // { - // name: 'All but useTranslations (ESM)', - // path: 'dist/index.mjs', - // import: - // '{useLocale, IntlProvider, useNow, useTimeZone, useMessages, useFormatter}', - // limit: '1.58 kB' - // }, - // { - // name: 'All (CJS)', - // path: 'dist/index.js', - // limit: '16.81 kB' - // } - // { - // path: 'dist/production/index.react-client.js', - // limit: '15.765 KB' - // }, - // { - // path: 'dist/production/index.react-server.js', - // limit: '16.66 KB' - // }, - // { - // path: 'dist/production/navigation.react-client.js', - // limit: '3.235 KB' - // }, - // { - // path: 'dist/production/navigation.react-server.js', - // limit: '17.815 KB' - // }, - // { - // path: 'dist/production/server.react-client.js', - // limit: '1 KB' - // }, - // { - // path: 'dist/production/server.react-server.js', - // limit: '15.84 KB' - // }, - // { - // path: 'dist/production/middleware.js', - // limit: '6.42 KB' - // }, - // { - // path: 'dist/production/routing.js', - // limit: '0 KB' - // } + { + name: './ (ESM)', + path: 'dist/esm/index.mjs', + limit: '13.31 kB' + }, + { + name: './ (no useTranslations, ESM)', + path: 'dist/esm/index.mjs', + import: + '{useLocale, IntlProvider, useNow, useTimeZone, useMessages, useFormatter}', + limit: '1.64 kB' + }, + { + name: './ (CJS)', + path: 'dist/cjs/index.js', + limit: '17.475 kB' + }, + { + name: './ (react-server)', + path: 'dist/esm/index.mjs', + limit: '13.255 kB' + }, + + { + name: './navigation (ESM)', + path: 'dist/esm/navigation.mjs', + limit: '2.415 kB' + }, + { + name: './navigation (CJS)', + path: 'dist/cjs/navigation.js', + limit: '19.256 kB' + }, + { + name: './navigation (react-server)', + path: 'dist/esm/navigation.react-server.mjs', + // React's `cache` could have a side effect, therefore `createTranslator` is bundled + limit: '14.765 kB' + }, + + { + name: './server (ESM)', + path: 'dist/esm/server.mjs', + limit: '1 kB' + }, + { + name: './server (CJS)', + path: 'dist/cjs/server.js', + limit: '1 kB' + }, + { + name: './server (react-server)', + path: 'dist/esm/server.react-server.mjs', + limit: '13.165 kB' + }, + + { + name: './middleware (ESM)', + path: 'dist/esm/middleware.mjs', + limit: '5.285 kB' + }, + { + name: './middleware (CJS)', + path: 'dist/cjs/middleware.js', + limit: '5.645 kB' + }, + + { + name: './routing (ESM)', + path: 'dist/esm/routing.mjs', + limit: '1 kB' + }, + { + name: './routing (CJS)', + path: 'dist/cjs/routing.js', + limit: '1 kB' + } ]; module.exports = config; diff --git a/packages/next-intl/config.d.ts b/packages/next-intl/config.d.ts index cfc9c469c..17ef4b965 100644 --- a/packages/next-intl/config.d.ts +++ b/packages/next-intl/config.d.ts @@ -1,3 +1,3 @@ -import config from './dist/config'; +import config from './dist/cjs/config'; export = config; diff --git a/packages/next-intl/middleware.d.ts b/packages/next-intl/middleware.d.ts index 0b95aa6d8..31b105ab6 100644 --- a/packages/next-intl/middleware.d.ts +++ b/packages/next-intl/middleware.d.ts @@ -1,3 +1,3 @@ -import createMiddleware from './dist/middleware'; +import createMiddleware from './dist/cjs/middleware'; export = createMiddleware; diff --git a/packages/next-intl/navigation.d.ts b/packages/next-intl/navigation.d.ts index ab45eb662..6bfa68044 100644 --- a/packages/next-intl/navigation.d.ts +++ b/packages/next-intl/navigation.d.ts @@ -1 +1 @@ -export * from './dist/navigation'; +export * from './dist/cjs/navigation'; diff --git a/packages/next-intl/package.json b/packages/next-intl/package.json index ba34c44eb..32bd36806 100644 --- a/packages/next-intl/package.json +++ b/packages/next-intl/package.json @@ -27,117 +27,117 @@ "size": "size-limit" }, "type": "commonjs", - "main": "./dist/index.js", - "module": "./dist/index.mjs", - "typings": "./dist/index.d.ts", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.mjs", + "typings": "./dist/cjs/index.d.ts", "exports": { ".": { - "react-server": "./dist/index.react-server.mjs", + "react-server": "./dist/esm/index.react-server.mjs", "import": { - "types": "./dist/index.d.mts", - "development": "./dist/index.development.mjs", - "production": "./dist/index.production.mjs", - "default": "./dist/index.mjs" + "types": "./dist/esm/index.d.mts", + "development": "./dist/esm/index.development.mjs", + "production": "./dist/esm/index.production.mjs", + "default": "./dist/esm/index.mjs" }, "require": { - "types": "./dist/index.d.ts", - "development": "./dist/index.development.js", - "production": "./dist/index.production.js", - "default": "./dist/index.js" + "types": "./dist/cjs/index.d.ts", + "development": "./dist/cjs/index.development.js", + "production": "./dist/cjs/index.production.js", + "default": "./dist/cjs/index.js" }, - "default": "./dist/index.js" + "default": "./dist/cjs/index.js" }, "./server": { - "react-server": "./dist/server.react-server.mjs", + "react-server": "./dist/esm/server.react-server.mjs", "import": { - "types": "./dist/server.d.mts", - "development": "./dist/server.development.mjs", - "production": "./dist/server.production.mjs", - "default": "./dist/server.mjs" + "types": "./dist/esm/server.d.mts", + "development": "./dist/esm/server.development.mjs", + "production": "./dist/esm/server.production.mjs", + "default": "./dist/esm/server.mjs" }, "require": { - "types": "./dist/server.d.ts", - "development": "./dist/server.development.js", - "production": "./dist/server.production.js", - "default": "./dist/server.js" + "types": "./dist/cjs/server.d.ts", + "development": "./dist/cjs/server.development.js", + "production": "./dist/cjs/server.production.js", + "default": "./dist/cjs/server.js" }, - "default": "./dist/server.js" + "default": "./dist/cjs/server.js" }, "./config": { "import": { - "types": "./dist/config.d.mts", - "development": "./dist/config.development.mjs", - "production": "./dist/config.production.mjs", - "default": "./dist/config.mjs" + "types": "./dist/esm/config.d.mts", + "development": "./dist/esm/config.development.mjs", + "production": "./dist/esm/config.production.mjs", + "default": "./dist/esm/config.mjs" }, "require": { - "types": "./dist/config.d.ts", - "development": "./dist/config.development.js", - "production": "./dist/config.production.js", - "default": "./dist/config.js" + "types": "./dist/cjs/config.d.ts", + "development": "./dist/cjs/config.development.js", + "production": "./dist/cjs/config.production.js", + "default": "./dist/cjs/config.js" }, - "default": "./dist/config.js" + "default": "./dist/cjs/config.js" }, "./middleware": { "import": { - "types": "./dist/middleware.d.mts", - "development": "./dist/middleware.development.mjs", - "production": "./dist/middleware.production.mjs", - "default": "./dist/middleware.mjs" + "types": "./dist/esm/middleware.d.mts", + "development": "./dist/esm/middleware.development.mjs", + "production": "./dist/esm/middleware.production.mjs", + "default": "./dist/esm/middleware.mjs" }, "require": { - "types": "./dist/middleware.d.ts", - "development": "./dist/middleware.development.js", - "production": "./dist/middleware.production.js", - "default": "./dist/middleware.js" + "types": "./dist/cjs/middleware.d.ts", + "development": "./dist/cjs/middleware.development.js", + "production": "./dist/cjs/middleware.production.js", + "default": "./dist/cjs/middleware.js" }, - "default": "./dist/middleware.js" + "default": "./dist/cjs/middleware.js" }, "./navigation": { - "react-server": "./dist/navigation.react-server.mjs", + "react-server": "./dist/esm/navigation.react-server.mjs", "import": { - "types": "./dist/navigation.d.mts", - "development": "./dist/navigation.development.mjs", - "production": "./dist/navigation.production.mjs", - "default": "./dist/navigation.mjs" + "types": "./dist/esm/navigation.d.mts", + "development": "./dist/esm/navigation.development.mjs", + "production": "./dist/esm/navigation.production.mjs", + "default": "./dist/esm/navigation.mjs" }, "require": { - "types": "./dist/navigation.d.ts", - "development": "./dist/navigation.development.js", - "production": "./dist/navigation.production.js", - "default": "./dist/navigation.js" + "types": "./dist/cjs/navigation.d.ts", + "development": "./dist/cjs/navigation.development.js", + "production": "./dist/cjs/navigation.production.js", + "default": "./dist/cjs/navigation.js" }, - "default": "./dist/navigation.js" + "default": "./dist/cjs/navigation.js" }, "./routing": { "import": { - "types": "./dist/routing.d.mts", - "development": "./dist/routing.development.mjs", - "production": "./dist/routing.production.mjs", - "default": "./dist/routing.mjs" + "types": "./dist/esm/routing.d.mts", + "development": "./dist/esm/routing.development.mjs", + "production": "./dist/esm/routing.production.mjs", + "default": "./dist/esm/routing.mjs" }, "require": { - "types": "./dist/routing.d.ts", - "development": "./dist/routing.development.js", - "production": "./dist/routing.production.js", - "default": "./dist/routing.js" + "types": "./dist/cjs/routing.d.ts", + "development": "./dist/cjs/routing.development.js", + "production": "./dist/cjs/routing.production.js", + "default": "./dist/cjs/routing.js" }, - "default": "./dist/routing.js" + "default": "./dist/cjs/routing.js" }, "./plugin": { "import": { - "types": "./dist/plugin.d.mts", - "development": "./dist/plugin.development.mjs", - "production": "./dist/plugin.production.mjs", - "default": "./dist/plugin.mjs" + "types": "./dist/esm/plugin.d.mts", + "development": "./dist/esm/plugin.development.mjs", + "production": "./dist/esm/plugin.production.mjs", + "default": "./dist/esm/plugin.mjs" }, "require": { - "types": "./dist/plugin.d.ts", - "development": "./dist/plugin.development.js", - "production": "./dist/plugin.production.js", - "default": "./dist/plugin.js" + "types": "./dist/cjs/plugin.d.ts", + "development": "./dist/cjs/plugin.development.js", + "production": "./dist/cjs/plugin.production.js", + "default": "./dist/cjs/plugin.js" }, - "default": "./dist/plugin.js" + "default": "./dist/cjs/plugin.js" } }, "files": [ @@ -174,13 +174,13 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.15.3", "@edge-runtime/vm": "^3.2.0", - "@size-limit/preset-small-lib": "^8.2.6", + "@size-limit/preset-small-lib": "^11.1.4", "@testing-library/react": "^16.0.0", "@types/negotiator": "^0.6.3", "@types/node": "^20.14.5", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "bunchee": "^5.2.0", + "bunchee": "^5.2.2", "eslint": "^8.56.0", "eslint-config-molindo": "^7.0.0", "eslint-plugin-deprecation": "^3.0.0", @@ -189,7 +189,7 @@ "publint": "^0.2.8", "react": "^18.3.1", "react-dom": "^18.3.1", - "size-limit": "^8.2.6", + "size-limit": "^11.1.4", "typescript": "^5.4.5", "vitest": "^1.6.0" }, diff --git a/packages/next-intl/plugin.d.ts b/packages/next-intl/plugin.d.ts index 476ab78b5..16d544d4a 100644 --- a/packages/next-intl/plugin.d.ts +++ b/packages/next-intl/plugin.d.ts @@ -1,8 +1 @@ -import {NextConfig} from 'next'; - -function createNextIntlPlugin( - i18nPath?: string -): (config?: NextConfig) => NextConfig; - -// Currently only available via CJS -export = createNextIntlPlugin; +export {default} from './dist/cjs/plugin' diff --git a/packages/next-intl/routing.d.ts b/packages/next-intl/routing.d.ts index f7fcd0424..cab1a2e35 100644 --- a/packages/next-intl/routing.d.ts +++ b/packages/next-intl/routing.d.ts @@ -1 +1 @@ -export * from './dist/routing'; +export * from './dist/cjs/routing'; diff --git a/packages/next-intl/server.d.ts b/packages/next-intl/server.d.ts index 699fd532a..6e4000374 100644 --- a/packages/next-intl/server.d.ts +++ b/packages/next-intl/server.d.ts @@ -1 +1 @@ -export * from './dist/server'; +export * from './dist/cjs/server'; diff --git a/packages/next-intl/src/react-client/index.tsx b/packages/next-intl/src/react-client/index.tsx index a2f4f5ee8..02660e540 100644 --- a/packages/next-intl/src/react-client/index.tsx +++ b/packages/next-intl/src/react-client/index.tsx @@ -8,44 +8,8 @@ * supported in all Next.js versions that are supported. */ -import { - useTranslations as base_useTranslations, - useFormatter as base_useFormatter -} from 'use-intl'; - export * from 'use-intl'; -// eslint-disable-next-line @typescript-eslint/ban-types -function callHook(name: string, hook: Function) { - return (...args: Array) => { - try { - return hook(...args); - } catch (e) { - throw new Error( - process.env.NODE_ENV !== 'production' - ? `Failed to call \`${name}\` because the context from \`NextIntlClientProvider\` was not found. - -This can happen because: -1) You intended to render this component as a Server Component, the render - failed, and therefore React attempted to render the component on the client - instead. If this is the case, check the console for server errors. -2) You intended to render this component on the client side, but no context was found. - Learn more about this error here: https://next-intl-docs.vercel.app/docs/environments/server-client-components#missing-context` - : undefined - ); - } - }; -} - -export const useTranslations = callHook( - 'useTranslations', - base_useTranslations -) as typeof base_useTranslations; -export const useFormatter = callHook( - 'useFormatter', - base_useFormatter -) as typeof base_useFormatter; - // Replace `useLocale` export from `use-intl` export {default as useLocale} from './useLocale'; diff --git a/packages/use-intl/.size-limit.ts b/packages/use-intl/.size-limit.ts index 554a792cd..1b5b25a88 100644 --- a/packages/use-intl/.size-limit.ts +++ b/packages/use-intl/.size-limit.ts @@ -2,21 +2,21 @@ import type {SizeLimitConfig} from 'size-limit'; const config: SizeLimitConfig = [ { - name: 'All (ESM)', - path: 'dist/index.mjs', - limit: '13.16 kB' + name: './ (ESM)', + path: 'dist/esm/index.mjs', + limit: '15.25 kB' }, { - name: 'All but useTranslations (ESM)', - path: 'dist/index.mjs', + name: './ (no useTranslations, ESM)', + path: 'dist/esm/index.mjs', import: '{useLocale, IntlProvider, useNow, useTimeZone, useMessages, useFormatter}', - limit: '1.58 kB' + limit: '1.825 kB' }, { - name: 'All (CJS)', - path: 'dist/index.js', - limit: '16.81 kB' + name: './ (CJS)', + path: 'dist/cjs/index.js', + limit: '19.775 kB' } ]; diff --git a/packages/use-intl/core.d.ts b/packages/use-intl/core.d.ts index b9674df37..22c7c3708 100644 --- a/packages/use-intl/core.d.ts +++ b/packages/use-intl/core.d.ts @@ -1 +1 @@ -export * from './dist/core.d.ts'; +export * from './dist/cjs/core.d.ts'; diff --git a/packages/use-intl/package.json b/packages/use-intl/package.json index d708364f6..cfe720d93 100644 --- a/packages/use-intl/package.json +++ b/packages/use-intl/package.json @@ -19,55 +19,55 @@ "prepublishOnly": "turbo build", "size": "size-limit" }, - "main": "./dist/index.js", - "module": "dist/index.mjs", "type": "commonjs", - "typings": "./dist/index.d.ts", + "main": "./dist/cjs/index.js", + "module": "dist/esm/index.mjs", + "typings": "./dist/cjs/index.d.ts", "exports": { ".": { "import": { - "types": "./dist/index.d.mts", - "development": "./dist/index.development.mjs", - "production": "./dist/index.production.mjs", - "default": "./dist/index.mjs" + "types": "./dist/esm/index.d.mts", + "development": "./dist/esm/index.development.mjs", + "production": "./dist/esm/index.production.mjs", + "default": "./dist/esm/index.mjs" }, "require": { - "types": "./dist/index.d.ts", - "development": "./dist/index.development.js", - "production": "./dist/index.production.js", - "default": "./dist/index.js" + "types": "./dist/cjs/index.d.ts", + "development": "./dist/cjs/index.development.js", + "production": "./dist/cjs/index.production.js", + "default": "./dist/cjs/index.js" }, - "default": "./dist/index.js" + "default": "./dist/cjs/index.js" }, "./core": { "import": { - "types": "./dist/core.d.mts", - "development": "./dist/core.development.mjs", - "production": "./dist/core.production.mjs", - "default": "./dist/core.mjs" + "types": "./dist/esm/core.d.mts", + "development": "./dist/esm/core.development.mjs", + "production": "./dist/esm/core.production.mjs", + "default": "./dist/esm/core.mjs" }, "require": { - "types": "./dist/core.d.ts", - "development": "./dist/core.development.js", - "production": "./dist/core.production.js", - "default": "./dist/core.js" + "types": "./dist/cjs/core.d.ts", + "development": "./dist/cjs/core.development.js", + "production": "./dist/cjs/core.production.js", + "default": "./dist/cjs/core.js" }, - "default": "./dist/core.js" + "default": "./dist/cjs/core.js" }, "./react": { "import": { - "types": "./dist/react.d.mts", - "development": "./dist/react.development.mjs", - "production": "./dist/react.production.mjs", - "default": "./dist/react.mjs" + "types": "./dist/esm/react.d.mts", + "development": "./dist/esm/react.development.mjs", + "production": "./dist/esm/react.production.mjs", + "default": "./dist/esm/react.mjs" }, "require": { - "types": "./dist/react.d.ts", - "development": "./dist/react.development.js", - "production": "./dist/react.production.js", - "default": "./dist/react.js" + "types": "./dist/cjs/react.d.ts", + "development": "./dist/cjs/react.development.js", + "production": "./dist/cjs/react.production.js", + "default": "./dist/cjs/react.js" }, - "default": "./dist/react.js" + "default": "./dist/cjs/react.js" } }, "files": [ @@ -99,7 +99,7 @@ "@types/node": "^20.14.5", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "bunchee": "^5.2.0", + "bunchee": "^5.2.2", "date-fns": "^3.6.0", "eslint": "^8.56.0", "eslint-config-molindo": "^7.0.0", diff --git a/packages/use-intl/react.d.ts b/packages/use-intl/react.d.ts index 50ff32b0c..415b32a31 100644 --- a/packages/use-intl/react.d.ts +++ b/packages/use-intl/react.d.ts @@ -1 +1 @@ -export * from './dist/react.d.ts'; \ No newline at end of file +export * from './dist/cjs/react.d.ts'; \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index daaa958c8..365382fab 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -698,8 +698,8 @@ importers: specifier: ^3.2.0 version: 3.2.0 '@size-limit/preset-small-lib': - specifier: ^8.2.6 - version: 8.2.6(size-limit@8.2.6) + specifier: ^11.1.4 + version: 11.1.4(size-limit@11.1.4) '@testing-library/react': specifier: ^16.0.0 version: 16.0.0(@testing-library/dom@10.1.0)(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1)(react@18.3.1) @@ -716,7 +716,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 bunchee: - specifier: ^5.2.0 + specifier: ^5.2.2 version: 5.2.2(typescript@5.4.5) eslint: specifier: ^8.56.0 @@ -743,8 +743,8 @@ importers: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) size-limit: - specifier: ^8.2.6 - version: 8.2.6 + specifier: ^11.1.4 + version: 11.1.4 typescript: specifier: ^5.4.5 version: 5.4.5 @@ -777,7 +777,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 bunchee: - specifier: ^5.2.0 + specifier: ^5.2.2 version: 5.2.2(typescript@5.4.5) date-fns: specifier: ^3.6.0 @@ -6786,17 +6786,6 @@ packages: size-limit: 11.1.4 dev: true - /@size-limit/esbuild@8.2.6(size-limit@8.2.6): - resolution: {integrity: sha512-a4c8xVDuDMYw5jF655ADjQDluw3jGPPYer6UJock5rSnUlWnIbmT/Ohud7gJGq5gqyLUQOCrBD7NB3g+mlhj4g==} - engines: {node: ^14.0.0 || ^16.0.0 || >=18.0.0} - peerDependencies: - size-limit: 8.2.6 - dependencies: - esbuild: 0.18.20 - nanoid: 3.3.7 - size-limit: 8.2.6 - dev: true - /@size-limit/file@11.1.4(size-limit@11.1.4): resolution: {integrity: sha512-QxnGj9cxhCEuqMAV01gqonXIKcc+caZqFHZpV51oL2ZJNGSPP9Q/yyf+7HbVe00faOFd1dZZwMwzZmX7HQ9LbA==} engines: {node: ^18.0.0 || >=20.0.0} @@ -6806,16 +6795,6 @@ packages: size-limit: 11.1.4 dev: true - /@size-limit/file@8.2.6(size-limit@8.2.6): - resolution: {integrity: sha512-B7ayjxiJsbtXdIIWazJkB5gezi5WBMecdHTFPMDhI3NwEML1RVvUjAkrb1mPAAkIpt2LVHPnhdCUHjqDdjugwg==} - engines: {node: ^14.0.0 || ^16.0.0 || >=18.0.0} - peerDependencies: - size-limit: 8.2.6 - dependencies: - semver: 7.5.3 - size-limit: 8.2.6 - dev: true - /@size-limit/preset-small-lib@11.1.4(size-limit@11.1.4): resolution: {integrity: sha512-wELW374esv+2Nlzf7g+qW4Af9L69duLoO9F52f0sGk/nzb6et7u8gLRvweWrBfm3itUrqHCpGSSVabTsIU8kNw==} peerDependencies: @@ -6826,16 +6805,6 @@ packages: size-limit: 11.1.4 dev: true - /@size-limit/preset-small-lib@8.2.6(size-limit@8.2.6): - resolution: {integrity: sha512-roanEuscDaaXDsT5Cg9agMbmsQVlMr66eRg3AwT2o4vE7WFLR8Z42p0AHZiwucW1nGpCxAh8E08Qa/yyVuj5nA==} - peerDependencies: - size-limit: 8.2.6 - dependencies: - '@size-limit/esbuild': 8.2.6(size-limit@8.2.6) - '@size-limit/file': 8.2.6(size-limit@8.2.6) - size-limit: 8.2.6 - dev: true - /@swc/core-darwin-arm64@1.6.5: resolution: {integrity: sha512-RGQhMdni2v1/ANQ/2K+F+QYdzaucekYBewZcX1ogqJ8G5sbPaBdYdDN1qQ4kHLCIkPtGP6qC7c71qPEqL2RidQ==} engines: {node: '>=10'} @@ -17689,7 +17658,7 @@ packages: /nanospinner@1.1.0: resolution: {integrity: sha512-yFvNYMig4AthKYfHFl1sLj7B2nkHL4lzdig4osvl9/LdGbXwrdFRoqBS98gsEsOakr0yH+r5NZ/1Y9gdVB8trA==} dependencies: - picocolors: 1.0.0 + picocolors: 1.0.1 dev: true /natural-compare-lite@1.4.0: @@ -19071,10 +19040,6 @@ packages: resolution: {integrity: sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==} dev: false - /picocolors@1.0.0: - resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} - dev: true - /picocolors@1.0.1: resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} @@ -21160,14 +21125,6 @@ packages: lru-cache: 6.0.0 dev: false - /semver@7.5.3: - resolution: {integrity: sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==} - engines: {node: '>=10'} - hasBin: true - dependencies: - lru-cache: 6.0.0 - dev: true - /semver@7.5.4: resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} engines: {node: '>=10'} @@ -21450,19 +21407,6 @@ packages: picocolors: 1.0.1 dev: true - /size-limit@8.2.6: - resolution: {integrity: sha512-zpznim/tX/NegjoQuRKgWTF4XiB0cn2qt90uJzxYNTFAqexk4b94DOAkBD3TwhC6c3kw2r0KcnA5upziVMZqDg==} - engines: {node: ^14.0.0 || ^16.0.0 || >=18.0.0} - hasBin: true - dependencies: - bytes-iec: 3.1.1 - chokidar: 3.5.3 - globby: 11.1.0 - lilconfig: 2.1.0 - nanospinner: 1.1.0 - picocolors: 1.0.0 - dev: true - /skin-tone@2.0.0: resolution: {integrity: sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==} engines: {node: '>=8'} From 7487041fd763548a98f4e4be1e4a92f61f19892b Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Wed, 26 Jun 2024 14:32:18 +0200 Subject: [PATCH 16/19] Patch plugin --- packages/next-intl/package.json | 5 +---- packages/next-intl/scripts/patch-plugin.mjs | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 packages/next-intl/scripts/patch-plugin.mjs diff --git a/packages/next-intl/package.json b/packages/next-intl/package.json index 32bd36806..1111198b8 100644 --- a/packages/next-intl/package.json +++ b/packages/next-intl/package.json @@ -18,6 +18,7 @@ }, "scripts": { "build": "bunchee", + "postbuild": "node scripts/patch-plugin.mjs", "test": "TZ=Europe/Berlin vitest", "lint": "pnpm run lint:source && pnpm run lint:package", "lint:source": "eslint src test && tsc --noEmit", @@ -127,14 +128,10 @@ "./plugin": { "import": { "types": "./dist/esm/plugin.d.mts", - "development": "./dist/esm/plugin.development.mjs", - "production": "./dist/esm/plugin.production.mjs", "default": "./dist/esm/plugin.mjs" }, "require": { "types": "./dist/cjs/plugin.d.ts", - "development": "./dist/cjs/plugin.development.js", - "production": "./dist/cjs/plugin.production.js", "default": "./dist/cjs/plugin.js" }, "default": "./dist/cjs/plugin.js" diff --git a/packages/next-intl/scripts/patch-plugin.mjs b/packages/next-intl/scripts/patch-plugin.mjs new file mode 100644 index 000000000..861b0c25c --- /dev/null +++ b/packages/next-intl/scripts/patch-plugin.mjs @@ -0,0 +1,21 @@ +import fs from 'fs'; + +function patchFile(filePath, oldString, newString) { + const data = fs.readFileSync(filePath, 'utf8'); + const updatedData = data.replace(oldString, newString); + fs.writeFileSync(filePath, updatedData, 'utf8'); +} + +patchFile( + './dist/cjs/plugin.js', + 'exports.default = createNextIntlPlugin;', + 'module.exports = createNextIntlPlugin;module.exports.default = createNextIntlPlugin;' +); + +patchFile( + './dist/cjs/plugin.d.ts', + 'export { createNextIntlPlugin as default };', + 'export = createNextIntlPlugin;' +); + +console.log('CJS entry for ./plugin patched'); From 607ec6de0a0cbf0123280a36fdc2127ab8f46e34 Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Wed, 26 Jun 2024 17:07:59 +0200 Subject: [PATCH 17/19] rename script --- packages/next-intl/package.json | 3 +-- .../next-intl/scripts/{patch-plugin.mjs => patch-dist.mjs} | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) rename packages/next-intl/scripts/{patch-plugin.mjs => patch-dist.mjs} (91%) diff --git a/packages/next-intl/package.json b/packages/next-intl/package.json index 1111198b8..6507d805a 100644 --- a/packages/next-intl/package.json +++ b/packages/next-intl/package.json @@ -17,8 +17,7 @@ "url": "https://github.com/amannn/next-intl" }, "scripts": { - "build": "bunchee", - "postbuild": "node scripts/patch-plugin.mjs", + "build": "bunchee && node scripts/patch-dist.mjs", "test": "TZ=Europe/Berlin vitest", "lint": "pnpm run lint:source && pnpm run lint:package", "lint:source": "eslint src test && tsc --noEmit", diff --git a/packages/next-intl/scripts/patch-plugin.mjs b/packages/next-intl/scripts/patch-dist.mjs similarity index 91% rename from packages/next-intl/scripts/patch-plugin.mjs rename to packages/next-intl/scripts/patch-dist.mjs index 861b0c25c..3b06552a6 100644 --- a/packages/next-intl/scripts/patch-plugin.mjs +++ b/packages/next-intl/scripts/patch-dist.mjs @@ -18,4 +18,4 @@ patchFile( 'export = createNextIntlPlugin;' ); -console.log('CJS entry for ./plugin patched'); +console.log('\n✔ Patched files in ./dist'); From 6b5b41c53a01095438993d2e40b2197a0ec16ef9 Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Wed, 26 Jun 2024 18:46:20 +0200 Subject: [PATCH 18/19] More bunchee patches --- packages/next-intl/package.json | 1 + packages/next-intl/scripts/patch-dist.mjs | 52 ++++++++++++++++++++++- pnpm-lock.yaml | 31 ++++---------- 3 files changed, 59 insertions(+), 25 deletions(-) diff --git a/packages/next-intl/package.json b/packages/next-intl/package.json index 6507d805a..7ac78d8f1 100644 --- a/packages/next-intl/package.json +++ b/packages/next-intl/package.json @@ -180,6 +180,7 @@ "eslint": "^8.56.0", "eslint-config-molindo": "^7.0.0", "eslint-plugin-deprecation": "^3.0.0", + "glob": "^10.4.2", "next": "^14.2.4", "path-to-regexp": "^6.2.2", "publint": "^0.2.8", diff --git a/packages/next-intl/scripts/patch-dist.mjs b/packages/next-intl/scripts/patch-dist.mjs index 3b06552a6..c18cf326f 100644 --- a/packages/next-intl/scripts/patch-dist.mjs +++ b/packages/next-intl/scripts/patch-dist.mjs @@ -1,21 +1,69 @@ -import fs from 'fs'; +/* eslint-env node */ +/* eslint-disable import/no-extraneous-dependencies */ +import fs, {readFileSync} from 'fs'; +import path from 'path'; +import {globSync} from 'glob'; function patchFile(filePath, oldString, newString) { const data = fs.readFileSync(filePath, 'utf8'); + if (data.includes(newString)) return; const updatedData = data.replace(oldString, newString); fs.writeFileSync(filePath, updatedData, 'utf8'); } +/** + * Fix the CJS export of the plugin + */ patchFile( './dist/cjs/plugin.js', 'exports.default = createNextIntlPlugin;', 'module.exports = createNextIntlPlugin;module.exports.default = createNextIntlPlugin;' ); - patchFile( './dist/cjs/plugin.d.ts', 'export { createNextIntlPlugin as default };', 'export = createNextIntlPlugin;' ); +/** + * Patch declaration file for shared react-server runtime + * + * Workaround for: https://github.com/huozhi/bunchee/issues/547 + */ +{ + const result = /\/react-server-shared-[^.]+\.js/.exec( + readFileSync('./dist/esm/server.d.mts', 'utf8') + ); + if (!result) { + throw new Error('Could not find the shared react-server runtime import'); + } + const filename = result[0].substring(1); + const newFilename = filename.replace(/\.js$/, '.d.mts'); + patchFile('./dist/esm/server.d.mts', filename, newFilename); + + fs.renameSync( + path.resolve(process.cwd(), './dist/esm', filename), + `./dist/esm/${newFilename}` + ); +} + +/** + * Patch file extensions of separated chunks in the ESM build + * + * Workaround for: https://github.com/huozhi/bunchee/issues/557 + */ +globSync('./dist/esm/**/*.js').forEach((filePath) => { + const filename = filePath.split('/').pop(); + const newFilename = filename.replace(/\.js$/, '.mjs'); + + // rename the file extension + const newFilePath = filePath.replace(filename, newFilename); + fs.renameSync(filePath, newFilePath); + + // patch all files in the esm folder that contain a reference to the original .js file + globSync('./dist/esm/**/*.mjs').forEach((importingFilePath) => { + patchFile(importingFilePath, filename, newFilename); + }); +}); + console.log('\n✔ Patched files in ./dist'); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 365382fab..7f5c7811e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -727,6 +727,9 @@ importers: eslint-plugin-deprecation: specifier: ^3.0.0 version: 3.0.0(eslint@8.56.0)(typescript@5.4.5) + glob: + specifier: ^10.4.2 + version: 10.4.2 next: specifier: ^14.2.4 version: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) @@ -5420,7 +5423,7 @@ packages: engines: {node: ^16.14.0 || >=18.0.0} dependencies: '@npmcli/git': 5.0.7 - glob: 10.4.1 + glob: 10.4.2 hosted-git-info: 7.0.2 json-parse-even-better-errors: 3.0.2 normalize-package-data: 6.0.1 @@ -9326,7 +9329,7 @@ packages: dependencies: '@npmcli/fs': 3.1.1 fs-minipass: 3.0.3 - glob: 10.4.1 + glob: 10.4.2 lru-cache: 10.2.2 minipass: 7.1.2 minipass-collect: 2.0.1 @@ -12999,14 +13002,6 @@ packages: engines: {node: '>=0.10.0'} dev: false - /foreground-child@3.2.0: - resolution: {integrity: sha512-CrWQNaEl1/6WeZoarcM9LHupTo3RpZO2Pdk1vktwzPiQTsJnAKJmm3TACKeG5UZbWDfaH2AbvYxzP96y0MT7fA==} - engines: {node: '>=14'} - dependencies: - cross-spawn: 7.0.3 - signal-exit: 4.1.0 - dev: true - /foreground-child@3.2.1: resolution: {integrity: sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==} engines: {node: '>=14'} @@ -13456,18 +13451,6 @@ packages: path-scurry: 1.11.1 dev: true - /glob@10.4.1: - resolution: {integrity: sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==} - engines: {node: '>=16 || 14 >=14.18'} - hasBin: true - dependencies: - foreground-child: 3.2.0 - jackspeak: 3.4.0 - minimatch: 9.0.4 - minipass: 7.1.2 - path-scurry: 1.11.1 - dev: true - /glob@10.4.2: resolution: {integrity: sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==} engines: {node: '>=16 || 14 >=14.18'} @@ -13507,6 +13490,7 @@ packages: /glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported dependencies: fs.realpath: 1.0.0 inflight: 1.0.6 @@ -13518,6 +13502,7 @@ packages: /glob@8.1.0: resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} engines: {node: '>=12'} + deprecated: Glob versions prior to v9 are no longer supported dependencies: fs.realpath: 1.0.0 inflight: 1.0.6 @@ -18015,7 +18000,7 @@ packages: dependencies: env-paths: 2.2.1 exponential-backoff: 3.1.1 - glob: 10.4.1 + glob: 10.4.2 graceful-fs: 4.2.11 make-fetch-happen: 13.0.1 nopt: 7.2.1 From ad0bdf1631bdc30f3df09fbf741a4d6f814ab3f0 Mon Sep 17 00:00:00 2001 From: Jan Amann Date: Fri, 16 Aug 2024 13:02:46 +0200 Subject: [PATCH 19/19] Latest bunchee --- packages/next-intl/package.json | 2 +- packages/next-intl/scripts/patch-dist.mjs | 48 +--- packages/use-intl/package.json | 2 +- pnpm-lock.yaml | 307 +++++++++++++++++----- 4 files changed, 250 insertions(+), 109 deletions(-) diff --git a/packages/next-intl/package.json b/packages/next-intl/package.json index 7ac78d8f1..ee21814fb 100644 --- a/packages/next-intl/package.json +++ b/packages/next-intl/package.json @@ -176,7 +176,7 @@ "@types/node": "^20.14.5", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "bunchee": "^5.2.2", + "bunchee": "^5.3.2", "eslint": "^8.56.0", "eslint-config-molindo": "^7.0.0", "eslint-plugin-deprecation": "^3.0.0", diff --git a/packages/next-intl/scripts/patch-dist.mjs b/packages/next-intl/scripts/patch-dist.mjs index c18cf326f..e2a9a30b8 100644 --- a/packages/next-intl/scripts/patch-dist.mjs +++ b/packages/next-intl/scripts/patch-dist.mjs @@ -1,8 +1,5 @@ /* eslint-env node */ -/* eslint-disable import/no-extraneous-dependencies */ -import fs, {readFileSync} from 'fs'; -import path from 'path'; -import {globSync} from 'glob'; +import fs from 'fs'; function patchFile(filePath, oldString, newString) { const data = fs.readFileSync(filePath, 'utf8'); @@ -24,46 +21,3 @@ patchFile( 'export { createNextIntlPlugin as default };', 'export = createNextIntlPlugin;' ); - -/** - * Patch declaration file for shared react-server runtime - * - * Workaround for: https://github.com/huozhi/bunchee/issues/547 - */ -{ - const result = /\/react-server-shared-[^.]+\.js/.exec( - readFileSync('./dist/esm/server.d.mts', 'utf8') - ); - if (!result) { - throw new Error('Could not find the shared react-server runtime import'); - } - const filename = result[0].substring(1); - const newFilename = filename.replace(/\.js$/, '.d.mts'); - patchFile('./dist/esm/server.d.mts', filename, newFilename); - - fs.renameSync( - path.resolve(process.cwd(), './dist/esm', filename), - `./dist/esm/${newFilename}` - ); -} - -/** - * Patch file extensions of separated chunks in the ESM build - * - * Workaround for: https://github.com/huozhi/bunchee/issues/557 - */ -globSync('./dist/esm/**/*.js').forEach((filePath) => { - const filename = filePath.split('/').pop(); - const newFilename = filename.replace(/\.js$/, '.mjs'); - - // rename the file extension - const newFilePath = filePath.replace(filename, newFilename); - fs.renameSync(filePath, newFilePath); - - // patch all files in the esm folder that contain a reference to the original .js file - globSync('./dist/esm/**/*.mjs').forEach((importingFilePath) => { - patchFile(importingFilePath, filename, newFilename); - }); -}); - -console.log('\n✔ Patched files in ./dist'); diff --git a/packages/use-intl/package.json b/packages/use-intl/package.json index cfe720d93..6447cee7f 100644 --- a/packages/use-intl/package.json +++ b/packages/use-intl/package.json @@ -99,7 +99,7 @@ "@types/node": "^20.14.5", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "bunchee": "^5.2.2", + "bunchee": "^5.3.2", "date-fns": "^3.6.0", "eslint": "^8.56.0", "eslint-config-molindo": "^7.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7f5c7811e..80e599b64 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -95,7 +95,7 @@ importers: version: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) next-intl: specifier: latest - version: link:../../packages/next-intl + version: 3.17.3(next@14.2.4)(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -162,7 +162,7 @@ importers: version: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) next-intl: specifier: latest - version: link:../../packages/next-intl + version: 3.17.3(next@14.2.4)(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -199,7 +199,7 @@ importers: version: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) next-intl: specifier: latest - version: link:../../packages/next-intl + version: 3.17.3(next@14.2.4)(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -251,7 +251,7 @@ importers: version: 4.24.7(next@14.2.4)(react-dom@18.3.1)(react@18.3.1) next-intl: specifier: latest - version: link:../../packages/next-intl + version: 3.17.3(next@14.2.4)(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -297,7 +297,7 @@ importers: version: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) next-intl: specifier: latest - version: link:../../packages/next-intl + version: 3.17.3(next@14.2.4)(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -364,7 +364,7 @@ importers: version: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) next-intl: specifier: latest - version: link:../../packages/next-intl + version: 3.17.3(next@14.2.4)(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -416,7 +416,7 @@ importers: version: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) next-intl: specifier: latest - version: link:../../packages/next-intl + version: 3.17.3(next@14.2.4)(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -477,7 +477,7 @@ importers: version: 14.2.4(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) next-intl: specifier: latest - version: link:../../packages/next-intl + version: 3.17.3(next@14.2.4)(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -520,7 +520,7 @@ importers: version: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) next-intl: specifier: latest - version: link:../../packages/next-intl + version: 3.17.3(next@14.2.4)(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -621,7 +621,7 @@ importers: version: 18.3.1(react@18.3.1) use-intl: specifier: latest - version: link:../../packages/use-intl + version: 3.17.3(react@18.3.1) devDependencies: '@remix-run/dev': specifier: ^2.9.2 @@ -655,7 +655,7 @@ importers: version: 18.3.1(react@18.3.1) use-intl: specifier: latest - version: link:../../packages/use-intl + version: 3.17.3(react@18.3.1) devDependencies: '@types/react': specifier: ^18.3.3 @@ -716,8 +716,8 @@ importers: specifier: ^18.3.0 version: 18.3.0 bunchee: - specifier: ^5.2.2 - version: 5.2.2(typescript@5.4.5) + specifier: ^5.3.2 + version: 5.3.2(typescript@5.4.5) eslint: specifier: ^8.56.0 version: 8.56.0 @@ -780,8 +780,8 @@ importers: specifier: ^18.3.0 version: 18.3.0 bunchee: - specifier: ^5.2.2 - version: 5.2.2(typescript@5.4.5) + specifier: ^5.3.2 + version: 5.3.2(typescript@5.4.5) date-fns: specifier: ^3.6.0 version: 3.6.0 @@ -4862,6 +4862,10 @@ packages: /@jridgewell/sourcemap-codec@1.4.15: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + /@jridgewell/sourcemap-codec@1.5.0: + resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} + dev: true + /@jridgewell/trace-mapping@0.3.18: resolution: {integrity: sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==} dependencies: @@ -6455,25 +6459,25 @@ packages: dependencies: web-streams-polyfill: 3.3.3 - /@rollup/plugin-commonjs@25.0.8(rollup@4.18.0): - resolution: {integrity: sha512-ZEZWTK5n6Qde0to4vS9Mr5x/0UZoqCxPVR9KRUjU4kA2sO7GEUn1fop0DAwpO6z0Nw/kJON9bDmSxdWxO/TT1A==} - engines: {node: '>=14.0.0'} + /@rollup/plugin-commonjs@26.0.1(rollup@4.20.0): + resolution: {integrity: sha512-UnsKoZK6/aGIH6AdkptXhNvhaqftcjq3zZdT+LY5Ftms6JR06nADcDsYp5hTU9E2lbJUEOhdlY5J4DNTneM+jQ==} + engines: {node: '>=16.0.0 || 14 >= 14.17'} peerDependencies: rollup: ^2.68.0||^3.0.0||^4.0.0 peerDependenciesMeta: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.18.0) + '@rollup/pluginutils': 5.1.0(rollup@4.20.0) commondir: 1.0.1 estree-walker: 2.0.2 - glob: 8.1.0 + glob: 10.4.2 is-reference: 1.2.1 - magic-string: 0.30.10 - rollup: 4.18.0 + magic-string: 0.30.11 + rollup: 4.20.0 dev: true - /@rollup/plugin-json@6.1.0(rollup@4.18.0): + /@rollup/plugin-json@6.1.0(rollup@4.20.0): resolution: {integrity: sha512-EGI2te5ENk1coGeADSIwZ7G2Q8CJS2sF120T7jLw4xFw9n7wIOXHo+kIYRAoVpJAN+kmqZSoO3Fp4JtoNF4ReA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -6482,11 +6486,11 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.18.0) - rollup: 4.18.0 + '@rollup/pluginutils': 5.1.0(rollup@4.20.0) + rollup: 4.20.0 dev: true - /@rollup/plugin-node-resolve@15.2.3(rollup@4.18.0): + /@rollup/plugin-node-resolve@15.2.3(rollup@4.20.0): resolution: {integrity: sha512-j/lym8nf5E21LwBT4Df1VD6hRO2L2iwUeUmP7litikRsVp1H6NWx20NEp0Y7su+7XGc476GnXXc4kFeZNGmaSQ==} engines: {node: '>=14.0.0'} peerDependencies: @@ -6495,16 +6499,16 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.18.0) + '@rollup/pluginutils': 5.1.0(rollup@4.20.0) '@types/resolve': 1.20.2 deepmerge: 4.3.1 is-builtin-module: 3.2.1 is-module: 1.0.0 resolve: 1.22.8 - rollup: 4.18.0 + rollup: 4.20.0 dev: true - /@rollup/plugin-replace@5.0.7(rollup@4.18.0): + /@rollup/plugin-replace@5.0.7(rollup@4.20.0): resolution: {integrity: sha512-PqxSfuorkHz/SPpyngLyg5GCEkOcee9M1bkxiVDr41Pd61mqP1PLOoDPbpl44SB2mQGKwV/In74gqQmGITOhEQ==} engines: {node: '>=14.0.0'} peerDependencies: @@ -6513,12 +6517,12 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.18.0) - magic-string: 0.30.10 - rollup: 4.18.0 + '@rollup/pluginutils': 5.1.0(rollup@4.20.0) + magic-string: 0.30.11 + rollup: 4.20.0 dev: true - /@rollup/plugin-wasm@6.2.2(rollup@4.18.0): + /@rollup/plugin-wasm@6.2.2(rollup@4.20.0): resolution: {integrity: sha512-gpC4R1G9Ni92ZIRTexqbhX7U+9estZrbhP+9SRb0DW9xpB9g7j34r+J2hqrcW/lRI7dJaU84MxZM0Rt82tqYPQ==} engines: {node: '>=14.0.0'} peerDependencies: @@ -6527,11 +6531,11 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.18.0) - rollup: 4.18.0 + '@rollup/pluginutils': 5.1.0(rollup@4.20.0) + rollup: 4.20.0 dev: true - /@rollup/pluginutils@5.1.0(rollup@4.18.0): + /@rollup/pluginutils@5.1.0(rollup@4.20.0): resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} engines: {node: '>=14.0.0'} peerDependencies: @@ -6543,7 +6547,7 @@ packages: '@types/estree': 1.0.5 estree-walker: 2.0.2 picomatch: 2.3.1 - rollup: 4.18.0 + rollup: 4.20.0 dev: true /@rollup/rollup-android-arm-eabi@4.18.0: @@ -6554,6 +6558,14 @@ packages: dev: true optional: true + /@rollup/rollup-android-arm-eabi@4.20.0: + resolution: {integrity: sha512-TSpWzflCc4VGAUJZlPpgAJE1+V60MePDQnBd7PPkpuEmOy8i87aL6tinFGKBFKuEDikYpig72QzdT3QPYIi+oA==} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-android-arm64@4.18.0: resolution: {integrity: sha512-avCea0RAP03lTsDhEyfy+hpfr85KfyTctMADqHVhLAF3MlIkq83CP8UfAHUssgXTYd+6er6PaAhx/QGv4L1EiA==} cpu: [arm64] @@ -6562,6 +6574,14 @@ packages: dev: true optional: true + /@rollup/rollup-android-arm64@4.20.0: + resolution: {integrity: sha512-u00Ro/nok7oGzVuh/FMYfNoGqxU5CPWz1mxV85S2w9LxHR8OoMQBuSk+3BKVIDYgkpeOET5yXkx90OYFc+ytpQ==} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-darwin-arm64@4.18.0: resolution: {integrity: sha512-IWfdwU7KDSm07Ty0PuA/W2JYoZ4iTj3TUQjkVsO/6U+4I1jN5lcR71ZEvRh52sDOERdnNhhHU57UITXz5jC1/w==} cpu: [arm64] @@ -6570,6 +6590,14 @@ packages: dev: true optional: true + /@rollup/rollup-darwin-arm64@4.20.0: + resolution: {integrity: sha512-uFVfvzvsdGtlSLuL0ZlvPJvl6ZmrH4CBwLGEFPe7hUmf7htGAN+aXo43R/V6LATyxlKVC/m6UsLb7jbG+LG39Q==} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-darwin-x64@4.18.0: resolution: {integrity: sha512-n2LMsUz7Ynu7DoQrSQkBf8iNrjOGyPLrdSg802vk6XT3FtsgX6JbE8IHRvposskFm9SNxzkLYGSq9QdpLYpRNA==} cpu: [x64] @@ -6578,6 +6606,14 @@ packages: dev: true optional: true + /@rollup/rollup-darwin-x64@4.20.0: + resolution: {integrity: sha512-xbrMDdlev53vNXexEa6l0LffojxhqDTBeL+VUxuuIXys4x6xyvbKq5XqTXBCEUA8ty8iEJblHvFaWRJTk/icAQ==} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-arm-gnueabihf@4.18.0: resolution: {integrity: sha512-C/zbRYRXFjWvz9Z4haRxcTdnkPt1BtCkz+7RtBSuNmKzMzp3ZxdM28Mpccn6pt28/UWUCTXa+b0Mx1k3g6NOMA==} cpu: [arm] @@ -6586,6 +6622,14 @@ packages: dev: true optional: true + /@rollup/rollup-linux-arm-gnueabihf@4.20.0: + resolution: {integrity: sha512-jMYvxZwGmoHFBTbr12Xc6wOdc2xA5tF5F2q6t7Rcfab68TT0n+r7dgawD4qhPEvasDsVpQi+MgDzj2faOLsZjA==} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-arm-musleabihf@4.18.0: resolution: {integrity: sha512-l3m9ewPgjQSXrUMHg93vt0hYCGnrMOcUpTz6FLtbwljo2HluS4zTXFy2571YQbisTnfTKPZ01u/ukJdQTLGh9A==} cpu: [arm] @@ -6594,6 +6638,14 @@ packages: dev: true optional: true + /@rollup/rollup-linux-arm-musleabihf@4.20.0: + resolution: {integrity: sha512-1asSTl4HKuIHIB1GcdFHNNZhxAYEdqML/MW4QmPS4G0ivbEcBr1JKlFLKsIRqjSwOBkdItn3/ZDlyvZ/N6KPlw==} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-arm64-gnu@4.18.0: resolution: {integrity: sha512-rJ5D47d8WD7J+7STKdCUAgmQk49xuFrRi9pZkWoRD1UeSMakbcepWXPF8ycChBoAqs1pb2wzvbY6Q33WmN2ftw==} cpu: [arm64] @@ -6602,6 +6654,14 @@ packages: dev: true optional: true + /@rollup/rollup-linux-arm64-gnu@4.20.0: + resolution: {integrity: sha512-COBb8Bkx56KldOYJfMf6wKeYJrtJ9vEgBRAOkfw6Ens0tnmzPqvlpjZiLgkhg6cA3DGzCmLmmd319pmHvKWWlQ==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-arm64-musl@4.18.0: resolution: {integrity: sha512-be6Yx37b24ZwxQ+wOQXXLZqpq4jTckJhtGlWGZs68TgdKXJgw54lUUoFYrg6Zs/kjzAQwEwYbp8JxZVzZLRepQ==} cpu: [arm64] @@ -6610,6 +6670,14 @@ packages: dev: true optional: true + /@rollup/rollup-linux-arm64-musl@4.20.0: + resolution: {integrity: sha512-+it+mBSyMslVQa8wSPvBx53fYuZK/oLTu5RJoXogjk6x7Q7sz1GNRsXWjn6SwyJm8E/oMjNVwPhmNdIjwP135Q==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-powerpc64le-gnu@4.18.0: resolution: {integrity: sha512-hNVMQK+qrA9Todu9+wqrXOHxFiD5YmdEi3paj6vP02Kx1hjd2LLYR2eaN7DsEshg09+9uzWi2W18MJDlG0cxJA==} cpu: [ppc64] @@ -6618,6 +6686,14 @@ packages: dev: true optional: true + /@rollup/rollup-linux-powerpc64le-gnu@4.20.0: + resolution: {integrity: sha512-yAMvqhPfGKsAxHN8I4+jE0CpLWD8cv4z7CK7BMmhjDuz606Q2tFKkWRY8bHR9JQXYcoLfopo5TTqzxgPUjUMfw==} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-riscv64-gnu@4.18.0: resolution: {integrity: sha512-ROCM7i+m1NfdrsmvwSzoxp9HFtmKGHEqu5NNDiZWQtXLA8S5HBCkVvKAxJ8U+CVctHwV2Gb5VUaK7UAkzhDjlg==} cpu: [riscv64] @@ -6626,6 +6702,14 @@ packages: dev: true optional: true + /@rollup/rollup-linux-riscv64-gnu@4.20.0: + resolution: {integrity: sha512-qmuxFpfmi/2SUkAw95TtNq/w/I7Gpjurx609OOOV7U4vhvUhBcftcmXwl3rqAek+ADBwSjIC4IVNLiszoj3dPA==} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-s390x-gnu@4.18.0: resolution: {integrity: sha512-0UyyRHyDN42QL+NbqevXIIUnKA47A+45WyasO+y2bGJ1mhQrfrtXUpTxCOrfxCR4esV3/RLYyucGVPiUsO8xjg==} cpu: [s390x] @@ -6634,6 +6718,14 @@ packages: dev: true optional: true + /@rollup/rollup-linux-s390x-gnu@4.20.0: + resolution: {integrity: sha512-I0BtGXddHSHjV1mqTNkgUZLnS3WtsqebAXv11D5BZE/gfw5KoyXSAXVqyJximQXNvNzUo4GKlCK/dIwXlz+jlg==} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-x64-gnu@4.18.0: resolution: {integrity: sha512-xuglR2rBVHA5UsI8h8UbX4VJ470PtGCf5Vpswh7p2ukaqBGFTnsfzxUBetoWBWymHMxbIG0Cmx7Y9qDZzr648w==} cpu: [x64] @@ -6642,6 +6734,14 @@ packages: dev: true optional: true + /@rollup/rollup-linux-x64-gnu@4.20.0: + resolution: {integrity: sha512-y+eoL2I3iphUg9tN9GB6ku1FA8kOfmF4oUEWhztDJ4KXJy1agk/9+pejOuZkNFhRwHAOxMsBPLbXPd6mJiCwew==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-linux-x64-musl@4.18.0: resolution: {integrity: sha512-LKaqQL9osY/ir2geuLVvRRs+utWUNilzdE90TpyoX0eNqPzWjRm14oMEE+YLve4k/NAqCdPkGYDaDF5Sw+xBfg==} cpu: [x64] @@ -6650,6 +6750,14 @@ packages: dev: true optional: true + /@rollup/rollup-linux-x64-musl@4.20.0: + resolution: {integrity: sha512-hM3nhW40kBNYUkZb/r9k2FKK+/MnKglX7UYd4ZUy5DJs8/sMsIbqWK2piZtVGE3kcXVNj3B2IrUYROJMMCikNg==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-win32-arm64-msvc@4.18.0: resolution: {integrity: sha512-7J6TkZQFGo9qBKH0pk2cEVSRhJbL6MtfWxth7Y5YmZs57Pi+4x6c2dStAUvaQkHQLnEQv1jzBUW43GvZW8OFqA==} cpu: [arm64] @@ -6658,6 +6766,14 @@ packages: dev: true optional: true + /@rollup/rollup-win32-arm64-msvc@4.20.0: + resolution: {integrity: sha512-psegMvP+Ik/Bg7QRJbv8w8PAytPA7Uo8fpFjXyCRHWm6Nt42L+JtoqH8eDQ5hRP7/XW2UiIriy1Z46jf0Oa1kA==} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-win32-ia32-msvc@4.18.0: resolution: {integrity: sha512-Txjh+IxBPbkUB9+SXZMpv+b/vnTEtFyfWZgJ6iyCmt2tdx0OF5WhFowLmnh8ENGNpfUlUZkdI//4IEmhwPieNg==} cpu: [ia32] @@ -6666,6 +6782,14 @@ packages: dev: true optional: true + /@rollup/rollup-win32-ia32-msvc@4.20.0: + resolution: {integrity: sha512-GabekH3w4lgAJpVxkk7hUzUf2hICSQO0a/BLFA11/RMxQT92MabKAqyubzDZmMOC/hcJNlc+rrypzNzYl4Dx7A==} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@rollup/rollup-win32-x64-msvc@4.18.0: resolution: {integrity: sha512-UOo5FdvOL0+eIVTgS4tIdbW+TtnBLWg1YBCcU2KWM7nuNwRz9bksDX1bekJJCpu25N1DVWaCwnT39dVQxzqS8g==} cpu: [x64] @@ -6674,6 +6798,14 @@ packages: dev: true optional: true + /@rollup/rollup-win32-x64-msvc@4.20.0: + resolution: {integrity: sha512-aJ1EJSuTdGnM6qbVC4B5DSmozPTqIag9fSzXRNNo+humQLG89XpPgdt16Ia56ORD7s+H8Pmyx44uczDQ0yDzpg==} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@rushstack/eslint-patch@1.10.3: resolution: {integrity: sha512-qC/xYId4NMebE6w/V33Fh9gWxLgURiNYgVNObbJl2LZv0GUUItCcCqC5axQSwRaAgaxl2mELq1rMzlswaQ0Zxg==} dev: true @@ -9190,8 +9322,8 @@ packages: semver: 7.6.2 dev: true - /bunchee@5.2.2(typescript@5.4.5): - resolution: {integrity: sha512-Xc3Rms+VFXVM3ubfim0G7blq0zJxVsojmN3zyqzEgD2XaxpWduF2CsKCDrA8XvfbOjjMJ+z6rqBU3sNrXSOu7w==} + /bunchee@5.3.2(typescript@5.4.5): + resolution: {integrity: sha512-LW0QnL3NX5+8osowBZ6xoHNSLRugD5GJxgA9n4AEnCfgx2YO6RtY7xmHVvPjLiiMJLApL06bD0xGMYHmTT0+rA==} engines: {node: '>= 18.0.0'} hasBin: true peerDependencies: @@ -9202,23 +9334,23 @@ packages: typescript: optional: true dependencies: - '@rollup/plugin-commonjs': 25.0.8(rollup@4.18.0) - '@rollup/plugin-json': 6.1.0(rollup@4.18.0) - '@rollup/plugin-node-resolve': 15.2.3(rollup@4.18.0) - '@rollup/plugin-replace': 5.0.7(rollup@4.18.0) - '@rollup/plugin-wasm': 6.2.2(rollup@4.18.0) - '@rollup/pluginutils': 5.1.0(rollup@4.18.0) + '@rollup/plugin-commonjs': 26.0.1(rollup@4.20.0) + '@rollup/plugin-json': 6.1.0(rollup@4.20.0) + '@rollup/plugin-node-resolve': 15.2.3(rollup@4.20.0) + '@rollup/plugin-replace': 5.0.7(rollup@4.20.0) + '@rollup/plugin-wasm': 6.2.2(rollup@4.20.0) + '@rollup/pluginutils': 5.1.0(rollup@4.20.0) '@swc/core': 1.6.5(@swc/helpers@0.5.11) '@swc/helpers': 0.5.11 arg: 5.0.2 clean-css: 5.3.3 - magic-string: 0.30.10 + magic-string: 0.30.11 ora: 8.0.1 pretty-bytes: 5.6.0 - rollup: 4.18.0 - rollup-plugin-dts: 6.1.1(rollup@4.18.0)(typescript@5.4.5) - rollup-plugin-swc3: 0.11.2(@swc/core@1.6.5)(rollup@4.18.0) - rollup-preserve-directives: 1.1.1(rollup@4.18.0) + rollup: 4.20.0 + rollup-plugin-dts: 6.1.1(rollup@4.20.0)(typescript@5.4.5) + rollup-plugin-swc3: 0.11.2(@swc/core@1.6.5)(rollup@4.20.0) + rollup-preserve-directives: 1.1.1(rollup@4.20.0) tslib: 2.6.3 typescript: 5.4.5 dev: true @@ -16199,6 +16331,12 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 dev: true + /magic-string@0.30.11: + resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + dev: true + /make-dir@2.1.0: resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} engines: {node: '>=6'} @@ -17704,6 +17842,19 @@ packages: uuid: 8.3.2 dev: false + /next-intl@3.17.3(next@14.2.4)(react@18.3.1): + resolution: {integrity: sha512-WMUgkzRUZnkowVzv8cHpNFZbf9w9d/lZbWEqnLqzn/p///NibtP+bhHLMMsPpRM00T85nhiYAZd9oYZcF3B5Mw==} + peerDependencies: + next: ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + dependencies: + '@formatjs/intl-localematcher': 0.2.32 + negotiator: 0.6.3 + next: 14.2.4(@babel/core@7.24.7)(@playwright/test@1.44.1)(react-dom@18.3.1)(react@18.3.1) + react: 18.3.1 + use-intl: 3.17.3(react@18.3.1) + dev: false + /next-mdx-remote@4.4.1(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-1BvyXaIou6xy3XoNF4yaMZUCb6vD2GTAa5ciOa6WoO+gAUTYsb1K4rI/HSC2ogAWLrb/7VSV52skz07vOzmqIQ==} engines: {node: '>=14', npm: '>=7'} @@ -20841,21 +20992,21 @@ packages: resolution: {integrity: sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==} dev: false - /rollup-plugin-dts@6.1.1(rollup@4.18.0)(typescript@5.4.5): + /rollup-plugin-dts@6.1.1(rollup@4.20.0)(typescript@5.4.5): resolution: {integrity: sha512-aSHRcJ6KG2IHIioYlvAOcEq6U99sVtqDDKVhnwt70rW6tsz3tv5OSjEiWcgzfsHdLyGXZ/3b/7b/+Za3Y6r1XA==} engines: {node: '>=16'} peerDependencies: rollup: ^3.29.4 || ^4 typescript: ^4.5 || ^5.0 dependencies: - magic-string: 0.30.10 - rollup: 4.18.0 + magic-string: 0.30.11 + rollup: 4.20.0 typescript: 5.4.5 optionalDependencies: '@babel/code-frame': 7.24.7 dev: true - /rollup-plugin-swc3@0.11.2(@swc/core@1.6.5)(rollup@4.18.0): + /rollup-plugin-swc3@0.11.2(@swc/core@1.6.5)(rollup@4.20.0): resolution: {integrity: sha512-o1ih9B806fV2wBSNk46T0cYfTF2eiiKmYXRpWw3K4j/Cp3tCAt10UCVsTqvUhGP58pcB3/GZcAVl5e7TCSKN6Q==} engines: {node: '>=12'} peerDependencies: @@ -20863,20 +21014,20 @@ packages: rollup: ^2.0.0 || ^3.0.0 || ^4.0.0 dependencies: '@fastify/deepmerge': 1.3.0 - '@rollup/pluginutils': 5.1.0(rollup@4.18.0) + '@rollup/pluginutils': 5.1.0(rollup@4.20.0) '@swc/core': 1.6.5(@swc/helpers@0.5.11) get-tsconfig: 4.7.5 - rollup: 4.18.0 - rollup-preserve-directives: 1.1.1(rollup@4.18.0) + rollup: 4.20.0 + rollup-preserve-directives: 1.1.1(rollup@4.20.0) dev: true - /rollup-preserve-directives@1.1.1(rollup@4.18.0): + /rollup-preserve-directives@1.1.1(rollup@4.20.0): resolution: {integrity: sha512-+eQafbuEfDPfxQ9hQPlwaROfin4yiVRxap8hnrvvvcSGoukv1tTiYpAW9mvm3uR8J+fe4xd8FdVd5rz9q7jZ+Q==} peerDependencies: rollup: ^2.0.0 || ^3.0.0 || ^4.0.0 dependencies: - magic-string: 0.30.10 - rollup: 4.18.0 + magic-string: 0.30.11 + rollup: 4.20.0 dev: true /rollup@3.29.4: @@ -20913,6 +21064,32 @@ packages: fsevents: 2.3.3 dev: true + /rollup@4.20.0: + resolution: {integrity: sha512-6rbWBChcnSGzIlXeIdNIZTopKYad8ZG8ajhl78lGRLsI2rX8IkaotQhVas2Ma+GPxJav19wrSzvRvuiv0YKzWw==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + dependencies: + '@types/estree': 1.0.5 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.20.0 + '@rollup/rollup-android-arm64': 4.20.0 + '@rollup/rollup-darwin-arm64': 4.20.0 + '@rollup/rollup-darwin-x64': 4.20.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.20.0 + '@rollup/rollup-linux-arm-musleabihf': 4.20.0 + '@rollup/rollup-linux-arm64-gnu': 4.20.0 + '@rollup/rollup-linux-arm64-musl': 4.20.0 + '@rollup/rollup-linux-powerpc64le-gnu': 4.20.0 + '@rollup/rollup-linux-riscv64-gnu': 4.20.0 + '@rollup/rollup-linux-s390x-gnu': 4.20.0 + '@rollup/rollup-linux-x64-gnu': 4.20.0 + '@rollup/rollup-linux-x64-musl': 4.20.0 + '@rollup/rollup-win32-arm64-msvc': 4.20.0 + '@rollup/rollup-win32-ia32-msvc': 4.20.0 + '@rollup/rollup-win32-x64-msvc': 4.20.0 + fsevents: 2.3.3 + dev: true + /run-applescript@5.0.0: resolution: {integrity: sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==} engines: {node: '>=12'} @@ -23213,6 +23390,16 @@ packages: react: 18.1.0 dev: false + /use-intl@3.17.3(react@18.3.1): + resolution: {integrity: sha512-Wfwm1Ko7eTKC9xJz3ODGkdu1V3BUS33EAqdiF9vJR6GMqHBGHUGIawodrmGj9qGCHPGvdu1/acefXZ5dRMZLtg==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + dependencies: + '@formatjs/fast-memoize': 2.2.0 + intl-messageformat: 10.5.14 + react: 18.3.1 + dev: false + /use-sidecar@1.1.2(@types/react@18.3.3)(react@18.3.1): resolution: {integrity: sha512-epTbsLuzZ7lPClpz2TyryBfztm7m+28DlEv2ZCQ3MDr5ssiwyOwGH/e5F9CkfWjJ1t4clvI58yF822/GUkjjhw==} engines: {node: '>=10'}