diff --git a/.changeset/fruity-clocks-send.md b/.changeset/fruity-clocks-send.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/fruity-clocks-send.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/integration/README.md b/integration/README.md index aa92167377d..e6165c54dd8 100644 --- a/integration/README.md +++ b/integration/README.md @@ -368,7 +368,6 @@ Assuming you have a `react-parcel` template defined in `integration/templates`, ``` Here's what each thing is doing: - - `setName`: Set internal name - `useTemplate`: Define which template inside `integration/templates` to use - `setEnvFormatter`: Define how environment variables should be formatted. The first argument accepts `'public'` and `'private'`. Inside [`envs.ts`](./presets/envs.ts) the environment variables you can use through [`withEnv`](#environment-configs) are defined. Since different frameworks require environment variables to be in different formats (e.g. Next.js wants public env vars to be prefixed with `NEXT_PUBLIC_`) you can use this formatter to change that. diff --git a/package.json b/package.json index 78fe184be95..9d09bb226ed 100644 --- a/package.json +++ b/package.json @@ -126,7 +126,7 @@ "json5": "2.2.3", "jsonwebtoken": "9.0.2", "lint-staged": "^14.0.1", - "prettier": "^3.5.3", + "prettier": "^3.6.2", "prettier-plugin-astro": "^0.14.1", "prettier-plugin-packagejson": "^2.5.15", "prettier-plugin-tailwindcss": "^0.6.12", diff --git a/packages/localizations/README.md b/packages/localizations/README.md index dcd5092fc6c..560fdb73126 100644 --- a/packages/localizations/README.md +++ b/packages/localizations/README.md @@ -66,7 +66,6 @@ We're open to all community contributions! If you'd like to contribute in any wa 1. Open the [`localizations/src/en-US.ts`](https://github.com/clerk/javascript/blob/main/packages/localizations/src/en-US.ts) file and add your new key to the object. `en-US` is the default language. If you feel comfortable adding your message in another language than English, feel free to also edit other files. 1. Use the new localization key inside the component. There are two ways: - - The string is inside a component like ``: ```diff diff --git a/packages/remix/README.md b/packages/remix/README.md index 5d2c44d8a8d..5e3a2073560 100644 --- a/packages/remix/README.md +++ b/packages/remix/README.md @@ -25,7 +25,8 @@ -> [!IMPORTANT] If you're starting a new project with React Router v7 or are in the process of upgrading a Remix v2 application, please use the [`@clerk/react-router`](https://clerk.com/docs/references/react-router/overview) SDK. `@clerk/remix` is only compatible with Remix v2. +> [!WARNING] +> `@clerk/remix` is deprecated and no longer receiving updates. If you're starting a new project with React Router v7 or are in the process of upgrading a Remix v2 application to Remix v3, please use the [`@clerk/react-router`](https://clerk.com/docs/references/react-router/overview) SDK. ## Getting Started diff --git a/packages/shared/src/compiled/path-to-regexp/index.js b/packages/shared/src/compiled/path-to-regexp/index.js index 7112d4ae2b8..7dbeaca3864 100644 --- a/packages/shared/src/compiled/path-to-regexp/index.js +++ b/packages/shared/src/compiled/path-to-regexp/index.js @@ -45,12 +45,12 @@ function _(r) { break; } if (!u) throw new TypeError('Missing parameter name at '.concat(e)); - n.push({ + (n.push({ type: 'NAME', index: e, value: u, }), - (e = t); + (e = t)); continue; } if (a === '(') { @@ -74,12 +74,12 @@ function _(r) { } if (o) throw new TypeError('Unbalanced pattern at '.concat(e)); if (!m) throw new TypeError('Missing pattern at '.concat(e)); - n.push({ + (n.push({ type: 'PATTERN', index: e, value: m, }), - (e = t); + (e = t)); continue; } n.push({ @@ -147,7 +147,7 @@ function F(r, n) { C = f('PATTERN'); if (x || C) { var g = T || ''; - u.indexOf(g) === -1 && ((p += g), (g = '')), + (u.indexOf(g) === -1 && ((p += g), (g = '')), p && (o.push(p), (p = '')), o.push({ name: x || m++, @@ -155,7 +155,7 @@ function F(r, n) { suffix: '', pattern: C || A(g), modifier: f('MODIFIER') || '', - }); + })); continue; } var i = T || f('ESCAPED_CHAR'); @@ -170,14 +170,14 @@ function F(r, n) { y = f('NAME') || '', O = f('PATTERN') || '', b = d(); - w('CLOSE'), + (w('CLOSE'), o.push({ name: y || (O ? m++ : ''), pattern: y && !O ? A(g) : O, prefix: g, suffix: b, modifier: f('MODIFIER') || '', - }); + })); continue; } w('END'); @@ -240,14 +240,14 @@ function D(r) { function $(r, n) { if (!n) return r; for (var e = /\((?:\?<(.*?)>)?(?!\?)/g, a = 0, u = e.exec(r.source); u; ) - n.push({ + (n.push({ name: u[1] || a++, prefix: '', suffix: '', modifier: '', pattern: '', }), - (u = e.exec(r.source)); + (u = e.exec(r.source))); return r; } @@ -316,11 +316,11 @@ function U(r, n, e) { else x += '(?:'.concat(R).concat(y, ')').concat(i.modifier); } } - if (m) u || (x += ''.concat(T, '?')), (x += e.endsWith ? '(?='.concat(A, ')') : '$'); + if (m) (u || (x += ''.concat(T, '?')), (x += e.endsWith ? '(?='.concat(A, ')') : '$')); else { var b = r[r.length - 1], l = typeof b == 'string' ? T.indexOf(b[b.length - 1]) > -1 : b === void 0; - u || (x += '(?:'.concat(T, '(?=').concat(A, '))?')), l || (x += '(?='.concat(T, '|').concat(A, ')')); + (u || (x += '(?:'.concat(T, '(?=').concat(A, '))?')), l || (x += '(?='.concat(T, '|').concat(A, ')'))); } return new RegExp(x, D(e)); } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 81cb4e53e65..6f65b6e000b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -230,17 +230,17 @@ importers: specifier: ^14.0.1 version: 14.0.1(enquirer@2.4.1) prettier: - specifier: ^3.5.3 - version: 3.5.3 + specifier: ^3.6.2 + version: 3.6.2 prettier-plugin-astro: specifier: ^0.14.1 version: 0.14.1 prettier-plugin-packagejson: specifier: ^2.5.15 - version: 2.5.15(prettier@3.5.3) + version: 2.5.15(prettier@3.6.2) prettier-plugin-tailwindcss: specifier: ^0.6.12 - version: 0.6.12(prettier-plugin-astro@0.14.1)(prettier@3.5.3) + version: 0.6.12(prettier-plugin-astro@0.14.1)(prettier@3.6.2) publint: specifier: ^0.3.12 version: 0.3.12 @@ -12283,8 +12283,8 @@ packages: engines: {node: '>=10.13.0'} hasBin: true - prettier@3.5.3: - resolution: {integrity: sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==} + prettier@3.6.2: + resolution: {integrity: sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==} engines: {node: '>=14'} hasBin: true @@ -20327,7 +20327,7 @@ snapshots: '@tanstack/router-core': 1.132.0 '@tanstack/router-utils': 1.132.0 '@tanstack/virtual-file-routes': 1.132.0 - prettier: 3.5.3 + prettier: 3.6.2 recast: 0.23.11 source-map: 0.7.6 tsx: 4.19.2 @@ -29417,25 +29417,25 @@ snapshots: prettier-plugin-astro@0.14.1: dependencies: '@astrojs/compiler': 2.13.0 - prettier: 3.5.3 + prettier: 3.6.2 sass-formatter: 0.7.9 - prettier-plugin-packagejson@2.5.15(prettier@3.5.3): + prettier-plugin-packagejson@2.5.15(prettier@3.6.2): dependencies: sort-package-json: 3.2.1 synckit: 0.11.8 optionalDependencies: - prettier: 3.5.3 + prettier: 3.6.2 - prettier-plugin-tailwindcss@0.6.12(prettier-plugin-astro@0.14.1)(prettier@3.5.3): + prettier-plugin-tailwindcss@0.6.12(prettier-plugin-astro@0.14.1)(prettier@3.6.2): dependencies: - prettier: 3.5.3 + prettier: 3.6.2 optionalDependencies: prettier-plugin-astro: 0.14.1 prettier@2.8.8: {} - prettier@3.5.3: {} + prettier@3.6.2: {} pretty-bytes@5.6.0: {}