@formio/js 5.1.0-dev.6058.189ce78 → 5.1.0-dev.6059.845a6e3

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.
Files changed (166) hide show
  1. package/Changelog.md +13 -131
  2. package/README.md +1 -28
  3. package/dist/formio.builder.css +17 -19
  4. package/dist/formio.builder.min.css +1 -1
  5. package/dist/formio.embed.js +1 -1
  6. package/dist/formio.embed.min.js +1 -1
  7. package/dist/formio.embed.min.js.LICENSE.txt +1 -1
  8. package/dist/formio.form.css +17 -19
  9. package/dist/formio.form.js +176 -102
  10. package/dist/formio.form.min.css +1 -1
  11. package/dist/formio.form.min.js +1 -1
  12. package/dist/formio.form.min.js.LICENSE.txt +3 -3
  13. package/dist/formio.full.css +17 -19
  14. package/dist/formio.full.js +86 -108
  15. package/dist/formio.full.min.css +2 -2
  16. package/dist/formio.full.min.js +1 -1
  17. package/dist/formio.full.min.js.LICENSE.txt +3 -3
  18. package/dist/formio.js +10 -10
  19. package/dist/formio.min.js +1 -1
  20. package/dist/formio.min.js.LICENSE.txt +1 -1
  21. package/dist/formio.utils.js +3 -3
  22. package/dist/formio.utils.min.js +1 -1
  23. package/dist/formio.utils.min.js.LICENSE.txt +1 -1
  24. package/lib/cjs/CDN.d.ts +1 -1
  25. package/lib/cjs/CDN.js +2 -2
  26. package/lib/cjs/Embed.js +1 -1
  27. package/lib/cjs/Form.d.ts +6 -4
  28. package/lib/cjs/Form.js +8 -16
  29. package/lib/cjs/Formio.js +1 -1
  30. package/lib/cjs/PDFBuilder.js +4 -4
  31. package/lib/cjs/Webform.d.ts +13 -16
  32. package/lib/cjs/Webform.js +148 -162
  33. package/lib/cjs/WebformBuilder.js +28 -17
  34. package/lib/cjs/Wizard.js +1 -1
  35. package/lib/cjs/WizardBuilder.js +2 -15
  36. package/lib/cjs/components/Components.d.ts +0 -3
  37. package/lib/cjs/components/_classes/component/Component.d.ts +0 -1
  38. package/lib/cjs/components/_classes/component/Component.js +11 -38
  39. package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.js +1 -1
  40. package/lib/cjs/components/_classes/component/editForm/Component.edit.data.d.ts +0 -37
  41. package/lib/cjs/components/_classes/component/editForm/Component.edit.data.js +2 -32
  42. package/lib/cjs/components/_classes/component/editForm/utils.d.ts +0 -1
  43. package/lib/cjs/components/_classes/component/editForm/utils.js +0 -3
  44. package/lib/cjs/components/_classes/input/Input.js +1 -23
  45. package/lib/cjs/components/_classes/list/ListComponent.js +4 -4
  46. package/lib/cjs/components/_classes/multivalue/Multivalue.d.ts +1 -1
  47. package/lib/cjs/components/_classes/multivalue/Multivalue.js +3 -10
  48. package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +0 -2
  49. package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.js +31 -52
  50. package/lib/cjs/components/address/Address.js +1 -1
  51. package/lib/cjs/components/button/Button.js +6 -6
  52. package/lib/cjs/components/checkbox/Checkbox.d.ts +1 -1
  53. package/lib/cjs/components/checkbox/Checkbox.js +2 -2
  54. package/lib/cjs/components/datagrid/DataGrid.d.ts +0 -2
  55. package/lib/cjs/components/datagrid/DataGrid.js +26 -41
  56. package/lib/cjs/components/day/Day.js +7 -9
  57. package/lib/cjs/components/editgrid/EditGrid.d.ts +1 -1
  58. package/lib/cjs/components/editgrid/EditGrid.js +8 -26
  59. package/lib/cjs/components/file/File.d.ts +1 -1
  60. package/lib/cjs/components/file/File.js +17 -23
  61. package/lib/cjs/components/form/Form.d.ts +1 -1
  62. package/lib/cjs/components/form/Form.js +5 -9
  63. package/lib/cjs/components/form/editForm/Form.edit.form.js +3 -3
  64. package/lib/cjs/components/hidden/Hidden.d.ts +1 -0
  65. package/lib/cjs/components/hidden/Hidden.js +1 -1
  66. package/lib/cjs/components/number/Number.js +5 -12
  67. package/lib/cjs/components/radio/Radio.js +0 -10
  68. package/lib/cjs/components/recaptcha/ReCaptcha.js +2 -2
  69. package/lib/cjs/components/select/Select.d.ts +1 -0
  70. package/lib/cjs/components/select/Select.js +33 -12
  71. package/lib/cjs/components/select/editForm/Select.edit.data.d.ts +1 -1
  72. package/lib/cjs/components/select/editForm/Select.edit.data.js +2 -3
  73. package/lib/cjs/components/selectboxes/SelectBoxes.js +2 -2
  74. package/lib/cjs/components/signature/Signature.d.ts +1 -1
  75. package/lib/cjs/components/signature/Signature.js +3 -5
  76. package/lib/cjs/components/signature/editForm/Signature.edit.display.d.ts +6 -0
  77. package/lib/cjs/components/signature/editForm/Signature.edit.display.js +1 -0
  78. package/lib/cjs/components/survey/Survey.js +2 -2
  79. package/lib/cjs/components/tags/Tags.d.ts +1 -1
  80. package/lib/cjs/components/tags/Tags.js +2 -2
  81. package/lib/cjs/components/textarea/TextArea.js +6 -6
  82. package/lib/cjs/formio.form.js +0 -5
  83. package/lib/cjs/providers/storage/googleDrive.js +2 -3
  84. package/lib/cjs/providers/storage/s3.js +3 -3
  85. package/lib/cjs/providers/storage/xhr.d.ts +0 -1
  86. package/lib/cjs/providers/storage/xhr.js +1 -6
  87. package/lib/cjs/translations/en.d.ts +81 -234
  88. package/lib/cjs/translations/en.js +81 -8
  89. package/lib/cjs/utils/ChoicesWrapper.d.ts +25 -4
  90. package/lib/cjs/utils/ChoicesWrapper.js +124 -47
  91. package/lib/cjs/utils/formUtils.d.ts +2 -2
  92. package/lib/cjs/utils/i18n.d.ts +2 -5
  93. package/lib/cjs/utils/i18n.js +5 -32
  94. package/lib/cjs/widgets/CalendarWidget.js +27 -27
  95. package/lib/mjs/CDN.d.ts +1 -1
  96. package/lib/mjs/CDN.js +2 -2
  97. package/lib/mjs/Embed.js +1 -1
  98. package/lib/mjs/Form.d.ts +6 -4
  99. package/lib/mjs/Form.js +9 -17
  100. package/lib/mjs/Formio.js +1 -1
  101. package/lib/mjs/PDFBuilder.js +4 -4
  102. package/lib/mjs/Webform.d.ts +13 -16
  103. package/lib/mjs/Webform.js +158 -171
  104. package/lib/mjs/WebformBuilder.js +28 -17
  105. package/lib/mjs/Wizard.js +1 -1
  106. package/lib/mjs/WizardBuilder.js +2 -15
  107. package/lib/mjs/components/Components.d.ts +0 -3
  108. package/lib/mjs/components/_classes/component/Component.d.ts +0 -1
  109. package/lib/mjs/components/_classes/component/Component.js +11 -27
  110. package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.js +1 -1
  111. package/lib/mjs/components/_classes/component/editForm/Component.edit.data.d.ts +0 -37
  112. package/lib/mjs/components/_classes/component/editForm/Component.edit.data.js +2 -32
  113. package/lib/mjs/components/_classes/component/editForm/utils.d.ts +0 -1
  114. package/lib/mjs/components/_classes/component/editForm/utils.js +0 -3
  115. package/lib/mjs/components/_classes/input/Input.js +1 -22
  116. package/lib/mjs/components/_classes/list/ListComponent.js +4 -4
  117. package/lib/mjs/components/_classes/multivalue/Multivalue.d.ts +1 -1
  118. package/lib/mjs/components/_classes/multivalue/Multivalue.js +3 -10
  119. package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +0 -2
  120. package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.js +31 -53
  121. package/lib/mjs/components/address/Address.js +1 -1
  122. package/lib/mjs/components/button/Button.js +6 -6
  123. package/lib/mjs/components/checkbox/Checkbox.d.ts +1 -1
  124. package/lib/mjs/components/checkbox/Checkbox.js +2 -2
  125. package/lib/mjs/components/datagrid/DataGrid.d.ts +0 -2
  126. package/lib/mjs/components/datagrid/DataGrid.js +26 -41
  127. package/lib/mjs/components/day/Day.js +7 -9
  128. package/lib/mjs/components/editgrid/EditGrid.d.ts +1 -1
  129. package/lib/mjs/components/editgrid/EditGrid.js +7 -25
  130. package/lib/mjs/components/file/File.d.ts +1 -1
  131. package/lib/mjs/components/file/File.js +17 -23
  132. package/lib/mjs/components/form/Form.d.ts +1 -1
  133. package/lib/mjs/components/form/Form.js +5 -8
  134. package/lib/mjs/components/form/editForm/Form.edit.form.js +3 -3
  135. package/lib/mjs/components/hidden/Hidden.d.ts +1 -0
  136. package/lib/mjs/components/hidden/Hidden.js +1 -1
  137. package/lib/mjs/components/number/Number.js +5 -12
  138. package/lib/mjs/components/radio/Radio.js +0 -10
  139. package/lib/mjs/components/recaptcha/ReCaptcha.js +2 -2
  140. package/lib/mjs/components/select/Select.d.ts +1 -0
  141. package/lib/mjs/components/select/Select.js +34 -14
  142. package/lib/mjs/components/select/editForm/Select.edit.data.d.ts +1 -1
  143. package/lib/mjs/components/select/editForm/Select.edit.data.js +2 -3
  144. package/lib/mjs/components/selectboxes/SelectBoxes.js +2 -2
  145. package/lib/mjs/components/signature/Signature.d.ts +1 -1
  146. package/lib/mjs/components/signature/Signature.js +3 -5
  147. package/lib/mjs/components/signature/editForm/Signature.edit.display.d.ts +6 -0
  148. package/lib/mjs/components/signature/editForm/Signature.edit.display.js +1 -0
  149. package/lib/mjs/components/survey/Survey.js +2 -2
  150. package/lib/mjs/components/tags/Tags.d.ts +1 -1
  151. package/lib/mjs/components/tags/Tags.js +2 -2
  152. package/lib/mjs/components/textarea/TextArea.js +6 -6
  153. package/lib/mjs/formio.form.js +0 -5
  154. package/lib/mjs/providers/storage/googleDrive.js +2 -3
  155. package/lib/mjs/providers/storage/s3.js +3 -3
  156. package/lib/mjs/providers/storage/xhr.d.ts +0 -1
  157. package/lib/mjs/providers/storage/xhr.js +1 -6
  158. package/lib/mjs/translations/en.d.ts +81 -234
  159. package/lib/mjs/translations/en.js +1 -87
  160. package/lib/mjs/utils/ChoicesWrapper.d.ts +25 -4
  161. package/lib/mjs/utils/ChoicesWrapper.js +119 -26
  162. package/lib/mjs/utils/formUtils.d.ts +2 -2
  163. package/lib/mjs/utils/i18n.d.ts +2 -5
  164. package/lib/mjs/utils/i18n.js +5 -32
  165. package/lib/mjs/widgets/CalendarWidget.js +27 -27
  166. package/package.json +11 -27
