From 41d15d8bac0575d2249b278651820f172c50b1b9 Mon Sep 17 00:00:00 2001 From: Benedikt Schniepp Date: Sun, 8 Dec 2024 15:54:09 +0000 Subject: [PATCH] Update faker --- cypress/support/commands.ts | 2 +- package-lock.json | 12 ++++++------ package.json | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index 6fca612..7b0b995 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -43,7 +43,7 @@ declare global { } function login({ - email = faker.internet.email(undefined, undefined, "example.com"), + email = faker.internet.email({ provider: "example.com" }), }: { email?: string; } = {}) { diff --git a/package-lock.json b/package-lock.json index 4fa75cf..62751cd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,7 +33,7 @@ }, "devDependencies": { "@eslint/js": "^9.16.0", - "@faker-js/faker": "^8.4.1", + "@faker-js/faker": "^9.3.0", "@remix-run/dev": "^2.15.0", "@testing-library/cypress": "^10.0.2", "@testing-library/jest-dom": "^6.6.3", @@ -1418,9 +1418,9 @@ } }, "node_modules/@faker-js/faker": { - "version": "8.4.1", - "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-8.4.1.tgz", - "integrity": "sha512-XQ3cU+Q8Uqmrbf2e0cIC/QN43sTBSC8KF12u29Mb47tWrt2hAgBXSgpZMj4Ao8Uk0iJcU99QsOCaIL8934obCg==", + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-9.3.0.tgz", + "integrity": "sha512-r0tJ3ZOkMd9xsu3VRfqlFR6cz0V/jFYRswAIpC+m/DIfAUXq7g8N7wTAlhSANySXYGKzGryfDXwtwsY8TxEIDw==", "dev": true, "funding": [ { @@ -1430,8 +1430,8 @@ ], "license": "MIT", "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0", - "npm": ">=6.14.13" + "node": ">=18.0.0", + "npm": ">=9.0.0" } }, "node_modules/@floating-ui/core": { diff --git a/package.json b/package.json index 13ef50e..9ac9530 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ }, "devDependencies": { "@eslint/js": "^9.16.0", - "@faker-js/faker": "^8.4.1", + "@faker-js/faker": "^9.3.0", "@remix-run/dev": "^2.15.0", "@testing-library/cypress": "^10.0.2", "@testing-library/jest-dom": "^6.6.3",