Skip to content

Commit

Permalink
Merge branch 'next' into upgrade-node-min-target
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored Oct 30, 2022
2 parents c4eccbd + 9abfcfb commit cba3ccb
Show file tree
Hide file tree
Showing 21 changed files with 662 additions and 238 deletions.
4 changes: 2 additions & 2 deletions docs/guide/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Let's refactor our current code:
import { faker } from '@faker-js/faker';

function createRandomUser(): User {
const sex = this.faker.person.sexType();
const sex = faker.person.sexType();
const firstName = faker.person.firstName(sex);
const lastName = faker.person.lastName();
const email = faker.internet.email(firstName, lastName);
Expand Down Expand Up @@ -179,7 +179,7 @@ Faker has your back, with another helper method:
import { faker } from '@faker-js/faker';

function createRandomUser(): User {
const sex = this.faker.person.sexType();
const sex = faker.person.sexType();
const firstName = faker.person.firstName(sex);
const lastName = faker.person.lastName();
const email = faker.helpers.unique(faker.internet.email, [
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@
"@algolia/client-search": "~4.14.2",
"@types/glob": "~8.0.0",
"@types/markdown-it": "~12.2.3",
"@types/node": "~18.8.4",
"@types/node": "~18.11.7",
"@types/prettier": "~2.7.1",
"@types/react": "~18.0.22",
"@types/react": "~18.0.24",
"@types/sanitize-html": "~2.6.2",
"@types/semver": "~7.3.12",
"@types/semver": "~7.3.13",
"@types/validator": "~13.7.9",
"@typescript-eslint/eslint-plugin": "~5.40.1",
"@typescript-eslint/parser": "~5.40.1",
Expand All @@ -110,13 +110,13 @@
"@vueuse/core": "~9.4.0",
"c8": "~7.12.0",
"conventional-changelog-cli": "~2.2.2",
"cypress": "~10.10.0",
"cypress": "~10.11.0",
"esbuild": "~0.15.12",
"eslint": "~8.26.0",
"eslint-config-prettier": "~8.5.0",
"eslint-define-config": "~1.8.0",
"eslint-gitignore": "~0.1.0",
"eslint-plugin-jsdoc": "~39.3.23",
"eslint-plugin-jsdoc": "~39.3.25",
"eslint-plugin-prettier": "~4.2.1",
"glob": "~8.0.3",
"lint-staged": "~13.0.3",
Expand All @@ -128,16 +128,16 @@
"react": "~18.2.0",
"react-dom": "~18.2.0",
"rimraf": "~3.0.2",
"sanitize-html": "~2.7.2",
"sanitize-html": "~2.7.3",
"semver": "~7.3.8",
"simple-git-hooks": "~2.8.1",
"standard-version": "~9.5.0",
"tsx": "~3.11.0",
"typedoc": "~0.23.18",
"typedoc": "~0.23.19",
"typedoc-plugin-missing-exports": "~1.0.0",
"typescript": "~4.8.4",
"validator": "~13.7.0",
"vite": "~3.1.8",
"vite": "~3.2.1",
"vitepress": "1.0.0-alpha.26",
"vitest": "~0.24.3",
"vue": "~3.2.41"
Expand Down
Loading

0 comments on commit cba3ccb

Please sign in to comment.