@ekzo-dev/bootstrap-addons 5.2.21 → 5.2.22

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ekzo-dev/bootstrap-addons",
3
3
  "description": "Aurelia Bootstrap additional component",
4
- "version": "5.2.21",
4
+ "version": "5.2.22",
5
5
  "homepage": "https://github.com/ekzo-dev/aurelia-components/tree/main/packages/bootstrap-addons",
6
6
  "repository": {
7
7
  "type": "git",
@@ -190,7 +190,8 @@ export class BsJsonInput {
190
190
  }
191
191
 
192
192
  #initAjv($schema: string, ajvOptions: Options): Ajv {
193
- const regExp = (pattern: string) => new RegExp(pattern, 'v');
193
+ // use 'u' flag when editing JsonSchema itself, as 2020-12 meta-schema has incompatible with 'v' flag regexp's
194
+ const regExp = (pattern: string) => new RegExp(pattern, this.jsonSchema === true ? 'u' : 'v');
194
195
 
195
196
  regExp.code = 'regexp';
196
197