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

slug

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slug - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

5

lib/slug.js

@@ -362,4 +362,5 @@ (function() {

char = string[i];
code = string.charCodeAt(i);
if (opts.charmap[char]) {
if (!opts.charmap[char]) {
code = string.charCodeAt(i);
} else {
char = opts.charmap[char];

@@ -366,0 +367,0 @@ code = char.charCodeAt(0);

2

package.json
{ "name": "slug"
, "description": "slugifies even utf-8 chars!"
, "version": "0.3.1"
, "version": "0.3.2"
, "homepage": "https://github.com/dodo/node-slug"

@@ -5,0 +5,0 @@ , "author": "dodo (https://github.com/dodo)"

Sorry, the diff of this file is not supported yet

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