@kubb/plugin-faker 5.1.5 → 5.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +204 -294
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.js +205 -295
- package/dist/index.js.map +1 -1
- package/docs/options.md +1 -1
- package/package.json +4 -4
package/docs/options.md
CHANGED
|
@@ -117,7 +117,7 @@ Library used to generate strings that satisfy a regex `pattern` in the spec.
|
|
|
117
117
|
::field-group
|
|
118
118
|
|
|
119
119
|
:::field{name="'faker'"}
|
|
120
|
-
Default value. Generates `faker.helpers.fromRegExp(pattern)` without an extra dependency.
|
|
120
|
+
Default value. Generates `faker.helpers.fromRegExp(/pattern/)` without an extra dependency. Faker does not support shorthand classes such as `\d`, `\w`, or `\s`, so use `'randexp'` for patterns that contain them.
|
|
121
121
|
:::
|
|
122
122
|
|
|
123
123
|
:::field{name="'randexp'"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-faker",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.7",
|
|
4
4
|
"description": "Generate Faker.js mock data factories with Kubb. Produces realistic seed data and fixtures for development and testing.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"code-generation",
|
|
@@ -74,17 +74,17 @@
|
|
|
74
74
|
"registry": "https://registry.npmjs.org/"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@kubb/plugin-ts": "^5.0.
|
|
77
|
+
"@kubb/plugin-ts": "^5.0.12"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@faker-js/faker": "^10.6.0",
|
|
81
81
|
"@internals/shared": "0.0.0",
|
|
82
82
|
"@internals/utils": "0.0.0",
|
|
83
|
-
"kubb": "^5.
|
|
83
|
+
"kubb": "^5.10.2"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
86
|
"@faker-js/faker": "^10.0.0",
|
|
87
|
-
"kubb": "^5.
|
|
87
|
+
"kubb": "^5.10.2"
|
|
88
88
|
},
|
|
89
89
|
"peerDependenciesMeta": {
|
|
90
90
|
"@faker-js/faker": {
|