Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Prepare to release 6.0.5 (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
eyelidlessness authored Apr 21, 2022
1 parent 4d7ae4a commit c5005f7
Show file tree
Hide file tree
Showing 168 changed files with 9,492 additions and 6,895 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [6.0.5] - 2022-04-21

##### Changed

- Fix: escape querySelector variables to avoid error. (#871)
- Fix: improve error messages for missing external instances (#873)
- Fix: don't randomize unrelated itemsets outside repeat (#876)
- Update datepicker-extended widget to properly unpack data from paste event (#878)
- Code style/formatting: Prettier + Airbnb ESLint preset (#866)
- Fix: unescaped HTML in CHANGELOG (#864)
- Update format-date to return empty string instead of 'Invalid Date' (openrosa-xpath-evaluator#155)

## [6.0.4] - 2022-02-04

##### Changed
Expand Down
36 changes: 18 additions & 18 deletions docs/AnalogScaleWidget.html

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions docs/AutocompleteSelectpicker.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/Columns.html

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions docs/Comment.html

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions docs/DatepickerExtended.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/DatepickerMobile.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/DatepickerNative.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/DatepickerNativeIos.html

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions docs/DatetimepickerExtended.html

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions docs/DesktopSelectpicker.html

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions docs/DrawWidget.html

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions docs/Filepicker.html

Large diffs are not rendered by default.

96 changes: 48 additions & 48 deletions docs/Form.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/FormLogicError.html

Large diffs are not rendered by default.

94 changes: 47 additions & 47 deletions docs/FormModel.html

Large diffs are not rendered by default.

104 changes: 52 additions & 52 deletions docs/Geopicker.html

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions docs/ImageMap.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/ImageViewer.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/LikertItem.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/MediaPicker.html

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions docs/MobileSelectPicker.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/MyWidget.html

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions docs/Nodeset.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/NoteWidget.html

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions docs/Radiopicker.html

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions docs/RangeWidget.html

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions docs/RankWidget.html

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions docs/RatingWidget.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/TableWidget.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/TextMaxWidget.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/TextPrintWidget.html

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions docs/TextareaWidget.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/ThousandsSeparatorWidget.html

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions docs/TimepickerExtended.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/TranslatedError.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/UrlWidget.html

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions docs/Widget.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/external-SignaturePad.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/external-jQuery.html

Large diffs are not rendered by default.

176 changes: 168 additions & 8 deletions docs/global.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html

Large diffs are not rendered by default.

426 changes: 284 additions & 142 deletions docs/js_calculate.js.html

Large diffs are not rendered by default.

260 changes: 146 additions & 114 deletions docs/js_dom-utils.js.html

Large diffs are not rendered by default.

19 changes: 12 additions & 7 deletions docs/js_download-utils.js.html

Large diffs are not rendered by default.

67 changes: 33 additions & 34 deletions docs/js_event.js.html

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/js_fake-dialog.js.html

Large diffs are not rendered by default.

118 changes: 61 additions & 57 deletions docs/js_fake-translator.js.html

Large diffs are not rendered by default.

134 changes: 72 additions & 62 deletions docs/js_file-manager.js.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/js_form-logic-error.js.html

Large diffs are not rendered by default.

1,242 changes: 765 additions & 477 deletions docs/js_form-model.js.html

Large diffs are not rendered by default.

1,044 changes: 615 additions & 429 deletions docs/js_form.js.html

Large diffs are not rendered by default.

38 changes: 20 additions & 18 deletions docs/js_format.js.html

Large diffs are not rendered by default.

46 changes: 26 additions & 20 deletions docs/js_geolocation.js.html

Large diffs are not rendered by default.

359 changes: 220 additions & 139 deletions docs/js_input.js.html

Large diffs are not rendered by default.

470 changes: 313 additions & 157 deletions docs/js_itemset.js.html

Large diffs are not rendered by default.

150 changes: 94 additions & 56 deletions docs/js_language.js.html

Large diffs are not rendered by default.

108 changes: 63 additions & 45 deletions docs/js_mask.js.html

Large diffs are not rendered by default.

286 changes: 178 additions & 108 deletions docs/js_nodeset.js.html

Large diffs are not rendered by default.

84 changes: 56 additions & 28 deletions docs/js_output.js.html

Large diffs are not rendered by default.

420 changes: 240 additions & 180 deletions docs/js_page.js.html

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions docs/js_plugins.js.html

Large diffs are not rendered by default.

153 changes: 91 additions & 62 deletions docs/js_preload.js.html

Large diffs are not rendered by default.

317 changes: 179 additions & 138 deletions docs/js_print.js.html

Large diffs are not rendered by default.

27 changes: 17 additions & 10 deletions docs/js_progress.js.html

Large diffs are not rendered by default.

40 changes: 23 additions & 17 deletions docs/js_readonly.js.html

Large diffs are not rendered by default.

234 changes: 149 additions & 85 deletions docs/js_relevant.js.html

Large diffs are not rendered by default.

513 changes: 318 additions & 195 deletions docs/js_repeat.js.html

Large diffs are not rendered by default.

50 changes: 32 additions & 18 deletions docs/js_required.js.html

Large diffs are not rendered by default.

33 changes: 18 additions & 15 deletions docs/js_sniffer.js.html

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions docs/js_support.js.html

Large diffs are not rendered by default.

178 changes: 108 additions & 70 deletions docs/js_toc.js.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/js_translated-error.js.html

Large diffs are not rendered by default.

12 changes: 9 additions & 3 deletions docs/js_type-def.js.html

Large diffs are not rendered by default.

366 changes: 222 additions & 144 deletions docs/js_types.js.html

Large diffs are not rendered by default.

180 changes: 89 additions & 91 deletions docs/js_utils.js.html

Large diffs are not rendered by default.

33 changes: 20 additions & 13 deletions docs/js_widget.js.html

Large diffs are not rendered by default.

184 changes: 101 additions & 83 deletions docs/js_widgets-controller.js.html

Large diffs are not rendered by default.

39 changes: 35 additions & 4 deletions docs/js_widgets.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/js_xpath-evaluator-binding.js.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/module-calculate.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-dialog.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/module-dom-utils-elementDataStore.html

Large diffs are not rendered by default.

30 changes: 17 additions & 13 deletions docs/module-dom-utils.html

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions docs/module-event.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/module-fake-translator.html

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions docs/module-fileManager.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/module-format-format.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/module-format-time.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/module-format.html

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions docs/module-input.html

Large diffs are not rendered by default.

43 changes: 33 additions & 10 deletions docs/module-itemset.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/module-language.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/module-mask.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-output.html

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions docs/module-pages.html

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions docs/module-preloader.html

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions docs/module-print.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/module-progress.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-readonly.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/module-relevant.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/module-repeat.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-required.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/module-sniffer-browser.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/module-sniffer-os.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-sniffer.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-support.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/module-toc.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/module-types-types.barcode.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/module-types-types.binary.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/module-types-types.date.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/module-types-types.datetime.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/module-types-types.decimal.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/module-types-types.geopoint.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/module-types-types.geoshape.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/module-types-types.geotrace.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/module-types-types.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/module-types-types.int.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/module-types-types.select.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/module-types-types.select1.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/module-types-types.string.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/module-types-types.time.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-types.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/module-utils.html

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/module-widgets-controller-Collection.html

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions docs/module-widgets-controller.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-widgets.html

Large diffs are not rendered by default.

72 changes: 35 additions & 37 deletions docs/tutorial-00-getting-started.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/tutorial-10-configuration.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/tutorial-20-development.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/tutorial-30-events.html

Large diffs are not rendered by default.

37 changes: 18 additions & 19 deletions docs/tutorial-40-widgets.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/tutorial-90-ie11.html

Large diffs are not rendered by default.

156 changes: 99 additions & 57 deletions docs/widget_analog-scale_analog-scalepicker.js.html

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions docs/widget_big-image_image-viewer.js.html

Large diffs are not rendered by default.

23 changes: 15 additions & 8 deletions docs/widget_columns_columns.js.html

Large diffs are not rendered by default.

175 changes: 106 additions & 69 deletions docs/widget_comment_commentwidget.js.html

Large diffs are not rendered by default.

30 changes: 19 additions & 11 deletions docs/widget_date-mobile_datepicker-mobile.js.html

Large diffs are not rendered by default.

20 changes: 12 additions & 8 deletions docs/widget_date-native-ios_datepicker-native-ios.js.html

Large diffs are not rendered by default.

12 changes: 8 additions & 4 deletions docs/widget_date-native_datepicker-native.js.html

Large diffs are not rendered by default.

153 changes: 85 additions & 68 deletions docs/widget_date_datepicker-extended.js.html

Large diffs are not rendered by default.

204 changes: 117 additions & 87 deletions docs/widget_datetime_datetimepicker-extended.js.html

Large diffs are not rendered by default.

568 changes: 347 additions & 221 deletions docs/widget_draw_draw-widget.js.html

Large diffs are not rendered by default.

29 changes: 15 additions & 14 deletions docs/widget_example_my-widget.js.html

Large diffs are not rendered by default.

321 changes: 186 additions & 135 deletions docs/widget_file_filepicker.js.html

Large diffs are not rendered by default.

1,330 changes: 792 additions & 538 deletions docs/widget_geo_geopicker.js.html

Large diffs are not rendered by default.

224 changes: 127 additions & 97 deletions docs/widget_image-map_image-map.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_note_notewidget.js.html

Large diffs are not rendered by default.

120 changes: 78 additions & 42 deletions docs/widget_radio_radiopicker.js.html

Large diffs are not rendered by default.

184 changes: 116 additions & 68 deletions docs/widget_range_range-widget.js.html

Large diffs are not rendered by default.

154 changes: 90 additions & 64 deletions docs/widget_rank_rank-widget.js.html

Large diffs are not rendered by default.

101 changes: 60 additions & 41 deletions docs/widget_rating_rating.js.html

Large diffs are not rendered by default.

125 changes: 74 additions & 51 deletions docs/widget_select-autocomplete_autocomplete.js.html

Large diffs are not rendered by default.

172 changes: 95 additions & 77 deletions docs/widget_select-desktop_selectpicker.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_select-likert_likertitem.js.html

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions docs/widget_select-media_select-media.js.html

Large diffs are not rendered by default.

18 changes: 11 additions & 7 deletions docs/widget_select-mobile_selectpicker.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_table_tablewidget.js.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/widget_text-max_text-max.js.html

Large diffs are not rendered by default.

34 changes: 21 additions & 13 deletions docs/widget_text-print_text-print.js.html

Large diffs are not rendered by default.

41 changes: 21 additions & 20 deletions docs/widget_textarea_textarea.js.html

Large diffs are not rendered by default.

22 changes: 12 additions & 10 deletions docs/widget_thousands-sep_thousands-sep.js.html

Large diffs are not rendered by default.

59 changes: 30 additions & 29 deletions docs/widget_time_timepicker-extended.js.html

Large diffs are not rendered by default.

991 changes: 583 additions & 408 deletions docs/widget_time_timepicker.js.html

Large diffs are not rendered by default.

18 changes: 11 additions & 7 deletions docs/widget_url_url-widget.js.html

Large diffs are not rendered by default.

1,387 changes: 613 additions & 774 deletions package-lock.json

Large diffs are not rendered by default.

36 changes: 17 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "enketo-core",
"description": "Extensible Enketo form engine",
"homepage": "https://enketo.org",
"version": "6.0.4",
"version": "6.0.5",
"license": "Apache-2.0",
"os": [
"darwin",
Expand Down Expand Up @@ -55,20 +55,20 @@
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.3",
"docdash": "^1.2.0",
"enketo-transformer": "2.1.2",
"enketo-transformer": "2.1.3",
"esbuild": "^0.12.29",
"esbuild-plugin-alias": "^0.1.2",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.4.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^36.1.1",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"eslint-plugin-unicorn": "^36.0.0",
"grunt": "^1.4.1",
"grunt": "^1.5.2",
"grunt-concurrent": "^3.0.0",
"grunt-contrib-connect": "^3.0.0",
"grunt-contrib-watch": "^1.1.0",
Expand All @@ -77,23 +77,21 @@
"grunt-mocha-test": "^0.13.3",
"grunt-sass": "^3.1.0",
"grunt-shell": "^3.0.1",
"istanbul": "^0.4.5",
"istanbul-reporter-shield-badge": "^1.2.1",
"jsdoc": "^3.6.10",
"json-pretty": "0.0.1",
"karma": "^6.3.14",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.1.0",
"karma-esbuild": "^2.2.0",
"karma": "^6.3.19",
"karma-chrome-launcher": "^3.1.1",
"karma-coverage": "^2.2.0",
"karma-esbuild": "^2.2.4",
"karma-firefox-launcher": "^2.1.2",
"karma-mocha": "^2.0.1",
"karma-safari-launcher": "^1.0.0",
"karma-sinon-chai": "^2.0.2",
"load-grunt-tasks": "^5.1.0",
"markdown-eslint-parser": "^1.2.1",
"mocha": "^9.2.0",
"mocha": "^9.2.2",
"node-sass": "^7.0.1",
"prettier": "^2.5.1",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"sinon": "^11.1.2",
"sinon-chai": "^3.7.0",
Expand All @@ -112,12 +110,12 @@
"html5sortable": "^0.13.3",
"jquery": "^3.6.0",
"jquery-touchswipe": "^1.6.19",
"leaflet": "^1.7.1",
"leaflet": "^1.8.0",
"leaflet-draw": "github:enketo/Leaflet.draw#ff73078",
"leaflet.gridlayer.googlemutant": "^0.13.4",
"leaflet.gridlayer.googlemutant": "^0.13.5",
"mergexml": "github:eyelidlessness/js-merge-xml#upgrade/xmldom",
"node-forge": "^1.2.1",
"openrosa-xpath-evaluator": "^2.0.10",
"node-forge": "^1.3.1",
"openrosa-xpath-evaluator": "^2.0.11",
"signature_pad": "2.3.x"
},
"volta": {
Expand Down
2 changes: 1 addition & 1 deletion src/js/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -1375,6 +1375,6 @@ Form.prototype.goToTarget = function (target) {
* @type {string}
* @default
*/
Form.requiredTransformerVersion = '2.1.2';
Form.requiredTransformerVersion = '2.1.3';

export { Form, FormModel };

0 comments on commit c5005f7

Please sign in to comment.