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

Commit

Permalink
Merge pull request #837 from yanokwa/prepare-6.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
eyelidlessness authored Nov 4, 2021
2 parents 52bf426 + bf450c3 commit 2bfdee8
Show file tree
Hide file tree
Showing 11 changed files with 152 additions and 133 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

[6.0.2] - 2021-11-04
---------------------
##### Changed
- Upgraded enketo-transformer to fix regressions

[6.0.1] - 2021-10-13
---------------------
##### Changed
Expand Down
2 changes: 1 addition & 1 deletion docs/DatetimepickerExtended.html
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ <h4 class="name" id="value"><span class="type-signature"></span>value<span class

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="widget_datetime_datetimepicker-extended.js.html">widget/datetime/datetimepicker-extended.js</a>, <a href="widget_datetime_datetimepicker-extended.js.html#line150">line 150</a>
<a href="widget_datetime_datetimepicker-extended.js.html">widget/datetime/datetimepicker-extended.js</a>, <a href="widget_datetime_datetimepicker-extended.js.html#line164">line 164</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion docs/Form.html
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ <h4 class="name" id=".requiredTransformerVersion"><span class="type-signature">(

<dt class="tag-default">Default Value:</dt>
<dd class="tag-default"><ul class="dummy">
<li>2.1.0</li>
<li>2.1.1</li>
</ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,4 @@ <h3 id="license">License</h3>


</body>
</html>
</html>
2 changes: 1 addition & 1 deletion docs/js_form.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,7 @@ <h1 class="page-title">js/form.js</h1>
* @type {string}
* @default
*/
Form.requiredTransformerVersion = '2.1.0';
Form.requiredTransformerVersion = '2.1.1';

export { Form, FormModel };
</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial-20-development.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ <h3 id="release-a-new-version">Release a new version</h3>
<li>Check <a href="https://github.com/enketo/enketo-core/security/dependabot">Dependabot</a> for alerts</li>
<li>Run <code>npm update</code>
<ul>
<li>If enketo-transformer is updated, bump the version in <code>src/js/form.js</code></li>
<li>If enketo-transformer is updated, bump the version in <code>src/js/form.js</code> and <code>package.json</code></li>
</ul>
</li>
<li>Run <code>npm audit</code>
Expand Down
14 changes: 14 additions & 0 deletions docs/widget_datetime_datetimepicker-extended.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,20 @@ <h1 class="page-title">widget/datetime/datetimepicker-extended.js</h1>
}
}

get originalInputValue() {
const originalInputValue = super.originalInputValue;

if ( originalInputValue === '' ) {
return '';
}

return toISOLocalString( new Date( originalInputValue ) );
}

set originalInputValue( value ) {
super.originalInputValue = value;
}

/**
* @type {string}
*/
Expand Down
242 changes: 121 additions & 121 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 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.1",
"version": "6.0.2",
"license": "Apache-2.0",
"os": [
"darwin",
Expand Down Expand Up @@ -55,7 +55,7 @@
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.3",
"docdash": "^1.2.0",
"enketo-transformer": "2.1.0",
"enketo-transformer": "2.1.1",
"esbuild": "^0.12.29",
"esbuild-plugin-alias": "^0.1.2",
"eslint-plugin-jsdoc": "^36.1.1",
Expand All @@ -72,16 +72,16 @@
"istanbul-reporter-shield-badge": "^1.2.1",
"jsdoc": "^3.6.7",
"json-pretty": "0.0.1",
"karma": "^6.3.4",
"karma": "^6.3.7",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.0.3",
"karma-esbuild": "^2.2.0",
"karma-firefox-launcher": "^2.1.1",
"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",
"mocha": "^9.1.2",
"mocha": "^9.1.3",
"node-sass": "^6.0.1",
"rimraf": "^3.0.2",
"sinon": "^11.1.2",
Expand Down
2 changes: 1 addition & 1 deletion src/js/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,6 @@ Form.prototype.goToTarget = function( target ) {
* @type {string}
* @default
*/
Form.requiredTransformerVersion = '2.1.0';
Form.requiredTransformerVersion = '2.1.1';

export { Form, FormModel };
2 changes: 1 addition & 1 deletion tutorials/20-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Documentation is auto-generated and is re-built for each new release. Do not com
1. Create release PR
1. Check [Dependabot](https://github.com/enketo/enketo-core/security/dependabot) for alerts
1. Run `npm update`
- If enketo-transformer is updated, bump the version in `src/js/form.js`
- If enketo-transformer is updated, bump the version in `src/js/form.js` and `package.json`
1. Run `npm audit`
- Run `npm audit fix --production` to apply most important fixes
1. Run `npm ci`
Expand Down

0 comments on commit 2bfdee8

Please sign in to comment.