Compare commits
2 Commits
4e181d5ff7
...
602765bfbb
| Author | SHA1 | Date |
|---|---|---|
|
|
602765bfbb | |
|
|
e32dd55220 |
|
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"name": "traxxx-web",
|
||||
"version": "0.42.8",
|
||||
"version": "0.42.9",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"version": "0.42.8",
|
||||
"version": "0.42.9",
|
||||
"dependencies": {
|
||||
"@brillout/json-serializer": "^0.5.8",
|
||||
"@dicebear/collection": "^7.0.5",
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@
|
|||
"overrides": {
|
||||
"vite": "$vite"
|
||||
},
|
||||
"version": "0.42.8",
|
||||
"version": "0.42.9",
|
||||
"imports": {
|
||||
"#/*": "./*.js"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,6 +64,7 @@ export default function slugify(strings, delimiter = '-', {
|
|||
: string;
|
||||
|
||||
const normalized = casedString
|
||||
.replace(/[_-]+/g, ' ')
|
||||
.split('')
|
||||
.map((char) => {
|
||||
if (char === ' ') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue