ember-validated-form 6.0.1 → 6.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.
- package/CHANGELOG.md +7 -0
- package/addon/passed-or-default.js +2 -3
- package/package.json +2 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [6.0.2](https://github.com/adfinis/ember-validated-form/compare/v6.0.1...v6.0.2) (2022-09-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** remove unnecessary dependency to tracked-toolbox ([605c001](https://github.com/adfinis/ember-validated-form/commit/605c0018c44dcfd99685c35b3ba656cfab420a35))
|
|
7
|
+
|
|
1
8
|
## [6.0.1](https://github.com/adfinis/ember-validated-form/compare/v6.0.0...v6.0.1) (2022-09-08)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { importSync, getOwnConfig } from "@embroider/macros";
|
|
2
2
|
import { ensureSafeComponent } from "@embroider/util";
|
|
3
|
-
import { cached } from "tracked-toolbox";
|
|
4
3
|
|
|
5
4
|
export default function passedOrDefault(componentName) {
|
|
6
5
|
return function (target, property) {
|
|
7
|
-
return
|
|
6
|
+
return {
|
|
8
7
|
get() {
|
|
9
8
|
return ensureSafeComponent(
|
|
10
9
|
this.args[property] ??
|
|
@@ -12,6 +11,6 @@ export default function passedOrDefault(componentName) {
|
|
|
12
11
|
this
|
|
13
12
|
);
|
|
14
13
|
},
|
|
15
|
-
}
|
|
14
|
+
};
|
|
16
15
|
};
|
|
17
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-validated-form",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"description": "Easily create forms with client-side validations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -41,8 +41,7 @@
|
|
|
41
41
|
"ember-changeset-validations": "^4.1.0",
|
|
42
42
|
"ember-cli-babel": "^7.26.11",
|
|
43
43
|
"ember-cli-htmlbars": "^6.1.0",
|
|
44
|
-
"ember-truth-helpers": "^3.1.1"
|
|
45
|
-
"tracked-toolbox": "^2.0.0"
|
|
44
|
+
"ember-truth-helpers": "^3.1.1"
|
|
46
45
|
},
|
|
47
46
|
"devDependencies": {
|
|
48
47
|
"@adfinis-sygroup/eslint-config": "1.5.0",
|