Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

slugify

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slugify - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

12

package.json
{
"name": "slugify",
"version": "1.4.0",
"version": "1.4.1",
"description": "Slugifies a String",

@@ -19,5 +19,5 @@ "keywords": [

"devDependencies": {
"coveralls": "^3.0.1",
"istanbul": "^0.4.5",
"mocha": "^5.2.0"
"coveralls": "^3.1.0",
"mocha": "^7.2.0",
"nyc": "^15.1.0"
},

@@ -34,4 +34,4 @@ "main": "./slugify.js",

"build": "node bin/build",
"test:ci": "mocha test/",
"test:cov": "istanbul cover _mocha",
"test:ci": "npx mocha --recursive",
"test:cov": "npx nyc --reporter=lcov --reporter=text-summary mocha -- --recursive",
"test": "npm run build && npm run test:ci"

@@ -38,0 +38,0 @@ },

@@ -52,2 +52,4 @@

.replace(new RegExp('[^a-zA-Z0-9' + replacement + ']', 'g'), '')
// remove duplicates of the replacement character
.replace(new RegExp('[\\s' + replacement + ']+', 'g'), replacement)
}

@@ -54,0 +56,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc