Socket
Socket
Sign inDemoInstall

@sindresorhus/transliterate

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sindresorhus/transliterate - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

3

index.js

@@ -1,2 +0,1 @@

import deburr from 'lodash.deburr';
import escapeStringRegexp from 'escape-string-regexp';

@@ -31,5 +30,5 @@ import builtinReplacements from './replacements.js';

string = doCustomReplacements(string, customReplacements);
string = deburr(string);
string = string.normalize('NFD').replace(/\p{Diacritic}/gu, '').normalize();
return string;
}
{
"name": "@sindresorhus/transliterate",
"version": "1.5.0",
"version": "1.6.0",
"description": "Convert Unicode characters to Latin characters using transliteration",

@@ -40,4 +40,3 @@ "license": "MIT",

"dependencies": {
"escape-string-regexp": "^5.0.0",
"lodash.deburr": "^4.1.0"
"escape-string-regexp": "^5.0.0"
},

@@ -44,0 +43,0 @@ "devDependencies": {

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