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 5.1.0 to 5.1.1

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [5.1.1](https://github.com/Trott/slug/compare/v5.1.0...v5.1.1) (2021-12-13)
### Bug Fixes
* consolidate replacement chars from extend() ([#267](https://github.com/Trott/slug/issues/267)) ([df7a488](https://github.com/Trott/slug/commit/df7a488a183477c4851868e94eaeab7830a07ff3))
# [5.1.0](https://github.com/Trott/slug/compare/v5.0.1...v5.1.0) (2021-06-15)

@@ -2,0 +9,0 @@

13

package.json
{
"name": "slug",
"description": "slugifies even utf-8 chars!",
"version": "5.1.0",
"version": "5.1.1",
"homepage": "https://github.com/Trott/slug",

@@ -23,9 +23,8 @@ "author": "dodo (https://github.com/dodo)",

"test": "standard && mocha --experimental-modules test/*.mjs && nyc --reporter none mocha test/**/*.js && karma start --single-run --browsers ChromeHeadless,FirefoxHeadless .karma.config.js && nyc report --reporter=text --reporter=html && nyc check-coverage --lines 100 --branches 100 --statements 100 --functions 100",
"test-ci": "./node_modules/.bin/karma start .karma.config-ci.js",
"test-ie": "karma start --single-run --browsers IE .karma.config.js",
"benchmark": "node benchmark/benchmark.js"
},
"dependencies": {},
"devDependencies": {
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/changelog": "^6.0.0",
"@semantic-release/git": "^10.0.0",
"chai": "^4.2.0",

@@ -37,9 +36,9 @@ "karma": "^6.0.2",

"karma-firefox-launcher": "^2.0.0",
"karma-ie-launcher": "^1.0.0",
"karma-jasmine": "^4.0.0",
"karma-mocha": "^2.0.1",
"karma-sauce-launcher": "^4.1.5",
"mocha": "^9.0.0",
"nyc": "^15.0.1",
"requirejs": "^2.3.6",
"semantic-release": "^17.1.2",
"semantic-release": "^18.0.0",
"standard": "^16.0.0"

@@ -46,0 +45,0 @@ },

@@ -94,3 +94,1 @@ # [slug](https://github.com/Trott/slug)

```
[![Testing Powered By SauceLabs](https://opensource.saucelabs.com/images/opensauce/powered-by-saucelabs-badge-gray.png?sanitize=true "Testing Powered By SauceLabs")](https://saucelabs.com)

@@ -196,3 +196,3 @@ /* global btoa */

} else if (opts.charmap[char]) {
char = opts.charmap[char]
char = opts.charmap[char].replace(opts.replacement, ' ')
} else if (char.includes(opts.replacement)) {

@@ -199,0 +199,0 @@ // preserve the replacement character in case it is excluded by disallowedChars

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