From a6bdb2b0eca716a1babf7856f15535a9a682deda Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 23 Oct 2024 17:12:23 +0000
Subject: [PATCH] deps(example): bump the dependencies group in
/examples/nextjs-permit with 3 updates (#2065)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps the dependencies group in /examples/nextjs-permit with 3 updates: [@clerk/nextjs](https://github.com/clerk/javascript/tree/HEAD/packages/nextjs), [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) and [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next).
Updates `@clerk/nextjs` from 5.7.5 to 6.0.0
Release notes
Sourced from @clerk/nextjs
's releases.
@clerk/nextjs
@6
.0.0
Major Changes
-
Stop <ClerkProvider>
from opting applications into dynamic rendering. A new prop, <ClerkProvider dynamic>
can be used to opt-in to dynamic rendering and make auth data available during server-side rendering. The RSC auth()
helper should be preferred for accessing auth data during dynamic rendering. (#4366) by @jacekradko
-
@clerk/nextjs
: Converting auth() and clerkClient() interfaces to be async (#4366) by @jacekradko
@clerk/upgrade
: Adding required codemod for @clerk/nextjs
breaking changes
Migration guide
auth()
is now async
Previously the auth()
method from @clerk/nextjs/server
was synchronous.
import { auth } from "@clerk/nextjs/server";
export function GET() {
const { userId } = auth();
return new Response(JSON.stringify({ userId }));
}
The auth
method now becomes asynchronous. You will need to make the following changes to the snippet above to make it compatible.
- export function GET() {
+ export async function GET() {
- const { userId } = auth();
+ const { userId } = await auth();
return new Response(JSON.stringify({ userId }));
}
Clerk middleware auth is now async
import { clerkClient, clerkMiddleware } from '@clerk/nextjs/server';
import { NextResponse } from 'next/server';
export default clerkMiddleware(async (auth, request) => {
const resolvedAuth = await auth();
const count = await resolvedAuth.users.getCount();
if (count) {
return NextResponse.redirect(new URL('/new-url', request.url));
}
});
... (truncated)
Changelog
Sourced from @clerk/nextjs
's changelog.
6.0.0
Major Changes
-
Stop <ClerkProvider>
from opting applications into dynamic rendering. A new prop, <ClerkProvider dynamic>
can be used to opt-in to dynamic rendering and make auth data available during server-side rendering. The RSC auth()
helper should be preferred for accessing auth data during dynamic rendering. (#4366) by @jacekradko
-
@clerk/nextjs
: Converting auth() and clerkClient() interfaces to be async (#4366) by @jacekradko
@clerk/upgrade
: Adding required codemod for @clerk/nextjs
breaking changes
Migration guide
auth()
is now async
Previously the auth()
method from @clerk/nextjs/server
was synchronous.
import { auth } from "@clerk/nextjs/server";
export function GET() {
const { userId } = auth();
return new Response(JSON.stringify({ userId }));
}
The auth
method now becomes asynchronous. You will need to make the following changes to the snippet above to make it compatible.
- export function GET() {
+ export async function GET() {
- const { userId } = auth();
+ const { userId } = await auth();
return new Response(JSON.stringify({ userId }));
}
Clerk middleware auth is now async
import { clerkClient, clerkMiddleware } from '@clerk/nextjs/server';
import { NextResponse } from 'next/server';
export default clerkMiddleware(async (auth, request) => {
const resolvedAuth = await auth();
const count = await resolvedAuth.users.getCount();
if (count) {
return NextResponse.redirect(new URL('/new-url', request.url));
}
... (truncated)
Commits
Updates `@types/react` from 18.3.11 to 18.3.12
Commits
Updates `eslint-config-next` from 15.0.0 to 15.0.1
Release notes
Sourced from eslint-config-next's releases.
v15.0.1
Core Changes
- Reland "[dynamicIO] warn for disallowed dynamic in dev": #71567
- next-upgrade: prompt (un)install only when there's a change: #71308
- chore(next-codemod): remove
@next/font
from optional Next.js packages to install: #71563
- [dynamicIO] Avoid triggering memory leak false positive with makeHangingPromise: #71576
- Avoid triggering memory leak false positive with makeHangingPromise: #71579
- Upgrade React from
65a56d0e-20241020
to 69d4b800-20241021
: #71568
- avoid logging stacks for internal errors: #71575
- Avoid server action
endpoint
function indirection: #71572
- fix: handle terminal color in chrome console: #71581
- [dynamicIO] Update prerender to use Fizz prerender: #71580
- misc(next-upgrade): reuse process.cwd() value: #71558
- [dynamicIO]: dev navigations should show disallowed dynamic errors: #71595
- next-lint: Use ESLint v9 by default: #71371
- fix: prevent router errors from being logged on the client: #71583
- fix: next package resolving in dev overlay: #71632
- Improve type coverage of setup-dev-bundler: #71443
- fix(turbo-tasks): Implement ValueDebugFormat for ResolvedVc: #71173
- Add --turbopack CLI flag: #71657
- [dynamicIO] detect metadata boundaries in dev using server component stacks: #71666
Example Changes
- chore: Update
with-supabase
to be compatible with Nextjs 15: #71631
- Update Sanity example to next v15: #71640
Misc Changes
- docs(ppr): remove v14 mention for ppr: #71498
- docs: fix upgrade codemod command: #71578
- Turbopack: Always use blob: URLs for assets in middleware: #71471
- fix: metadata image route Windows path escaping: #71615
- fix: third-parties package peer dependency: #71620
- Fix
module_resolution: "nodenext"
with mjs
or cjs
: #71635
- react-sync: Automatically update peer dependencies in libraries: #71636
- chore(docs): fix typo in image.mdx docs: #71647
- docs: remove the canary note on instrumentation: #71649
- test: fix async api tests: #71652
- Enable source maps for
pnpm debug
: #71653
- codemod(turbopack): Rewrite more Vc fields in structs as ResolvedVc: #71172
Credits
Huge thanks to @gnoff
, @devjiwonchoi
, @samcx
, @ztanner
, @unstubbable
, @huozhi
, @mischnic
, @lubieowoce
, @eps1lon
, @ivasilov
, @styfle
, @bgw
, @stipsan
, and @timneutkens
for helping!
v15.0.1-canary.3
Core Changes
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
---
.github/workflows/reusable-examples.yml | 3 +
examples/nextjs-permit/package-lock.json | 164 +++++++++++------------
examples/nextjs-permit/package.json | 6 +-
3 files changed, 87 insertions(+), 86 deletions(-)
diff --git a/.github/workflows/reusable-examples.yml b/.github/workflows/reusable-examples.yml
index ac1ecf4c7..ea573abe1 100644
--- a/.github/workflows/reusable-examples.yml
+++ b/.github/workflows/reusable-examples.yml
@@ -676,6 +676,9 @@ jobs:
- name: Build
working-directory: examples/nextjs-permit
run: npm run build
+ env:
+ # This is the smallest dummy token that passes the Clerk validation
+ NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: pk_test_JA==
nextjs-sensitive-info:
name: Next.js + Sensitive Info
diff --git a/examples/nextjs-permit/package-lock.json b/examples/nextjs-permit/package-lock.json
index bf6eea6bc..cc835dfce 100644
--- a/examples/nextjs-permit/package-lock.json
+++ b/examples/nextjs-permit/package-lock.json
@@ -10,8 +10,8 @@
"dependencies": {
"@arcjet/ip": "file:../../ip",
"@arcjet/next": "file:../../arcjet-next",
- "@clerk/nextjs": "^5.7.5",
- "next": "15.0.0",
+ "@clerk/nextjs": "^6.0.0",
+ "next": "15.0.1",
"permitio": "^2.6.1",
"react": "^18",
"react-dom": "^18"
@@ -21,7 +21,7 @@
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
- "eslint-config-next": "15.0.0",
+ "eslint-config-next": "15.0.1",
"typescript": "^5"
}
},
@@ -46,6 +46,7 @@
"@rollup/wasm-node": "4.24.0",
"@types/node": "18.18.0",
"jest": "29.7.0",
+ "next": "15.0.1",
"typescript": "5.6.3"
},
"engines": {
@@ -56,6 +57,7 @@
}
},
"../../ip": {
+ "name": "@arcjet/ip",
"version": "1.0.0-alpha.27",
"license": "Apache-2.0",
"devDependencies": {
@@ -89,12 +91,12 @@
}
},
"node_modules/@clerk/backend": {
- "version": "1.14.1",
- "resolved": "https://registry.npmjs.org/@clerk/backend/-/backend-1.14.1.tgz",
- "integrity": "sha512-YlKMpiVo4UITw3sgA+9QrAFRILVOz5hgB1Zw180Y2LEZ5a+MdpX668vJKGh7riSweMN7JQvU2jlsKGRO+1bXDw==",
+ "version": "1.15.0",
+ "resolved": "https://registry.npmjs.org/@clerk/backend/-/backend-1.15.0.tgz",
+ "integrity": "sha512-WU74HBpD4KpjcqkMHYiyfXtQboPBWjnf8HmVlWHSLoqJdA/11geWr2VOFPtJzuALtCg2SXIdL7nJvqlQquhurQ==",
"dependencies": {
- "@clerk/shared": "2.9.2",
- "@clerk/types": "4.26.0",
+ "@clerk/shared": "2.10.0",
+ "@clerk/types": "4.27.0",
"cookie": "0.7.0",
"snakecase-keys": "5.4.4",
"tslib": "2.4.1"
@@ -104,12 +106,12 @@
}
},
"node_modules/@clerk/clerk-react": {
- "version": "5.12.0",
- "resolved": "https://registry.npmjs.org/@clerk/clerk-react/-/clerk-react-5.12.0.tgz",
- "integrity": "sha512-3Lr2QazCm5R6ZLbu7wM+d5YwCElrAoX00OBWcKqjPYaWDJCCmEYN6LJbLzOTYQ8QT1J1ZIed85/lKa+q2aD1aA==",
+ "version": "5.13.0",
+ "resolved": "https://registry.npmjs.org/@clerk/clerk-react/-/clerk-react-5.13.0.tgz",
+ "integrity": "sha512-4PA0medkzyOOMl//XlFWU5UHVVGx2gg5NSfNrGVuoUkN3kvz+Y7RI/48TruaKIV5wRIGO4F5MKLDfm9H5m25/g==",
"dependencies": {
- "@clerk/shared": "2.9.2",
- "@clerk/types": "4.26.0",
+ "@clerk/shared": "2.10.0",
+ "@clerk/types": "4.27.0",
"tslib": "2.4.1"
},
"engines": {
@@ -121,14 +123,14 @@
}
},
"node_modules/@clerk/nextjs": {
- "version": "5.7.5",
- "resolved": "https://registry.npmjs.org/@clerk/nextjs/-/nextjs-5.7.5.tgz",
- "integrity": "sha512-hfH4IiKcDT9LlqSOlNHZoYfX6iF4lBqPXf/KwnILCX/0+MVYaotb30FwWXkcHI2jZgcvumlQTOq8Gv5KugnihA==",
- "dependencies": {
- "@clerk/backend": "1.14.1",
- "@clerk/clerk-react": "5.12.0",
- "@clerk/shared": "2.9.2",
- "@clerk/types": "4.26.0",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/@clerk/nextjs/-/nextjs-6.0.0.tgz",
+ "integrity": "sha512-c0VejwrEI4/w+oDvkK1m2PG0Zpn+5UqxvUz3qr80VXlIJaMMEj7ARXBPiL3/aRJs+H+JsjdvJPBKKImEH/UQgQ==",
+ "dependencies": {
+ "@clerk/backend": "1.15.0",
+ "@clerk/clerk-react": "5.13.0",
+ "@clerk/shared": "2.10.0",
+ "@clerk/types": "4.27.0",
"crypto-js": "4.2.0",
"server-only": "0.0.1",
"tslib": "2.4.1"
@@ -143,12 +145,12 @@
}
},
"node_modules/@clerk/shared": {
- "version": "2.9.2",
- "resolved": "https://registry.npmjs.org/@clerk/shared/-/shared-2.9.2.tgz",
- "integrity": "sha512-vRMDj13Pv9n8Pf+f8P40AvqJ8QEq348qUxUVIf17vn9R3/toicrQOY/Q6qsrAS8KXY9+ZnyTafJa+VFK+6iEFA==",
+ "version": "2.10.0",
+ "resolved": "https://registry.npmjs.org/@clerk/shared/-/shared-2.10.0.tgz",
+ "integrity": "sha512-4E9uBSBh1OR+/l6/FCMc5d+RUDnLU8op5bynZf0uZqK8xKmqs3+U9Svr1YJpmtJa+UwQLxkzWEsXE5jJ1Aph8w==",
"hasInstallScript": true,
"dependencies": {
- "@clerk/types": "4.26.0",
+ "@clerk/types": "4.27.0",
"glob-to-regexp": "0.4.1",
"js-cookie": "3.0.5",
"std-env": "^3.7.0",
@@ -171,9 +173,9 @@
}
},
"node_modules/@clerk/types": {
- "version": "4.26.0",
- "resolved": "https://registry.npmjs.org/@clerk/types/-/types-4.26.0.tgz",
- "integrity": "sha512-VGcrQz/XpCiGbpIIzKVwWw4nLorzKnIP1IAemj1xt/80ULcdEZCncwhas6PoYBBsl1W55A1SwP9B/pEs0nmkCw==",
+ "version": "4.27.0",
+ "resolved": "https://registry.npmjs.org/@clerk/types/-/types-4.27.0.tgz",
+ "integrity": "sha512-NOPelMa0SzD0oG/H77Gt0WwzGdUCFQVsUjMIb6AFVO7P/lKDecXN+wbYiMTzJ4HF4W4jUK9v0nNXNfLzDOwH8Q==",
"dependencies": {
"csstype": "3.1.1"
},
@@ -644,17 +646,16 @@
}
},
"node_modules/@next/env": {
- "version": "15.0.0",
- "resolved": "https://registry.npmjs.org/@next/env/-/env-15.0.0.tgz",
- "integrity": "sha512-Mcv8ZVmEgTO3bePiH/eJ7zHqQEs2gCqZ0UId2RxHmDDc7Pw6ngfSrOFlxG8XDpaex+n2G+TKPsQAf28MO+88Gw==",
+ "version": "15.0.1",
+ "resolved": "https://registry.npmjs.org/@next/env/-/env-15.0.1.tgz",
+ "integrity": "sha512-lc4HeDUKO9gxxlM5G2knTRifqhsY6yYpwuHspBZdboZe0Gp+rZHBNNSIjmQKDJIdRXiXGyVnSD6gafrbQPvILQ==",
"license": "MIT"
},
"node_modules/@next/eslint-plugin-next": {
- "version": "15.0.0",
- "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-15.0.0.tgz",
- "integrity": "sha512-UG/Gnsq6Sc4wRhO9qk+vc/2v4OfRXH7GEH6/TGlNF5eU/vI9PIO7q+kgd65X2DxJ+qIpHWpzWwlPLmqMi1FE9A==",
+ "version": "15.0.1",
+ "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-15.0.1.tgz",
+ "integrity": "sha512-bKWsMaGPbiFAaGqrDJvbE8b4Z0uKicGVcgOI77YM2ui3UfjHMr4emFPrZTLeZVchi7fT1mooG2LxREfUUClIKw==",
"dev": true,
- "license": "MIT",
"dependencies": {
"fast-glob": "3.3.1"
}
@@ -664,7 +665,6 @@
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz",
"integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==",
"dev": true,
- "license": "MIT",
"dependencies": {
"@nodelib/fs.stat": "^2.0.2",
"@nodelib/fs.walk": "^1.2.3",
@@ -681,7 +681,6 @@
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"dev": true,
- "license": "ISC",
"dependencies": {
"is-glob": "^4.0.1"
},
@@ -690,9 +689,9 @@
}
},
"node_modules/@next/swc-darwin-arm64": {
- "version": "15.0.0",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.0.0.tgz",
- "integrity": "sha512-Gjgs3N7cFa40a9QT9AEHnuGKq69/bvIOn0SLGDV+ordq07QOP4k1GDOVedMHEjVeqy1HBLkL8rXnNTuMZIv79A==",
+ "version": "15.0.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.0.1.tgz",
+ "integrity": "sha512-C9k/Xv4sxkQRTA37Z6MzNq3Yb1BJMmSqjmwowoWEpbXTkAdfOwnoKOpAb71ItSzoA26yUTIo6ZhN8rKGu4ExQw==",
"cpu": [
"arm64"
],
@@ -706,9 +705,9 @@
}
},
"node_modules/@next/swc-darwin-x64": {
- "version": "15.0.0",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-15.0.0.tgz",
- "integrity": "sha512-BUtTvY5u9s5berAuOEydAUlVMjnl6ZjXS+xVrMt317mglYZ2XXjY8YRDCaz9vYMjBNPXH8Gh75Cew5CMdVbWTw==",
+ "version": "15.0.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-15.0.1.tgz",
+ "integrity": "sha512-uHl13HXOuq1G7ovWFxCACDJHTSDVbn/sbLv8V1p+7KIvTrYQ5HNoSmKBdYeEKRRCbEmd+OohOgg9YOp8Ux3MBg==",
"cpu": [
"x64"
],
@@ -722,9 +721,9 @@
}
},
"node_modules/@next/swc-linux-arm64-gnu": {
- "version": "15.0.0",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.0.0.tgz",
- "integrity": "sha512-sbCoEpuWUBpYoLSgYrk0CkBv8RFv4ZlPxbwqRHr/BWDBJppTBtF53EvsntlfzQJ9fosYX12xnS6ltxYYwsMBjg==",
+ "version": "15.0.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.0.1.tgz",
+ "integrity": "sha512-LvyhvxHOihFTEIbb35KxOc3q8w8G4xAAAH/AQnsYDEnOvwawjL2eawsB59AX02ki6LJdgDaHoTEnC54Gw+82xw==",
"cpu": [
"arm64"
],
@@ -738,9 +737,9 @@
}
},
"node_modules/@next/swc-linux-arm64-musl": {
- "version": "15.0.0",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.0.0.tgz",
- "integrity": "sha512-JAw84qfL81aQCirXKP4VkgmhiDpXJupGjt8ITUkHrOVlBd+3h5kjfPva5M0tH2F9KKSgJQHEo3F5S5tDH9h2ww==",
+ "version": "15.0.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.0.1.tgz",
+ "integrity": "sha512-vFmCGUFNyk/A5/BYcQNhAQqPIw01RJaK6dRO+ZEhz0DncoW+hJW1kZ8aH2UvTX27zPq3m85zN5waMSbZEmANcQ==",
"cpu": [
"arm64"
],
@@ -754,9 +753,9 @@
}
},
"node_modules/@next/swc-linux-x64-gnu": {
- "version": "15.0.0",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-15.0.0.tgz",
- "integrity": "sha512-r5Smd03PfxrGKMewdRf2RVNA1CU5l2rRlvZLQYZSv7FUsXD5bKEcOZ/6/98aqRwL7diXOwD8TCWJk1NbhATQHg==",
+ "version": "15.0.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-15.0.1.tgz",
+ "integrity": "sha512-5by7IYq0NCF8rouz6Qg9T97jYU68kaClHPfGpQG2lCZpSYHtSPQF1kjnqBTd34RIqPKMbCa4DqCufirgr8HM5w==",
"cpu": [
"x64"
],
@@ -770,9 +769,9 @@
}
},
"node_modules/@next/swc-linux-x64-musl": {
- "version": "15.0.0",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-15.0.0.tgz",
- "integrity": "sha512-fM6qocafz4Xjhh79CuoQNeGPhDHGBBUbdVtgNFJOUM8Ih5ZpaDZlTvqvqsh5IoO06CGomxurEGqGz/4eR/FaMQ==",
+ "version": "15.0.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-15.0.1.tgz",
+ "integrity": "sha512-lmYr6H3JyDNBJLzklGXLfbehU3ay78a+b6UmBGlHls4xhDXBNZfgb0aI67sflrX+cGBnv1LgmWzFlYrAYxS1Qw==",
"cpu": [
"x64"
],
@@ -786,9 +785,9 @@
}
},
"node_modules/@next/swc-win32-arm64-msvc": {
- "version": "15.0.0",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.0.0.tgz",
- "integrity": "sha512-ZOd7c/Lz1lv7qP/KzR513XEa7QzW5/P0AH3A5eR1+Z/KmDOvMucht0AozccPc0TqhdV1xaXmC0Fdx0hoNzk6ng==",
+ "version": "15.0.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.0.1.tgz",
+ "integrity": "sha512-DS8wQtl6diAj0eZTdH0sefykm4iXMbHT4MOvLwqZiIkeezKpkgPFcEdFlz3vKvXa2R/2UEgMh48z1nEpNhjeOQ==",
"cpu": [
"arm64"
],
@@ -802,9 +801,9 @@
}
},
"node_modules/@next/swc-win32-x64-msvc": {
- "version": "15.0.0",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.0.0.tgz",
- "integrity": "sha512-2RVWcLtsqg4LtaoJ3j7RoKpnWHgcrz5XvuUGE7vBYU2i6M2XeD9Y8RlLaF770LEIScrrl8MdWsp6odtC6sZccg==",
+ "version": "15.0.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.0.1.tgz",
+ "integrity": "sha512-4Ho2ggvDdMKlZ/0e9HNdZ9ngeaBwtc+2VS5oCeqrbXqOgutX6I4U2X/42VBw0o+M5evn4/7v3zKgGHo+9v/VjA==",
"cpu": [
"x64"
],
@@ -908,9 +907,9 @@
"dev": true
},
"node_modules/@types/react": {
- "version": "18.3.11",
- "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.11.tgz",
- "integrity": "sha512-r6QZ069rFTjrEYgFdOck1gK7FLVsgJE7tTz0pQBczlBNUhBNk0MQH4UbnFSwjpQLMkLzgqvBBa+qGpLje16eTQ==",
+ "version": "18.3.12",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.12.tgz",
+ "integrity": "sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==",
"dev": true,
"dependencies": {
"@types/prop-types": "*",
@@ -2139,13 +2138,12 @@
}
},
"node_modules/eslint-config-next": {
- "version": "15.0.0",
- "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-15.0.0.tgz",
- "integrity": "sha512-HFeTwCR2lFEUWmdB00WZrzaak2CvMvxici38gQknA6Bu2HPizSE4PNFGaFzr5GupjBt+SBJ/E0GIP57ZptOD3g==",
+ "version": "15.0.1",
+ "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-15.0.1.tgz",
+ "integrity": "sha512-3cYCrgbH6GS/ufApza7XCKz92vtq4dAdYhx++rMFNlH2cAV+/GsAKkrr4+bohYOACmzG2nAOR+uWprKC1Uld6A==",
"dev": true,
- "license": "MIT",
"dependencies": {
- "@next/eslint-plugin-next": "15.0.0",
+ "@next/eslint-plugin-next": "15.0.1",
"@rushstack/eslint-patch": "^1.10.3",
"@typescript-eslint/eslint-plugin": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0",
"@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0",
@@ -3763,12 +3761,12 @@
"dev": true
},
"node_modules/next": {
- "version": "15.0.0",
- "resolved": "https://registry.npmjs.org/next/-/next-15.0.0.tgz",
- "integrity": "sha512-/ivqF6gCShXpKwY9hfrIQYh8YMge8L3W+w1oRLv/POmK4MOQnh+FscZ8a0fRFTSQWE+2z9ctNYvELD9vP2FV+A==",
+ "version": "15.0.1",
+ "resolved": "https://registry.npmjs.org/next/-/next-15.0.1.tgz",
+ "integrity": "sha512-PSkFkr/w7UnFWm+EP8y/QpHrJXMqpZzAXpergB/EqLPOh4SGPJXv1wj4mslr2hUZBAS9pX7/9YLIdxTv6fwytw==",
"license": "MIT",
"dependencies": {
- "@next/env": "15.0.0",
+ "@next/env": "15.0.1",
"@swc/counter": "0.1.3",
"@swc/helpers": "0.5.13",
"busboy": "1.6.0",
@@ -3783,22 +3781,22 @@
"node": ">=18.18.0"
},
"optionalDependencies": {
- "@next/swc-darwin-arm64": "15.0.0",
- "@next/swc-darwin-x64": "15.0.0",
- "@next/swc-linux-arm64-gnu": "15.0.0",
- "@next/swc-linux-arm64-musl": "15.0.0",
- "@next/swc-linux-x64-gnu": "15.0.0",
- "@next/swc-linux-x64-musl": "15.0.0",
- "@next/swc-win32-arm64-msvc": "15.0.0",
- "@next/swc-win32-x64-msvc": "15.0.0",
+ "@next/swc-darwin-arm64": "15.0.1",
+ "@next/swc-darwin-x64": "15.0.1",
+ "@next/swc-linux-arm64-gnu": "15.0.1",
+ "@next/swc-linux-arm64-musl": "15.0.1",
+ "@next/swc-linux-x64-gnu": "15.0.1",
+ "@next/swc-linux-x64-musl": "15.0.1",
+ "@next/swc-win32-arm64-msvc": "15.0.1",
+ "@next/swc-win32-x64-msvc": "15.0.1",
"sharp": "^0.33.5"
},
"peerDependencies": {
"@opentelemetry/api": "^1.1.0",
"@playwright/test": "^1.41.2",
"babel-plugin-react-compiler": "*",
- "react": "^18.2.0 || 19.0.0-rc-65a56d0e-20241020",
- "react-dom": "^18.2.0 || 19.0.0-rc-65a56d0e-20241020",
+ "react": "^18.2.0 || 19.0.0-rc-69d4b800-20241021",
+ "react-dom": "^18.2.0 || 19.0.0-rc-69d4b800-20241021",
"sass": "^1.3.0"
},
"peerDependenciesMeta": {
diff --git a/examples/nextjs-permit/package.json b/examples/nextjs-permit/package.json
index cdfbf2422..4b01d699d 100644
--- a/examples/nextjs-permit/package.json
+++ b/examples/nextjs-permit/package.json
@@ -11,8 +11,8 @@
"dependencies": {
"@arcjet/ip": "file:../../ip",
"@arcjet/next": "file:../../arcjet-next",
- "@clerk/nextjs": "^5.7.5",
- "next": "15.0.0",
+ "@clerk/nextjs": "^6.0.0",
+ "next": "15.0.1",
"permitio": "^2.6.1",
"react": "^18",
"react-dom": "^18"
@@ -22,7 +22,7 @@
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
- "eslint-config-next": "15.0.0",
+ "eslint-config-next": "15.0.1",
"typescript": "^5"
}
}