Compare commits

..

No commits in common. "602765bfbbd469fdc422a65fa9a06b3affc733a0" and "4e181d5ff78f4f03bebfb3ffd3df7b12b0701253" have entirely different histories.

3 changed files with 4 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "traxxx-web",
"version": "0.42.9",
"version": "0.42.8",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "0.42.9",
"version": "0.42.8",
"dependencies": {
"@brillout/json-serializer": "^0.5.8",
"@dicebear/collection": "^7.0.5",

View File

@ -87,7 +87,7 @@
"overrides": {
"vite": "$vite"
},
"version": "0.42.9",
"version": "0.42.8",
"imports": {
"#/*": "./*.js"
}

View File

@ -40,7 +40,7 @@ const accentMap = {
};
const plainCharRegex = /[a-zA-Z0-9]/;
const defaultPunctuationRegex = /[.,?!:;&'"“”…()[]{}<>\/*—]/;
const defaultPunctuationRegex = /[.,?!:;&'"“”…()[]{}<>\/*—-]/;
const defaultSymbolRegex = /[@$€£#%^+=\\~]/;
export default function slugify(strings, delimiter = '-', {
@ -64,7 +64,6 @@ export default function slugify(strings, delimiter = '-', {
: string;
const normalized = casedString
.replace(/[_-]+/g, ' ')
.split('')
.map((char) => {
if (char === ' ') {