Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-simple-validation

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-simple-validation - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

12

addon/components/validation-error-field.js

@@ -16,7 +16,13 @@ import Ember from "ember";

});
Ember.Binding.from("model." + fields[0] + "IsPrimed").to("isPrimed").connect(this);
Ember.defineProperty(this, "isPrimed", Ember.computed("model." + fields[0] + "IsPrimed", function() {
return this.get("model." + fields[0] + "IsPrimed");
}));
}else{
computedKeys.push("fieldName");
Ember.Binding.from("model." + field + "IsPrimed").to("isPrimed").connect(this);
Ember.Binding.from("model." + field).to("fieldName").connect(this);
Ember.defineProperty(this, "isPrimed", Ember.computed("model." + field + "IsPrimed", function() {
return this.get("model." + field + "IsPrimed");
}));
Ember.defineProperty(this, "fieldName", Ember.computed("model." + field, function() {
return this.get("model." + field);
}));
}

@@ -23,0 +29,0 @@

ember-cli-simple-validation Changelog
==============================
1.4.0
-----
* [EMBER]: removed Ember.Binding as its now deprecated
([#23](https://github.com/toranb/ember-cli-simple-validation/pull/23))
1.3.0

@@ -5,0 +12,0 @@ -----

{
"name": "ember-cli-simple-validation",
"version": "1.3.0",
"version": "1.4.0",
"description": "ember-cli addon that provides simple form validation",

@@ -5,0 +5,0 @@ "directories": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc