Skip to content

Commit 2f5f5dd

Browse files
chore(deps): update dependency netlify-cli to v21 (#2908)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent b3ab558 commit 2f5f5dd

File tree

6 files changed

+29
-29
lines changed

6 files changed

+29
-29
lines changed

e2e-report/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e-report/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"daisyui": "^4.12.2",
2020
"eslint": "^8.57.0",
2121
"eslint-config-next": "^14.2.4",
22-
"netlify-cli": "^20.1.1",
22+
"netlify-cli": "^21.0.1",
2323
"postcss": "^8.4.38",
2424
"sass": "^1.77.1",
2525
"tailwindcss": "^3.4.4"

package-lock.json

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"memfs": "^4.9.2",
7676
"mock-require": "^3.0.3",
7777
"msw": "^2.0.7",
78-
"netlify-cli": "^20.1.1",
78+
"netlify-cli": "^21.0.1",
7979
"next": "^15.0.0-canary.28",
8080
"next-with-cache-handler-v2": "npm:next@15.3.0-canary.13",
8181
"os": "^0.1.2",

tests/netlify-deploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export class NextDeployInstance extends NextInstance {
148148

149149
try {
150150
const deployUrlRegex = new RegExp(
151-
/https:\/\/app\.netlify\.com\/sites\/(?<siteName>.+)\/deploys\/(?<deployID>[0-9a-f]+)/gm,
151+
/https:\/\/app\.netlify\.com\/sites\/(?<siteName>[^\/]+)\/deploys\/(?<deployID>[0-9a-f]+)/gm,
152152
).exec(deployRes.stdout)
153153
const [buildLogsUrl] = deployUrlRegex || []
154154
const { deployID, siteName } = deployUrlRegex?.groups || {}

tests/utils/create-e2e-fixture.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@ async function deploySite(
280280
const output = await readFile(join(siteDir, outputFile), 'utf-8')
281281

282282
const { siteName, deployID } =
283-
new RegExp(/app\.netlify\.com\/sites\/(?<siteName>.+)\/deploys\/(?<deployID>[0-9a-f]+)/gm).exec(
284-
output,
285-
)?.groups || {}
283+
new RegExp(
284+
/app\.netlify\.com\/sites\/(?<siteName>[^\/]+)\/deploys\/(?<deployID>[0-9a-f]+)/gm,
285+
).exec(output)?.groups || {}
286286

287287
if (!deployID) {
288288
throw new Error('Could not extract DeployID from the build logs')

0 commit comments

Comments
 (0)