@@ -1,7 +1,5 @@
1
1
  import { Evaluator } from '@formio/core/utils';
2
2
  import i18n from '../i18n';
3
- import { isEmpty } from 'lodash';
4
- import { fastCloneDeep } from '@formio/core';
5
3
  const i18Defaults = {};
6
4
  for (const lang in i18n.resources) {
7
5
  if (i18n.resources.hasOwnProperty(lang)) {
@@ -12,29 +10,14 @@ for (const lang in i18n.resources) {
12
10
  * This file is used to mimic the i18n library interface.
13
11
  */
14
12
  export class I18n {
15
- static languages = i18Defaults;
16
- languages = fastCloneDeep(I18n.languages || {});
17
- defaultKeys = I18n.languages?.en || {};
13
+ languages = i18Defaults;
18
14
  language = 'en';
19
15
  currentLanguage = i18Defaults.en;
20
16
  constructor(languages = {}) {
21
17
  this.setLanguages(languages);
22
18
  this.changeLanguage(this.language);
23
19
  }
24
- static setDefaultTranslations(languages) {
25
- if (isEmpty(languages)) {
26
- return;
27
- }
28
- for (const lang in languages) {
29
- if (lang !== 'language' && languages.hasOwnProperty(lang)) {
30
- if (!this.languages[lang]) {
31
- this.languages[lang] = {};
32
- }
33
- this.languages[lang] = { ...languages[lang], ...this.languages[lang], };
34
- }
35
- }
36
- }
37
- setLanguages(languages, noDefaultOverride) {
20
+ setLanguages(languages) {
38
21
  if (languages.resources) {
39
22
  for (const lang in languages.resources) {
40
23
  if (languages.resources.hasOwnProperty(lang)) {
@@ -61,9 +44,7 @@ export class I18n {
61
44
  if (!this.languages[lang]) {
62
45
  this.languages[lang] = {};
63
46
  }
64
- this.languages[lang] = noDefaultOverride
65
- ? { ...languages[lang], ...this.languages[lang] }
66
- : { ...this.languages[lang], ...languages[lang] };
47
+ this.languages[lang] = { ...this.languages[lang], ...languages[lang] };
67
48
  }
68
49
  }
69
50
  }
@@ -92,20 +73,12 @@ export class I18n {
92
73
  this.languages[language] = strings;
93
74
  }
94
75
  t(text, ...args) {
95
- let currentTranslation = this.currentLanguage[text];
96
- // provide compatibility with cases where the entire phrase is used as a key
97
- // get the phrase that is possibly being used as a key
98
- const defaultKey = this.defaultKeys[text];
99
- if (defaultKey && this.currentLanguage[defaultKey]) {
100
- // get translation using the phrase as a key
101
- currentTranslation = this.currentLanguage[defaultKey];
102
- }
103
- if (currentTranslation) {
76
+ if (this.currentLanguage[text]) {
104
77
  const customTranslationFieldName = args[0]?.field;
105
78
  if (customTranslationFieldName && this.currentLanguage[customTranslationFieldName]) {
106
79
  args[0].field = this.currentLanguage[customTranslationFieldName];
107
80
  }
108
- return Evaluator.interpolateString(currentTranslation, ...args);
81
+ return Evaluator.interpolateString(this.currentLanguage[text], ...args);
109
82
  }
110
83
  return Evaluator.interpolateString(text, ...args);
111
84
  }
@@ -87,6 +87,8 @@ export default class CalendarWidget extends InputWidget {
87
87
  this.settings.disableWeekends ? this.settings.disable.push(this.disableWeekends) : '';
88
88
  this.settings.disableWeekdays ? this.settings.disable.push(this.disableWeekdays) : '';
89
89
  this.settings.disableFunction ? this.settings.disable.push(this.disableFunction) : '';
90
+ this.settings.wasDefaultValueChanged = false;
91
+ this.settings.defaultValue = '';
90
92
  this.settings.manualInputValue = '';
91
93
  this.settings.isManuallyOverriddenValue = false;
92
94
  this.settings.currentValue = '';
@@ -94,8 +96,14 @@ export default class CalendarWidget extends InputWidget {
94
96
  this.settings.dateFormat = convertFormatToFlatpickr(this.settings.dateFormat);
95
97
  this.settings.position = 'auto center';
96
98
  this.settings.onChange = () => {
97
- if (this.settings.allowInput && this.settings.enableTime) {
98
- this.calendar._input.value = this.settings.isManuallyOverriddenValue ? this.settings.manualInputValue : this.calendar.altInput.value;
99
+ if (this.settings.allowInput) {
100
+ if (this.settings.isManuallyOverriddenValue && this.settings.enableTime) {
101
+ this.calendar._input.value = this.settings.manualInputValue;
102
+ }
103
+ else {
104
+ this.settings.manualInputValue = '';
105
+ }
106
+ this.settings.isManuallyOverriddenValue = false;
99
107
  }
100
108
  this.emit('update');
101
109
  };
@@ -104,15 +112,20 @@ export default class CalendarWidget extends InputWidget {
104
112
  this.hook('onCalendarClose');
105
113
  this.closedOn = Date.now();
106
114
  if (this.settings.allowInput && this.settings.enableTime) {
107
- this.calendar._input.value = this.settings.isManuallyOverriddenValue ? this.settings.manualInputValue : this.calendar.altInput.value;
115
+ this.calendar._input.value = this.settings.manualInputValue || this.calendar._input.value;
116
+ this.settings.isManuallyOverriddenValue = false;
108
117
  this.emit('update');
109
118
  }
119
+ if (this.settings.wasDefaultValueChanged) {
120
+ this.calendar._input.value = this.settings.defaultValue;
121
+ this.settings.wasDefaultValueChanged = false;
122
+ }
110
123
  if (this.calendar) {
111
124
  this.emit('blur');
112
125
  }
113
126
  };
114
127
  Formio.requireLibrary('flatpickr-css', 'flatpickr', [
115
- { type: 'styles', src: `${Formio.cdn['flatpickr']}/flatpickr.min.css` }
128
+ { type: 'styles', src: `${Formio.cdn['flatpickr-formio']}/flatpickr.min.css` }
116
129
  ], true);
117
130
  if (this.component.shortcutButtons) {
118
131
  this.component.shortcutButtons = this.component.shortcutButtons.filter((btn) => btn.label && btn.onClick);
@@ -129,7 +142,7 @@ export default class CalendarWidget extends InputWidget {
129
142
  }
130
143
  })
131
144
  .then((ShortcutButtonsPlugin) => {
132
- return Formio.requireLibrary('flatpickr', 'flatpickr', `${Formio.cdn['flatpickr']}/flatpickr.min.js`, true)
145
+ return Formio.requireLibrary('flatpickr', 'flatpickr', `${Formio.cdn['flatpickr-formio']}/flatpickr.min.js`, true)
133
146
  .then((Flatpickr) => {
134
147
  if (this.component.shortcutButtons?.length && ShortcutButtonsPlugin) {
135
148
  this.initShortcutButtonsPlugin(ShortcutButtonsPlugin);
@@ -138,7 +151,7 @@ export default class CalendarWidget extends InputWidget {
138
151
  if (this._input) {
139
152
  const { locale } = this.settings;
140
153
  if (locale && locale.length >= 2 && locale !== 'en') {
141
- return Formio.requireLibrary(`flatpickr-${locale}`, `flatpickr.l10ns.${locale}`, `${Formio.cdn['flatpickr']}/l10n/${locale}.js`, true).then(() => this.initFlatpickr(Flatpickr));
154
+ return Formio.requireLibrary(`flatpickr-${locale}`, `flatpickr-${locale}`, `${Formio.cdn['flatpickr-formio']}/l10n/flatpickr-${locale}.js`, true).then(() => this.initFlatpickr(Flatpickr));
142
155
  }
143
156
  else {
144
157
  this.initFlatpickr(Flatpickr);
@@ -336,28 +349,19 @@ export default class CalendarWidget extends InputWidget {
336
349
  this.calendar = new Flatpickr(this._input, { ...this.settings, disableMobile: true });
337
350
  this.addEventListener(this.calendar.altInput, 'input', (event) => {
338
351
  if (this.settings.allowInput && this.settings.currentValue !== event.target.value) {
339
- if (event.target.mask) {
340
- event.target.mask.textMaskInputElement.update();
341
- }
342
352
  this.settings.manualInputValue = event.target.value;
343
- this._input.value = this.settings.manualInputValue;
344
353
  this.settings.isManuallyOverriddenValue = true;
345
354
  this.settings.currentValue = event.target.value;
346
- this.emit('update');
355
+ }
356
+ if (event.target.value === '' && this.calendar.selectedDates.length > 0) {
357
+ this.settings.wasDefaultValueChanged = true;
358
+ this.settings.defaultValue = event.target.value;
359
+ this.calendar.clear();
360
+ }
361
+ else {
362
+ this.settings.wasDefaultValueChanged = false;
347
363
  }
348
364
  });
349
- if (this.calendar.daysContainer) {
350
- this.calendar.daysContainer.addEventListener('click', () => {
351
- this.settings.isManuallyOverriddenValue = false;
352
- this.calendar.updateValue(false);
353
- });
354
- }
355
- if (this.calendar.timeContainer) {
356
- this.calendar.timeContainer.addEventListener('click', () => {
357
- this.settings.isManuallyOverriddenValue = false;
358
- this.calendar.updateValue(false);
359
- });
360
- }
361
365
  const excludedFromMaskFormats = ['MMMM'];
362
366
  if (!this.settings.readOnly && !_.some(excludedFromMaskFormats, format => _.includes(this.settings.format, format))) {
363
367
  // Enforce the input mask of the format.
@@ -383,10 +387,6 @@ export default class CalendarWidget extends InputWidget {
383
387
  }
384
388
  // Make sure we commit the value after a blur event occurs.
385
389
  this.addEventListener(this.calendar._input, 'blur', (event) => {
386
- // If we have manually overridden the value then we shouldn't call setDate because this will fill the input mask
387
- if (this.settings.isManuallyOverriddenValue) {
388
- return;
389
- }
390
390
  const activeElement = this.settings.shadowRoot ? this.settings.shadowRoot.activeElement : document.activeElement;
391
391
  const relatedTarget = event.relatedTarget ? event.relatedTarget : activeElement;
392
392
  if (!(isIEBrowser && !relatedTarget) && !this.isCalendarElement(relatedTarget)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.1.0-dev.6058.189ce78",
3
+ "version": "5.1.0-dev.6059.845a6e3",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {
@@ -56,10 +56,9 @@
56
56
  "dopublish": "npm run build && npm run tag && npm publish",
57
57
  "lint": "eslint ./src --fix",
58
58
  "serve": "jekyll serve --config _config.yml,_config.dev.yml",
59
- "test": "nyc --reporter=lcov --reporter=text --reporter=text-summary mocha test/unit/*.unit.js",
60
- "test:updateRenders": "npm run lib && cross-env TZ=UTC node --require jsdom-global/register test/updateRenders.js",
61
- "test:e2e": "NODE_OPTIONS=\"--max-old-space-size=4096\" karma start --verbose --single-run",
62
- "show-coverage": "open coverage/lcov-report/index.html"
59
+ "test": "mocha 'test/unit/*.unit.js'",
60
+ "test:updateRenders": "npm run lib && TZ=UTC node --require jsdom-global/register test/updateRenders.js",
61
+ "test:e2e": "NODE_OPTIONS=\"--max-old-space-size=4096\" karma start --verbose --single-run"
63
62
  },
64
63
  "repository": {
65
64
  "type": "git",
@@ -80,21 +79,21 @@
80
79
  },
81
80
  "homepage": "https://github.com/formio/formio.js#readme",
82
81
  "dependencies": {
83
- "@formio/bootstrap": "v3.0.0-dev.121.085d187",
84
- "@formio/core": "v2.4.0-dev.2",
85
- "@formio/text-mask-addons": "3.8.0-formio.4",
82
+ "@formio/bootstrap": "3.1.0-rc.4",
83
+ "@formio/choices.js": "^10.2.1",
84
+ "@formio/core": "2.4.0-rc.12",
85
+ "@formio/text-mask-addons": "^3.8.0-formio.4",
86
86
  "@formio/vanilla-text-mask": "^5.1.1-formio.1",
87
87
  "abortcontroller-polyfill": "^1.7.5",
88
88
  "autocompleter": "^8.0.4",
89
89
  "bootstrap": "^5.3.3",
90
90
  "browser-cookies": "^1.2.0",
91
91
  "browser-md5-file": "^1.1.1",
92
- "choices.js": "^11.0.6",
93
- "compare-versions": "^6.1.1",
92
+ "compare-versions": "^6.0.0-rc.2",
94
93
  "core-js": "^3.37.1",
95
94
  "dialog-polyfill": "^0.5.6",
96
95
  "dom-autoscroller": "^2.3.4",
97
- "dompurify": "^3.1.6",
96
+ "dompurify": "^3.2.4",
98
97
  "downloadjs": "^1.4.7",
99
98
  "dragula": "^3.7.3",
100
99
  "eventemitter3": "^5.0.1",
@@ -103,7 +102,7 @@
103
102
  "idb": "^7.1.1",
104
103
  "inputmask": "^5.0.8",
105
104
  "ismobilejs": "^1.1.1",
106
- "json-logic-js": "^2.0.5",
105
+ "json-logic-js": "^2.0.2",
107
106
  "jstimezonedetect": "^1.0.7",
108
107
  "jwt-decode": "^3.1.2",
109
108
  "lodash": "^4.17.21",
@@ -156,7 +155,6 @@
156
155
  "mocha": "^10.3.0",
157
156
  "mock-local-storage": "^1.1.24",
158
157
  "natives": "^1.1.6",
159
- "nyc": "^17.0.0",
160
158
  "power-assert": "^1.6.1",
161
159
  "pre-commit": "^1.2.2",
162
160
  "pretty": "^2.0.0",
@@ -176,19 +174,5 @@
176
174
  "webpack-cli": "^5.1.1",
177
175
  "webpack-node-externals": "^3.0.0",
178
176
  "webpack-stream": "^7.0.0"
179
- },
180
- "nyc": {
181
- "check-coverage": true,
182
- "statements": 63,
183
- "branches": 63,
184
- "functions": 61,
185
- "lines": 64,
186
- "include": [
187
- "src/**/*.js"
188
- ],
189
- "exclude": [
190
- "src/**/fixtures"
191
- ],
192
- "all": true
193
177
  }
194
178
  }