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

react-tag-autocomplete

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-tag-autocomplete - npm Package Compare versions

Comparing version 5.12.0 to 5.12.1

4

CHANGELOG.md
# Changelog
## 5.12.1
- Fixed an issue where the `componentDidUpdate()` callback of the input component can be called too many times
## 5.12.0

@@ -4,0 +8,0 @@

12

dist-es5/Input.js

@@ -19,3 +19,4 @@ 'use strict'

'fontStyle',
'letterSpacing'
'letterSpacing',
'textTransform'
]

@@ -44,4 +45,9 @@

Input.prototype.componentDidUpdate = function componentDidUpdate () {
this.updateInputWidth()
Input.prototype.componentDidUpdate = function componentDidUpdate (ref) {
var query = ref.query;
var placeholder = ref.placeholder;
if (query !== this.props.query || placeholder !== this.props.placeholder) {
this.updateInputWidth()
}
};

@@ -48,0 +54,0 @@

@@ -19,3 +19,4 @@ 'use strict'

'fontStyle',
'letterSpacing'
'letterSpacing',
'textTransform'
]

@@ -40,4 +41,6 @@

componentDidUpdate () {
this.updateInputWidth()
componentDidUpdate ({ query, placeholder }) {
if (query !== this.props.query || placeholder !== this.props.placeholder) {
this.updateInputWidth()
}
}

@@ -44,0 +47,0 @@

@@ -19,3 +19,4 @@ 'use strict'

'fontStyle',
'letterSpacing'
'letterSpacing',
'textTransform'
]

@@ -40,4 +41,6 @@

componentDidUpdate () {
this.updateInputWidth()
componentDidUpdate ({ query, placeholder }) {
if (query !== this.props.query || placeholder !== this.props.placeholder) {
this.updateInputWidth()
}
}

@@ -44,0 +47,0 @@

{
"name": "react-tag-autocomplete",
"version": "5.12.0",
"version": "5.12.1",
"description": "React Tag Autocomplete is a simple tagging component ready to drop in your React projects.",

@@ -5,0 +5,0 @@ "main": "dist-es5/ReactTags.js",

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