Socket
Socket
Sign inDemoInstall

@lion/field

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lion/field - npm Package Compare versions

Comparing version 0.12.0 to 0.12.1

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [0.12.1](https://github.com/ing-bank/lion/compare/@lion/field@0.12.0...@lion/field@0.12.1) (2020-04-02)
### Bug Fixes
* **field:** clear method reset modelValue ([cf13410](https://github.com/ing-bank/lion/commit/cf134100262a2a7f77a0ec58b3e685de8e14795d))
# [0.12.0](https://github.com/ing-bank/lion/compare/@lion/field@0.11.4...@lion/field@0.12.0) (2020-03-25)

@@ -8,0 +19,0 @@

14

package.json
{
"name": "@lion/field",
"version": "0.12.0",
"version": "0.12.1",
"description": "Fields are the most fundamental building block of the Form System",

@@ -39,12 +39,6 @@ "author": "ing-bank",

"dependencies": {
"@lion/core": "0.5.0",
"@lion/validate": "0.9.0"
"@lion/core": "0.5.1",
"@lion/validate": "0.9.1"
},
"devDependencies": {
"@lion/localize": "0.9.0",
"@open-wc/demoing-storybook": "^1.10.4",
"@open-wc/testing": "^2.5.0",
"sinon": "^7.2.2"
},
"gitHead": "29e1252560d3fda898f98c271a7b685d1e929035"
"gitHead": "b58aa65377d5e7a0cd4d87917980291c832e7120"
}

@@ -165,3 +165,3 @@ import { LitElement, SlotMixin } from '@lion/core';

}
this.value = ''; // can't set null here, because IE11 treats it as a string
this.modelValue = ''; // can't set null here, because IE11 treats it as a string
}

@@ -168,0 +168,0 @@

@@ -113,7 +113,7 @@ import { unsafeHTML } from '@lion/core';

el.clear();
expect(el.value).to.equal('');
el.value = 'Some value from property';
expect(el.value).to.equal('Some value from property');
expect(el.modelValue).to.equal('');
el.modelValue = 'Some value from property';
expect(el.modelValue).to.equal('Some value from property');
el.clear();
expect(el.value).to.equal('');
expect(el.modelValue).to.equal('');
});

@@ -120,0 +120,0 @@

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