Fix #4731: Tag counter in edit boxes should only count unique tags, not repeated.
Just use the `uniq` function from lodash. Adds ~1kb to the build. Also rename `Utility.regexp_split` to `Utility.splitWords`.
This commit is contained in:
17
package.json
17
package.json
@@ -2,6 +2,14 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@babel/plugin-proposal-decorators": "^7.10.5",
|
||||
"@fontsource/anton": "^4.0.0",
|
||||
"@fontsource/archivo-narrow": "^4.0.0",
|
||||
"@fontsource/ibm-plex-mono": "^4.0.0",
|
||||
"@fontsource/indie-flower": "^4.0.0",
|
||||
"@fontsource/lora": "^4.0.0",
|
||||
"@fontsource/petit-formal-script": "^4.0.0",
|
||||
"@fontsource/rokkitt": "^4.0.0",
|
||||
"@fontsource/unifrakturmaguntia": "^4.0.0",
|
||||
"@fortawesome/fontawesome-free": "^5.11.2",
|
||||
"@rails/ujs": "^6.0.2-1",
|
||||
"@rails/webpacker": "^6.0.0-beta.4",
|
||||
@@ -11,6 +19,7 @@
|
||||
"jquery": "3.5.1",
|
||||
"jquery-hotkeys": "^0.2.2",
|
||||
"jquery-ui": "^1.12.1",
|
||||
"lodash": "^4.17.21",
|
||||
"mini-css-extract-plugin": "^1.3.4",
|
||||
"postcss": "^8.2.4",
|
||||
"postcss-flexbugs-fixes": "^5.0.2",
|
||||
@@ -22,14 +31,6 @@
|
||||
"sass-loader": "^11.0.0",
|
||||
"spark-md5": "^3.0.0",
|
||||
"tippy.js": "^6.2.3",
|
||||
"@fontsource/anton": "^4.0.0",
|
||||
"@fontsource/archivo-narrow": "^4.0.0",
|
||||
"@fontsource/ibm-plex-mono": "^4.0.0",
|
||||
"@fontsource/indie-flower": "^4.0.0",
|
||||
"@fontsource/lora": "^4.0.0",
|
||||
"@fontsource/petit-formal-script": "^4.0.0",
|
||||
"@fontsource/rokkitt": "^4.0.0",
|
||||
"@fontsource/unifrakturmaguntia": "^4.0.0",
|
||||
"typopro-web": "^4.2.2",
|
||||
"webpack": "^5.11.0",
|
||||
"webpack-cli": "^4.2.0"
|
||||
|
||||
Reference in New Issue
Block a user