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 Versions

1
8

3.3.1

Diff

Changelog

Source

3.3.1

fix: use let for ie11 compat

chore: move regex to improve performance

chore: add documentation and tests for remove option

trott
published 3.3.0 •

Changelog

Source

3.3.0

feat: make Base64 fallback in browser far more robust

fix: disregard lone surrogates in Node.js, as in the browser

fix: enable browser compatibility for all code points

trott
published 3.2.0 •

Changelog

Source

3.2.0

feat: add support for Azerbaijani characters

feat: add support for Slovak characters

trott
published 3.1.0 •

Changelog

Source

3.1.0

feat: add support for Georgian characters

feat: add locale sr (Serbian)

feat: support locale bg (Bulgarian)

fix: repair markdown layout for README file

trott
published 3.0.1 •

Changelog

Source

3.0.1

fix: remove erroneous "bin" entry in package.json

trott
published 3.0.0 •

Changelog

Source

3.0.0

BREAKING CHANGE: make output lowercase by default (#43)

BREAKING CHANGE: more aggressively remove punctuation by default (#39)

BREAKING CHANGE: do not load/use unicode symbol table (#50)

BREAKING CHANGE: require first argument to be a string (#32)

BREAKING CHANGE: remove CLI (#52)

feat: support Devanagari for Hindi, Sanskrit, and other languages (#55)

feat: add Kazakh characters (#42)

feat: add Serbian transliterations (#45)

feat: add ruble, bitcoin, tenge (#47)

feat: implement .extend() (#51)

feat: implement .reset() and browser testing (#53)

trott
published 2.1.1 •

Changelog

Source

2.1.1

Restore IE 11 support by removing arrow functions.

trott
published 2.1.0 •

Changelog

Source

2.1.0

Fallback to base64 if slug is empty. This allows minimal out-of-the-box support for character sets not in the default mappings.

trott
published 2.0.0 •

Changelog

Source

2.0.0

Add support for Farsi. (Thanks, @hassan-jahan!)

This is being released as a breaking change because it changes some of the slugs for Arabic strings. It probably won't break anything, but just in case....

trott
published 1.1.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