Socket
Socket
Sign inDemoInstall

laravel-slug

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laravel-slug - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

index.js

@@ -451,3 +451,3 @@ /**

// Remove all characters that are not the separator, letters, numbers, or whitespace
var alnum = RegExp('[^' + opt.delimiter + '\\d\\w\\s]+', 'ig');
var alnum = RegExp('[^' + opt.delimiter + '\\d\\w\\s\\u4e00-\\u9eff]+', 'ig');
s = s.replace(alnum, '');

@@ -454,0 +454,0 @@

{
"name": "laravel-slug",
"version": "1.2.0",
"version": "1.2.1",
"description": "Tries to mimick the slugs produced by Laravel",

@@ -5,0 +5,0 @@ "main": "index.js",

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