New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@yaireo/tagify

Package Overview
Dependencies
Maintainers
1
Versions
270
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yaireo/tagify - npm Package Compare versions

Comparing version 2.7.5 to 2.7.6

19

dist/react.tagify.js

@@ -10,2 +10,3 @@ // import React from 'react';

this.state = {};
this._handleRef = this._handleRef.bind(this);
}

@@ -15,7 +16,2 @@

this.tagify = new Tagify(this.component, this.props.settings || {});
// this.tagify.on('add', onAddTag)
// .on('remove', onRemoveTag)
// .on('input', onInput)
// .on('invalid', onInvalidTag);
}

@@ -33,10 +29,10 @@

}
_handleRef(component){
this.component = component;
}
render(){
const attrs = {
ref : this._handleRef.bind(this),
ref : this._handleRef,
name : this.props.name,

@@ -48,7 +44,6 @@ className : this.props.className,

if( this.props.mode === 'textarea' )
return <textarea {...attrs} defaultValue={this.props.initialValue}></textarea>
return <input {...attrs} defaultValue={this.props.initialValue} />
return this.props.mode === 'textarea' ?
<textarea {...attrs} defaultValue={this.props.initialValue}></textarea> :
<input {...attrs} defaultValue={this.props.initialValue} />
}
}
{
"name": "@yaireo/tagify",
"version": "2.7.5",
"version": "2.7.6",
"homepage": "https://github.com/yairEO/tagify",

@@ -5,0 +5,0 @@ "description": "Convert an input field into a Tags element. Easy, customizable, with good performance and small code footprint.",

@@ -237,3 +237,5 @@ [Tagify](https://yaireo.github.io/tagify) - lightweight input "tags" script

[Live React Demo in Codepen](https://codepen.io/vsync/project/editor/44cc53af79bbede42efd7521d94d6f9f)
### jQuery version

@@ -240,0 +242,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