@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.d.cts CHANGED
@@ -116,8 +116,8 @@ type Options = OutputOptions & {
116
116
  dateParser?: 'faker' | 'dayjs' | 'moment' | (string & {});
117
117
  /**
118
118
  * Library used to generate strings that satisfy a regex `pattern` keyword.
119
- * - `'faker'` uses `faker.helpers.fromRegExp`. No extra dependency. Faker does not support
120
- * shorthand classes such as `\d`, `\w`, or `\s`; use `'randexp'` for those patterns.
119
+ * - `'faker'` uses `faker.helpers.fromRegExp`. No extra dependency. Kubb rewrites `\d`, `\w`, escaped
120
+ * characters, and `{n,}` for faker. Groups, alternation, and `\s` need `'randexp'`.
121
121
  * - `'randexp'` uses the `randexp` package. Supports a wider regex grammar.
122
122
  *
123
123
  * @default 'faker'
package/dist/index.d.ts CHANGED
@@ -116,8 +116,8 @@ type Options = OutputOptions & {
116
116
  dateParser?: 'faker' | 'dayjs' | 'moment' | (string & {});
117
117
  /**
118
118
  * Library used to generate strings that satisfy a regex `pattern` keyword.
119
- * - `'faker'` uses `faker.helpers.fromRegExp`. No extra dependency. Faker does not support
120
- * shorthand classes such as `\d`, `\w`, or `\s`; use `'randexp'` for those patterns.
119
+ * - `'faker'` uses `faker.helpers.fromRegExp`. No extra dependency. Kubb rewrites `\d`, `\w`, escaped
120
+ * characters, and `{n,}` for faker. Groups, alternation, and `\s` need `'randexp'`.
121
121
  * - `'randexp'` uses the `randexp` package. Supports a wider regex grammar.
122
122
  *
123
123
  * @default 'faker'