Remove slugify

This commit is contained in:
Jocelyn Badgley (Twipped) 2022-10-23 11:02:05 -07:00
parent edac46eff8
commit 1fe166c183
3 changed files with 0 additions and 16 deletions

View File

@ -1,5 +1,3 @@
const slugs = require('slugify');
module.exports = exports = function slugify (s) {
const result = s.trim().replace(/[^\p{L}\p{N}]+/ug, '-').replace(/^-+/, '').replace(/-+$/, '').toLowerCase();
return result;

12
package-lock.json generated
View File

@ -8108,12 +8108,6 @@
}
}
},
"hbs-kit": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/hbs-kit/-/hbs-kit-1.2.0.tgz",
"integrity": "sha512-xmP+VDAIesOFwbc+sarKx98cg+3H0sdT5E3bkiItFlst09pKZKBZtj9g2NFsd6qwouK7B8mIi/Ra58ogPyHACw==",
"dev": true
},
"he": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
@ -12194,12 +12188,6 @@
}
}
},
"slugify": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/slugify/-/slugify-1.6.0.tgz",
"integrity": "sha512-FkMq+MQc5hzYgM86nLuHI98Acwi3p4wX+a5BO9Hhw4JdK4L7WueIiZ4tXEobImPqBz2sVcV0+Mu3GRB30IGang==",
"dev": true
},
"smart-buffer": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",

View File

@ -62,7 +62,6 @@
"gulp-awspublish-router": "~0.2.0",
"gulp-clean": "~0.4.0",
"handybars": "~0.4.0",
"hbs-kit": "~1.2.0",
"html-minifier-terser": "~5.1.1",
"image-size": "~1.0.0",
"jquery": "~3.6.0",
@ -89,7 +88,6 @@
"rollup-plugin-terser": "~7.0.2",
"rss": "~1.2.2",
"serve-index": "~1.9.1",
"slugify": "~1.6.0",
"string-strip-html": "~8.3.0",
"svg-dimensions": "~1.0.2",
"terser": "~5.7.2",