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

uslug

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uslug - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

lib/uslug.js

@@ -39,3 +39,3 @@ (function() {

}
slug = rv.join('').replace(/^\s+|\s+$/g, '').replace(/\s+/g,' ');
var slug = rv.join('').replace(/^\s+|\s+$/g, '').replace(/\s+/g,' ');
if (!spaces) slug = slug.replace(/[\s\-]+/g,'-');

@@ -42,0 +42,0 @@ if (lower) slug = slug.toLowerCase();

{
"name" : "uslug",
"version" : "1.0.2",
"version" : "1.0.3",
"description" : "A permissive slug generator that works with unicode.",

@@ -5,0 +5,0 @@ "author": "Jeremy Selier <jerem.selier@gmail.com>",

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