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

polythene-core-textfield

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polythene-core-textfield - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

10

dist/polythene-core-textfield.js

@@ -129,3 +129,7 @@ (function (global, factory) {

setInputState: function setInputState(newState) {
return state.setInputState(_extends({}, newState, { vnode: vnode }));
var hasNewValue = newState.value !== undefined && newState.value !== state.inputEl().value;
var hasNewFocus = newState.focus !== undefined && newState.focus !== state.hasFocus();
if (hasNewValue || hasNewFocus) {
state.setInputState(_extends({}, newState, { vnode: vnode }));
}
}

@@ -177,2 +181,5 @@ });

var onMount = function onMount(vnode) {
if (!vnode.dom) {
return;
}
var dom = vnode.dom;

@@ -206,3 +213,2 @@ var state = vnode.state;

});
notifyState(vnode);

@@ -209,0 +215,0 @@ };

10

package.json
{
"name": "polythene-core-textfield",
"version": "1.1.2",
"version": "1.2.0",
"description": "",

@@ -10,3 +10,3 @@ "main": "dist/polythene-core-textfield",

"rollup": "../../node_modules/rollup/bin/rollup -c ../../scripts/rollup.umd.js && ../../node_modules/rollup/bin/rollup -c ../../scripts/rollup.es.js",
"build": "yarn run clean && yarn run rollup"
"build": "npm run clean && npm run rollup"
},

@@ -18,5 +18,5 @@ "files": [

"dependencies": {
"polythene-core": "^1.1.2",
"polythene-css-classes": "^1.1.2",
"polythene-theme": "^1.1.2"
"polythene-core": "^1.2.0",
"polythene-css-classes": "^1.2.0",
"polythene-theme": "^1.2.0"
},

@@ -23,0 +23,0 @@ "author": "Arthur Clemens <arthurclemens@gmail.com> (http://arthurclemens.com)",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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