Compare commits
2 Commits
602765bfbb
...
378e0edc75
| Author | SHA1 | Date |
|---|---|---|
|
|
378e0edc75 | |
|
|
a2622aa536 |
|
|
@ -1,11 +1,11 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx-web",
|
"name": "traxxx-web",
|
||||||
"version": "0.42.9",
|
"version": "0.42.10",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"version": "0.42.9",
|
"version": "0.42.10",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@brillout/json-serializer": "^0.5.8",
|
"@brillout/json-serializer": "^0.5.8",
|
||||||
"@dicebear/collection": "^7.0.5",
|
"@dicebear/collection": "^7.0.5",
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"vite": "$vite"
|
"vite": "$vite"
|
||||||
},
|
},
|
||||||
"version": "0.42.9",
|
"version": "0.42.10",
|
||||||
"imports": {
|
"imports": {
|
||||||
"#/*": "./*.js"
|
"#/*": "./*.js"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ const accentMap = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const plainCharRegex = /[a-zA-Z0-9]/;
|
const plainCharRegex = /[a-zA-Z0-9]/;
|
||||||
const defaultPunctuationRegex = /[.,?!:;&'‘’"“”…()[]{}<>\/*—]/;
|
const defaultPunctuationRegex = /[.,?!:;&'‘’"“”…()[\]{}<>/*—]/;
|
||||||
const defaultSymbolRegex = /[@$€£#%^+=\\~]/;
|
const defaultSymbolRegex = /[@$€£#%^+=\\~]/;
|
||||||
|
|
||||||
export default function slugify(strings, delimiter = '-', {
|
export default function slugify(strings, delimiter = '-', {
|
||||||
|
|
@ -48,7 +48,7 @@ export default function slugify(strings, delimiter = '-', {
|
||||||
lower = true,
|
lower = true,
|
||||||
encode = false,
|
encode = false,
|
||||||
accents: keepAccents = false,
|
accents: keepAccents = false,
|
||||||
punctuation: keepPunctuation = false,
|
punctuation: keepPunctuation = 'split',
|
||||||
punctuationRegex = defaultPunctuationRegex,
|
punctuationRegex = defaultPunctuationRegex,
|
||||||
symbols: keepSymbols = false,
|
symbols: keepSymbols = false,
|
||||||
symbolRegex = defaultSymbolRegex,
|
symbolRegex = defaultSymbolRegex,
|
||||||
|
|
|
||||||
2
static
2
static
|
|
@ -1 +1 @@
|
||||||
Subproject commit 50a262da611d6435a0bf77662f47d0a9126615f0
|
Subproject commit c05345e3c73cef25e2bb03931ffded6e7cfbe743
|
||||||
Loading…
Reference in New Issue