hmpo-form-wizard 13.0.0 → 13.0.2

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 (2) hide show
  1. package/README.md +1 -0
  2. package/package.json +12 -12
package/README.md CHANGED
@@ -97,6 +97,7 @@ Any of these options can also be provided as a third argument to the wizard to c
97
97
  * `editable` - This step is editable. This allows accessing this step with the `editSuffix` and sets the back link and next step to the `editBackStep`. Defaults to `false`.
98
98
  * `editSuffix` - Suffix to use for editing steps. Defaults to `/edit`.
99
99
  * `editBackStep` - Location to return to after editing a step. Defaults to `confirm`
100
+ * `continueOnEdit` - While editing, if the step marked with this is evaluated to be the next step, continue to editing it instead of returning to `editBackStep`. Defaults to `false`.
100
101
  * `fields` - specifies which of the fields from the field definition list are applied to this step. Form inputs which are not named on this list will not be processed. Default: `[]`
101
102
  * `template` - Specifies the template to render for GET requests to this step. Defaults to the route (without trailing slash)
102
103
  * `templatePath` - provides the location within `app.get('views')` that templates are stored.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hmpo-form-wizard",
3
- "version": "13.0.0",
3
+ "version": "13.0.2",
4
4
  "description": "Routing and request handling for a multi-step form processes",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -21,30 +21,30 @@
21
21
  "bugs": {
22
22
  "url": "https://github.com/HMPO/hmpo-form-wizard/issues"
23
23
  },
24
- "homepage": "https://github.com/HMPO/hmpo-form-wizard",
24
+ "homepage": "https://github.com/HMPO/hmpo-form-wizard#readme",
25
25
  "dependencies": {
26
26
  "body-parser": "^1.20.2",
27
27
  "csrf": "^3.1.0",
28
- "debug": "^4.3.4",
28
+ "debug": "^4.3.6",
29
29
  "deep-clone-merge": "^1.5.5",
30
- "hmpo-model": "^5.0.0",
31
- "moment": "^2.29.4",
32
- "underscore": "^1.13.6"
30
+ "hmpo-model": "^5.0.1",
31
+ "moment": "^2.30.1",
32
+ "underscore": "^1.13.7"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "express": ">=4",
36
36
  "json5": ">=2"
37
37
  },
38
38
  "devDependencies": {
39
- "chai": "^4.3.7",
40
- "eslint": "^8.39.0",
41
- "express": "^4.18.2",
39
+ "chai": "^4.5.0",
40
+ "eslint": "^8.57.0",
41
+ "express": "^4.19.2",
42
42
  "json5": "^2.2.3",
43
- "mocha": "^10.2.0",
44
- "nyc": "^15.1.0",
43
+ "mocha": "^10.7.0",
44
+ "nyc": "^17.0.0",
45
45
  "proxyquire": "^2.1.3",
46
46
  "reqres": "^3.0.1",
47
- "sinon": "^15.0.4",
47
+ "sinon": "^18.0.0",
48
48
  "sinon-chai": "^3.7.0"
49
49
  },
50
50
  "mocha": {