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

enamdict

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enamdict - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

11

enamdict.js

@@ -17,3 +17,4 @@ /**

// Used for simplifying the romaji name to find close duplicates
var cleanRegex = /aa|ee|ii|oo|uu|ou|'/ig;
var cleanRegex = /aa|ee|ii|oo|uu|ou/ig;
var cleanExtraRegex = /['-]/g;

@@ -255,5 +256,7 @@ // Used for extracting the type from a line

var cleanName = function(name) {
return name.replace(cleanRegex, function(all) {
return all[0] === "'" ? "" : all[0];
});
return name
.replace(cleanExtraRegex, "")
.replace(cleanRegex, function(all) {
return all[0];
});
};

@@ -260,0 +263,0 @@

{
"name": "enamdict",
"version": "0.0.8",
"version": "0.0.9",
"description": "Look up Romaji names and correct surname/given name usage.",

@@ -5,0 +5,0 @@ "main": "enamdict.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