Skip to content

Commit

Permalink
Bump version and change prepublish to prepublishOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
olahol committed Jun 10, 2023
1 parent 71328a9 commit 48742e7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### 3.20.2 (2023-06-09)
### 3.20.3 (2023-06-09)

* Fix `onlyUnique` regression for object tags.

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-tagsinput",
"version": "3.20.2",
"version": "3.20.3",
"description": "Highly customizable React component for inputing tags",
"main": "react-tagsinput.js",
"peerDependencies": {
Expand Down Expand Up @@ -31,7 +31,7 @@
"fix": "standard src/index.js --fix",
"build": "babel --module-id ReactTagsInput -m umd src/index.js > react-tagsinput.js",
"coverage": "npx nyc --reporter=lcov --reporter=text-summary npm test",
"prepublish": "npm run build"
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion react-tagsinput.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@

for (var i = 0; i < arr.length; i++) {
if (out.indexOf(arr[i]) === -1) {
out.push(arr[i].trim());
out.push(typeof arr[i] === 'string' ? arr[i].trim() : arr[i]);
}
}

Expand Down

0 comments on commit 48742e7

Please sign in to comment.