ember-validated-form 5.3.0 → 5.3.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [5.3.1](https://github.com/adfinis-sygroup/ember-validated-form/compare/v5.3.0...v5.3.1) (2022-09-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **select:** fix promptIsSelectable in combination with targetPath ([#853](https://github.com/adfinis-sygroup/ember-validated-form/issues/853)) ([526d81f](https://github.com/adfinis-sygroup/ember-validated-form/commit/526d81f25eb47f938fa2fa031d5f5e710a0386bf))
7
+
1
8
  # [5.3.0](https://github.com/adfinis-sygroup/ember-validated-form/compare/v5.2.2...v5.3.0) (2022-02-22)
2
9
 
3
10
 
@@ -125,7 +125,9 @@ export default class SelectComponent extends Component {
125
125
 
126
126
  //single select
127
127
  const foundOption = options.find((item) => getValue(item) === target.value);
128
- if (targetPath) {
128
+
129
+ // If @promptIsSelectable is set to true, foundOption in this case will be undefined.
130
+ if (targetPath && foundOption) {
129
131
  return foundOption[targetPath];
130
132
  }
131
133
  return foundOption;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-validated-form",
3
- "version": "5.3.0",
3
+ "version": "5.3.1",
4
4
  "description": "Easily create forms with client-side validations",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -33,11 +33,11 @@
33
33
  "prepare": "husky install"
34
34
  },
35
35
  "dependencies": {
36
- "@glimmer/component": "^1.0.4",
37
- "@glimmer/tracking": "^1.0.4",
38
- "ember-auto-import": "^2.4.0",
39
- "ember-changeset": "^4.0.0-beta.5",
40
- "ember-changeset-validations": "^4.0.0-beta.3",
36
+ "@glimmer/component": "^1.1.2",
37
+ "@glimmer/tracking": "^1.1.2",
38
+ "ember-auto-import": "^2.4.2",
39
+ "ember-changeset": "^4.1.0",
40
+ "ember-changeset-validations": "^4.1.0",
41
41
  "ember-cli-babel": "^7.26.11",
42
42
  "ember-cli-htmlbars": "^6.0.1",
43
43
  "ember-truth-helpers": "^3.0.0"
@@ -46,15 +46,15 @@
46
46
  "@adfinis-sygroup/eslint-config": "1.5.0",
47
47
  "@adfinis-sygroup/semantic-release-config": "3.4.0",
48
48
  "@ember/optional-features": "2.0.0",
49
- "@ember/test-helpers": "2.6.0",
50
- "@embroider/test-setup": "1.2.0",
51
- "@fortawesome/ember-fontawesome": "0.3.2",
52
- "@fortawesome/free-solid-svg-icons": "6.0.0",
49
+ "@ember/test-helpers": "2.8.1",
50
+ "@embroider/test-setup": "1.6.0",
51
+ "@fortawesome/ember-fontawesome": "0.4.0",
52
+ "@fortawesome/free-solid-svg-icons": "6.1.1",
53
53
  "babel-eslint": "10.1.0",
54
54
  "broccoli-asset-rev": "3.0.0",
55
- "ember-cli": "4.1.1",
55
+ "ember-cli": "4.3.0",
56
56
  "ember-cli-addon-docs": "ember-learn/ember-cli-addon-docs#667701d60650cf7af51611dbff9abf1879776421",
57
- "ember-cli-dependency-checker": "3.2.0",
57
+ "ember-cli-dependency-checker": "3.3.1",
58
58
  "ember-cli-deploy": "1.0.2",
59
59
  "ember-cli-deploy-build": "2.0.0",
60
60
  "ember-cli-deploy-git": "1.3.4",
@@ -64,31 +64,31 @@
64
64
  "ember-cli-terser": "4.0.2",
65
65
  "ember-cli-test-loader": "3.0.0",
66
66
  "ember-concurrency": "2.2.1",
67
- "ember-data": "4.1.0",
67
+ "ember-data": "4.4.0",
68
68
  "ember-disable-prototype-extensions": "1.1.3",
69
69
  "ember-load-initializers": "2.1.2",
70
70
  "ember-qunit": "5.1.5",
71
71
  "ember-resolver": "8.0.3",
72
- "ember-source": "4.2.0",
72
+ "ember-source": "4.6.0",
73
73
  "ember-source-channel-url": "3.0.0",
74
- "ember-template-lint": "4.1.0",
74
+ "ember-template-lint": "4.12.0",
75
75
  "ember-template-lint-plugin-prettier": "4.0.0",
76
76
  "ember-try": "2.0.0",
77
77
  "eslint": "7.32.0",
78
- "eslint-config-prettier": "8.4.0",
79
- "eslint-plugin-ember": "10.5.9",
80
- "eslint-plugin-import": "2.25.4",
78
+ "eslint-config-prettier": "8.5.0",
79
+ "eslint-plugin-ember": "10.6.1",
80
+ "eslint-plugin-import": "2.26.0",
81
81
  "eslint-plugin-node": "11.1.0",
82
82
  "eslint-plugin-prettier": "4.0.0",
83
83
  "eslint-plugin-qunit": "7.2.0",
84
- "husky": "7.0.4",
85
- "lint-staged": "12.3.4",
84
+ "husky": "8.0.1",
85
+ "lint-staged": "13.0.3",
86
86
  "loader.js": "4.7.0",
87
87
  "npm-run-all": "4.1.5",
88
- "prettier": "2.5.1",
89
- "qunit": "2.18.0",
88
+ "prettier": "2.7.1",
89
+ "qunit": "2.19.1",
90
90
  "qunit-dom": "2.0.0",
91
- "webpack": "5.69.1"
91
+ "webpack": "5.74.0"
92
92
  },
93
93
  "engines": {
94
94
  "node": "12.* || 14.* || >= 16"