Socket
Socket
Sign inDemoInstall

github-slugger

Package Overview
Dependencies
0
Maintainers
5
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

2.0.0

Diff

Changelog

Source

2.0.0 2022-10-27

  • Use ESM breaking: please read this guide
  • Add types breaking: tiny chance of breaking, use a new version of TS and it’ll work
wooorm
published 1.5.0 •

Changelog

Source

1.5.0 2022-10-25

  • Update Unicode to 13, to match GH
wooorm
published 1.4.0 •

Changelog

Source

1.4.0 2021-08-24

  • Fix to match GitHub’s algorithm on unicode
flet
published 1.3.0 •

Changelog

Source

1.3.0 2020-02-21

  • Expose static slug function for folks who do not want/need the stateful bits (Thanks @bobbylito!).
flet
published 1.2.1 •

Changelog

Source

1.2.1 2019-xx-xx

  • Fix collisions for slugs with occurrences
  • Fix accessing Object.prototype methods
  • Fix Russian
  • Add files to package.json
flet
published 1.2.0 •

Changelog

Source

1.2.0 2017-09-21

  • Add maintainCase support
flet
published 1.1.3 •

Changelog

Source

1.1.3 2017-05-29

  • Fixemoji-regex semver version to ensure npm5 compatibility.
flet
published 1.1.2 •

Changelog

Source

1.1.2 2017-05-26

flet
published 1.1.1 •

Changelog

Source

1.1.1

  • Add more conformant unicode handling to ensure:
    • emoji are correctly stripped
    • non-Latin characters are not incorrectly lowercased
  • Also adds more verified test cases

Check the PR for more details!

Thanks @wooorm!

flet
published 1.1.0 •

Changelog

Source

1.1.0

  • Feature: Support for non-latin characters in slugs https://github.com/Flet/github-slugger/pull/3) Thanks @tadatuta!
2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc