@kubb/plugin-faker 5.4.0-canary.20261111T122006 → 5.4.0
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 +244 -283
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +244 -283
- package/dist/index.js.map +1 -1
- package/docs/options.md +1 -1
- package/kubb-extension.json +1 -1
- package/package.json +6 -6
package/docs/options.md
CHANGED
|
@@ -119,7 +119,7 @@ Library used to generate strings that satisfy a regex `pattern` in the spec.
|
|
|
119
119
|
::field-group
|
|
120
120
|
|
|
121
121
|
:::field{name="'faker'"}
|
|
122
|
-
Default value. Generates `faker.helpers.fromRegExp(/pattern/)` without an extra dependency.
|
|
122
|
+
Default value. Generates `faker.helpers.fromRegExp(/pattern/)` without an extra dependency. Kubb rewrites `\d`, `\w`, escaped characters such as `\+`, and open-ended counts such as `{1,}` into a form faker reads. Faker does not support groups, alternation (`a|b`), or `\s`, so use `'randexp'` for patterns that contain them.
|
|
123
123
|
:::
|
|
124
124
|
|
|
125
125
|
:::field{name="'randexp'"}
|
package/kubb-extension.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-faker",
|
|
3
|
-
"version": "5.4.0
|
|
3
|
+
"version": "5.4.0",
|
|
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",
|
|
@@ -79,14 +79,14 @@
|
|
|
79
79
|
"registry": "https://registry.npmjs.org/"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@kubb/kit": "^5.18.
|
|
83
|
-
"@kubb/plugin-ts": "^5.5.0
|
|
84
|
-
"@kubb/renderer-jsx": "^5.18.
|
|
82
|
+
"@kubb/kit": "^5.18.6",
|
|
83
|
+
"@kubb/plugin-ts": "^5.5.0",
|
|
84
|
+
"@kubb/renderer-jsx": "^5.18.6"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@faker-js/faker": "^10.6.0",
|
|
88
|
-
"@internals/shared": "0.
|
|
89
|
-
"@internals/utils": "0.
|
|
88
|
+
"@internals/shared": "0.0.0",
|
|
89
|
+
"@internals/utils": "0.0.0"
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|
|
92
92
|
"@faker-js/faker": "^10.0.0"
|