New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.5.0 to 0.6.0

bin/slug.js

4

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

@@ -18,2 +18,4 @@ , "author": "dodo (https://github.com/dodo)"

"coffee-script": "~1.7.1"}
, "bin": {
"slug": "bin/slug.js"}
, "licenses" : [

@@ -20,0 +22,0 @@ { "type": "MIT" ,

@@ -96,8 +96,12 @@ (function (root) {

'ą':'a', 'ć':'c', 'ę':'e', 'ł':'l', 'ń':'n', 'ś':'s', 'ź':'z',
'ż':'z', 'Ą':'A', 'Ć':'C', 'Ę':'e', 'Ł':'L', 'Ń':'N', 'Ś':'S',
'ż':'z', 'Ą':'A', 'Ć':'C', 'Ę':'E', 'Ł':'L', 'Ń':'N', 'Ś':'S',
'Ź':'Z', 'Ż':'Z',
// latvian
'ā':'a', 'ē':'e', 'ģ':'g', 'ī':'i', 'ķ':'k', 'ļ':'l', 'ņ':'n',
'ū':'u', 'Ā':'A', 'Ē':'E', 'Ģ':'G', 'Ī':'i',
'Ķ':'k', 'Ļ':'L', 'Ņ':'N', 'Ū':'u',
'ū':'u', 'Ā':'A', 'Ē':'E', 'Ģ':'G', 'Ī':'I',
'Ķ':'K', 'Ļ':'L', 'Ņ':'N', 'Ū':'U',
// lithuanian
'ė':'e', 'į':'i', 'ų':'u', 'Ė': 'E', 'Į': 'I', 'Ų':'U',
// romanian
'ț':'t', 'Ț':'T', 'ţ':'t', 'Ţ':'T', 'ș':'s', 'Ș':'S', 'ă':'a', 'Ă':'A',
// currency

@@ -122,2 +126,3 @@ '€': 'euro', '₢': 'cruzeiro', '₣': 'french franc', '£': 'pound',

if (typeof define !== 'undefined' && define.amd) { // AMD
slug.defaults.symbols = false; // dont load symbols table in the browser
define([], function () {return slug});

@@ -124,0 +129,0 @@ } else if (typeof module !== 'undefined' && module.exports) { // CommonJS

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