Compare commits

..

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian ee23dc0358 1.3.1 2026-01-09 01:51:47 +01:00
DebaucheryLibrarian b2305966ed Using CommonJS for slugify. 2026-01-09 01:51:45 +01:00
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "traxxx-utils",
"version": "1.3.0",
"version": "1.3.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "traxxx-utils",
"version": "1.3.0",
"version": "1.3.1",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.25.7",

View File

@ -1,6 +1,6 @@
{
"name": "traxxx-common",
"version": "1.3.0",
"version": "1.3.1",
"description": "Common utilities for traxxx core and web.",
"main": "src/app.js",
"scripts": {

View File

@ -43,7 +43,7 @@ const plainCharRegex = /[a-zA-Z0-9]/;
const defaultPunctuationRegex = /[.,?!:;&'"“”…()[]{}<>\/*—-]/;
const defaultSymbolRegex = /[@$€£#%^+=\\~]/;
export default function slugify(strings, delimiter = '-', {
module.exports = function slugify(strings, delimiter = '-', {
limit = 1000,
lower = true,
encode = false,