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

diacritics

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diacritics - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

index.js

@@ -244,4 +244,7 @@ var DIACRITICS_REMOVAL_MAP = [

base: 's',
regex: /[\x73\u24E2\uFF53\xDF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u0282]/g
regex: /[\x73\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u0282]/g
}, {
base: 'ss',
regex: /[\xDF]/g
}, {
base: 't',

@@ -248,0 +251,0 @@ regex: /[\x74\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g

2

package.json
{
"name": "diacritics",
"version": "1.0.0",
"version": "1.0.1",
"description": "remove diacritics from strings",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -12,1 +12,2 @@ var removeDiacritics = require('../').remove,

assert.strictEqual(removeDiacritics("hŒllœ"), "hOElloe");
assert.strictEqual(removeDiacritics("Fußball"), "Fussball");
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