Socket
Socket
Sign inDemoInstall

ya-input

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ya-input - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

6

addon/components/ya-input/component.js

@@ -71,9 +71,9 @@ import Ember from 'ember';

canShowErrors: computed('errors.[]', 'hasLostFocus', 'shouldShowValidationErrors', {
canShowErrors: computed('errors.[]', 'hasFocusedOnce', 'shouldShowValidationErrors', {
get() {
const errorsCount = get(this, 'errors.length');
const hasLostFocus = get(this, 'hasLostFocus');
const hasFocusedOnce = get(this, 'hasFocusedOnce');
const shouldShowValidationErrors = get(this, 'shouldShowValidationErrors');
return !!(errorsCount > 0 && (hasLostFocus || shouldShowValidationErrors));
return !!(errorsCount > 0 && (hasFocusedOnce || shouldShowValidationErrors));
},

@@ -80,0 +80,0 @@ set: defaultCPSetter

{
"name": "ya-input",
"version": "0.1.4",
"version": "0.1.5",
"description": "The default blueprint for ember-cli addons.",

@@ -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