Skip to content

Commit ec13dd9

Browse files
authored
Merge branch 'next' into docs/deprecated/mark-method-references
2 parents 0ef7759 + 4a3a6b9 commit ec13dd9

File tree

133 files changed

+1069
-424
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+1069
-424
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
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.
44

5+
## [8.0.0-alpha.2](https://github.com/faker-js/faker/compare/v8.0.0-alpha.1...v8.0.0-alpha.2) (2023-03-24)
6+
7+
8+
### Bug Fixes
9+
10+
* **locale:** split zh_TW first_names by gender ([#1941](https://github.com/faker-js/faker/issues/1941)) ([4e97200](https://github.com/faker-js/faker/commit/4e97200b26ace515b2226c322c40c36fa7573c4f))
11+
* revert types field ([#1966](https://github.com/faker-js/faker/issues/1966)) ([9dcf83f](https://github.com/faker-js/faker/commit/9dcf83f9b0b7353da6083da476d30dab74a52a50))
12+
13+
14+
### New Locales
15+
16+
* **locale:** add Serbian (Latin) language ([#1801](https://github.com/faker-js/faker/issues/1801)) ([d2046e8](https://github.com/faker-js/faker/commit/d2046e8b08c582d74bbd0d03eb8e64db9e721400))
17+
518
## [8.0.0-alpha.1](https://github.com/faker-js/faker/compare/v8.0.0-alpha.0...v8.0.0-alpha.1) (2023-03-20)
619

720

docs/.vitepress/components/api-docs/method-parameters.vue

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ const props = defineProps<{ parameters: MethodParameter[] }>();
1919
</thead>
2020
<tbody>
2121
<tr v-for="parameter of props.parameters" :key="parameter.name">
22-
<td>{{ parameter.name }}</td>
22+
<td
23+
:class="{
24+
deprecated: parameter.description.includes('DEPRECATED'),
25+
}"
26+
>
27+
{{ parameter.name }}
28+
</td>
2329
<td>{{ parameter.type }}</td>
2430
<td>
2531
<code v-if="parameter.default">{{ parameter.default }}</code>
@@ -30,3 +36,9 @@ const props = defineProps<{ parameters: MethodParameter[] }>();
3036
</table>
3137
</div>
3238
</template>
39+
40+
<style scoped>
41+
td.deprecated {
42+
text-decoration: line-through;
43+
}
44+
</style>

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@faker-js/faker",
3-
"version": "8.0.0-alpha.1",
3+
"version": "8.0.0-alpha.2",
44
"description": "Generate massive amounts of fake contextual data",
55
"keywords": [
66
"faker",
@@ -23,7 +23,7 @@
2323
"license": "MIT",
2424
"main": "dist/cjs/index.js",
2525
"module": "dist/esm/index.mjs",
26-
"types": "dist/types/index.d.ts",
26+
"types": "index.d.ts",
2727
"typesVersions": {
2828
">=4.0": {
2929
"*": [
@@ -84,53 +84,53 @@
8484
},
8585
"devDependencies": {
8686
"@actions/github": "~5.1.1",
87-
"@algolia/client-search": "~4.15.0",
87+
"@algolia/client-search": "~4.16.0",
8888
"@types/glob": "~8.1.0",
8989
"@types/markdown-it": "~12.2.3",
90-
"@types/node": "~18.15.3",
90+
"@types/node": "~18.15.10",
9191
"@types/prettier": "~2.7.2",
92-
"@types/react": "~18.0.28",
92+
"@types/react": "~18.0.29",
9393
"@types/sanitize-html": "~2.9.0",
9494
"@types/semver": "~7.3.13",
9595
"@types/validator": "~13.7.14",
9696
"@typescript-eslint/eslint-plugin": "~5.56.0",
9797
"@typescript-eslint/parser": "~5.56.0",
98-
"@vitest/coverage-c8": "~0.29.3",
99-
"@vitest/ui": "~0.29.3",
98+
"@vitest/coverage-c8": "~0.29.7",
99+
"@vitest/ui": "~0.29.7",
100100
"@vueuse/core": "~9.13.0",
101101
"c8": "~7.13.0",
102102
"conventional-changelog-cli": "~2.2.2",
103103
"cypress": "~12.8.1",
104-
"esbuild": "~0.17.12",
104+
"esbuild": "~0.17.14",
105105
"eslint": "~8.36.0",
106-
"eslint-config-prettier": "~8.7.0",
106+
"eslint-config-prettier": "~8.8.0",
107107
"eslint-define-config": "~1.17.0",
108108
"eslint-gitignore": "~0.1.0",
109109
"eslint-plugin-deprecation": "~1.3.3",
110110
"eslint-plugin-jsdoc": "~40.1.0",
111111
"eslint-plugin-prettier": "~4.2.1",
112-
"glob": "~9.3.0",
112+
"glob": "~9.3.2",
113113
"npm-run-all": "~4.1.5",
114114
"picocolors": "~1.0.0",
115115
"prettier": "2.8.4",
116116
"prettier-plugin-organize-imports": "~3.2.2",
117117
"react": "~18.2.0",
118118
"react-dom": "~18.2.0",
119-
"rimraf": "~4.4.0",
119+
"rimraf": "~4.4.1",
120120
"sanitize-html": "~2.10.0",
121121
"semver": "~7.3.8",
122122
"standard-version": "~9.5.0",
123-
"tsx": "~3.12.5",
123+
"tsx": "~3.12.6",
124124
"typedoc": "~0.23.28",
125125
"typedoc-plugin-missing-exports": "~1.0.0",
126126
"typescript": "~4.9.5",
127127
"validator": "~13.9.0",
128-
"vite": "~4.2.0",
129-
"vitepress": "1.0.0-alpha.60",
130-
"vitest": "~0.29.3",
128+
"vite": "~4.2.1",
129+
"vitepress": "1.0.0-alpha.63",
130+
"vitest": "~0.29.7",
131131
"vue": "~3.2.47"
132132
},
133-
"packageManager": "[email protected].0",
133+
"packageManager": "[email protected].3",
134134
"engines": {
135135
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
136136
"npm": ">=6.14.13"

0 commit comments

Comments
 (0)