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.2 to 1.1.0

18

index.js
var DIACRITICS_REMOVAL_MAP = [
{
base: ' ',
regex: /[\u00A0]/g
}, {
base: '0',

@@ -186,2 +189,17 @@ regex: /[\u07C0]/g

}, {
base: 'ff',
regex: /[\uFB00]/g
}, {
base: 'fi',
regex: /[\uFB01]/g
}, {
base: 'fl',
regex: /[\uFB02]/g
}, {
base: 'ffi',
regex: /[\uFB03]/g
}, {
base: 'ffl',
regex: /[\uFB04]/g
}, {
base: 'g',

@@ -188,0 +206,0 @@ regex: /[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\uA77F\u1D79]/g

2

package.json
{
"name": "diacritics",
"version": "1.0.2",
"version": "1.1.0",
"description": "remove diacritics from strings",

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

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