Skip to content

Commit

Permalink
Merge branch 'next' into ro-md-city-pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed May 25, 2023
2 parents 30c6e3d + d4a25f6 commit 4688854
Show file tree
Hide file tree
Showing 64 changed files with 1,087 additions and 889 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Expand Up @@ -128,6 +128,7 @@ module.exports = defineConfig({
],

'vitest/expect-expect': 'off',
'vitest/prefer-each': 'error',
'vitest/valid-expect': ['error', { maxArgs: 2 }],
},
},
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -252,7 +252,7 @@ jobs:
run: pnpm vitest run --coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.3
uses: codecov/codecov-action@v3.1.4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,11 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [8.0.1](https://github.com/faker-js/faker/compare/v8.0.0...v8.0.1) (2023-05-15)


* **docs:** switch doc links to stable ([#2152](https://github.com/faker-js/faker/pull/2152)) ([8f741bd](https://github.com/faker-js/faker/commit/8f741bd4bda455517fd048b83d76bd8e6d89d78e))

## [8.0.0](https://github.com/faker-js/faker/compare/v8.0.0-beta.1...v8.0.0) (2023-05-11)


Expand Down
12 changes: 6 additions & 6 deletions README.md
Expand Up @@ -24,11 +24,11 @@ Please proceed to the [Getting Started Guide](https://fakerjs.dev/guide/) for th

For detailed API documentation, please select the version of the documentation you are looking for.

| Version | Website |
| :---------: | :------------------------ |
| v8 (next) | https://next.fakerjs.dev/ |
| v7 (stable) | https://fakerjs.dev/ |
| v6 (old) | https://v6.fakerjs.dev/ |
| Version | Website |
| :----------: | :------------------------ |
| v8.\* (next) | https://next.fakerjs.dev/ |
| v8 (stable) | https://fakerjs.dev/ |
| v7 (old) | https://v7.fakerjs.dev/ |

---

Expand Down Expand Up @@ -87,7 +87,7 @@ Thus, limiting the import to a single locale can speed up startup times.

## 💎 Modules

An in-depth overview of the API methods is available in the documentation for [v7 (stable)](https://fakerjs.dev/api/) and [v8 (next)](https://next.fakerjs.dev/api/).
An in-depth overview of the API methods is available in the documentation for [v8 (stable)](https://fakerjs.dev/api/) and [v8.\* (next)](https://next.fakerjs.dev/api/).

### Templates

Expand Down
2 changes: 2 additions & 0 deletions docs/guide/upgrading.md
Expand Up @@ -284,12 +284,14 @@ By default, `faker.number.float` no longer defaults to a precision of 0.01

```js
// OLD
faker.datatype.number(); // 88999 (NOTE: The default max was 99999)
faker.datatype.number({ max: 100 }); // 35
faker.datatype.number({ max: 100, precision: 0.01 }); // 35.21
faker.datatype.float({ max: 100 }); // 35.21
faker.datatype.float({ max: 100, precision: 0.001 }); // 35.211

// NEW
faker.number.int({ max: 99999 }); // 88999 (NOTE: the default max is now Number.MAX_SAFE_INTEGER)
faker.number.int({ max: 100 }); // 35
faker.number.float({ max: 100 }); // 35.21092065742612
faker.number.float({ max: 100, precision: 0.01 }); // 35.21
Expand Down
41 changes: 20 additions & 21 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "@faker-js/faker",
"version": "8.0.0",
"version": "8.0.1",
"description": "Generate massive amounts of fake contextual data",
"keywords": [
"faker",
Expand Down Expand Up @@ -93,53 +93,52 @@
},
"devDependencies": {
"@actions/github": "~5.1.1",
"@algolia/client-search": "~4.17.0",
"@types/glob": "~8.1.0",
"@algolia/client-search": "~4.17.1",
"@types/markdown-it": "~12.2.3",
"@types/node": "~20.1.2",
"@types/prettier": "~2.7.2",
"@types/react": "~18.2.6",
"@types/react": "~18.2.7",
"@types/sanitize-html": "~2.9.0",
"@types/semver": "~7.5.0",
"@types/validator": "~13.7.17",
"@typescript-eslint/eslint-plugin": "~5.59.5",
"@typescript-eslint/parser": "~5.59.5",
"@vitest/coverage-c8": "~0.31.0",
"@vitest/ui": "~0.31.0",
"@typescript-eslint/eslint-plugin": "~5.59.7",
"@typescript-eslint/parser": "~5.59.7",
"@vitest/coverage-c8": "~0.31.1",
"@vitest/ui": "~0.31.1",
"@vueuse/core": "~10.1.2",
"c8": "~7.13.0",
"conventional-changelog-cli": "~2.2.2",
"cypress": "~12.12.0",
"esbuild": "~0.17.18",
"eslint": "~8.40.0",
"cypress": "~12.13.0",
"esbuild": "~0.17.19",
"eslint": "~8.41.0",
"eslint-config-prettier": "~8.8.0",
"eslint-define-config": "~1.20.0",
"eslint-gitignore": "~0.1.0",
"eslint-plugin-deprecation": "~1.4.1",
"eslint-plugin-jsdoc": "~44.1.0",
"eslint-plugin-jsdoc": "~44.2.5",
"eslint-plugin-prettier": "~4.2.1",
"eslint-plugin-vitest": "~0.2.2",
"glob": "~10.2.3",
"eslint-plugin-vitest": "~0.2.3",
"glob": "~10.2.4",
"npm-run-all": "~4.1.5",
"picocolors": "~1.0.0",
"prettier": "2.8.8",
"prettier-plugin-organize-imports": "~3.2.2",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"rimraf": "~5.0.0",
"rimraf": "~5.0.1",
"sanitize-html": "~2.10.0",
"semver": "~7.5.0",
"semver": "~7.5.1",
"standard-version": "~9.5.0",
"tsx": "~3.12.7",
"typedoc": "~0.24.7",
"typescript": "~4.9.5",
"validator": "~13.9.0",
"vite": "~4.3.5",
"vitepress": "1.0.0-alpha.75",
"vitest": "~0.31.0",
"vue": "~3.2.47"
"vite": "~4.3.8",
"vitepress": "1.0.0-beta.1",
"vitest": "~0.31.1",
"vue": "~3.3.4"
},
"packageManager": "pnpm@8.5.0",
"packageManager": "pnpm@8.5.1",
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
"npm": ">=6.14.13"
Expand Down

0 comments on commit 4688854

Please sign in to comment.