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

transliteration

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

transliteration - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

dist/node/src/common/transliterate.js

@@ -84,2 +84,3 @@ "use strict";

for (const key in option) {
/* istanbul ignore else */
if (Object.prototype.hasOwnProperty.call(option, key)) {

@@ -128,2 +129,3 @@ replaceArr.push([key, option[key]]);

for (const from in data) {
/* istanbul ignore else */
if (Object.prototype.hasOwnProperty.call(data, from) && from.length < 3 && from <= '\udbff\udfff') {

@@ -130,0 +132,0 @@ this.map[from] = data[from];

@@ -38,2 +38,3 @@ "use strict";

for (const key in obj) {
/* istanbul ignore else */
if (Object.prototype.hasOwnProperty.call(obj, key)) {

@@ -40,0 +41,0 @@ clonedObj[key] = deepClone(obj[key]);

2

package.json
{
"name": "transliteration",
"version": "2.0.0",
"version": "2.0.1",
"description": "Unicode to ACSII transliteration / slugify module for node.js, browser, Web Worker, ReactNative and CLI.",

@@ -5,0 +5,0 @@ "main": "dist/node/src/node/index.js",

@@ -6,3 +6,3 @@ # Transliteration

[![Dev Dependencies](https://img.shields.io/david/dev/dzcpy/transliteration.svg)](https://github.com/dzcpy/transliteration/blob/master/package.json)
[![Coverage Status](https://img.shields.io/codecov/c/github/dzcpy/transliteration.svg)](https://coveralls.io/github/dzcpy/transliteration?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/dzcpy/transliteration/badge.svg?branch=master)](https://coveralls.io/github/dzcpy/transliteration?branch=master)
[![NPM Version](https://img.shields.io/npm/v/transliteration.svg)](https://www.npmjs.com/package/transliteration)

@@ -114,3 +114,3 @@ [![NPM Download](https://img.shields.io/npm/dm/transliteration.svg)](https://www.npmjs.com/package/transliteration)

### transliterate.config([optionsObj])__
### transliterate.config([optionsObj])

@@ -117,0 +117,0 @@ Bind options globally so any following calls will be using `optoinsObj` by default. If `optionsObj` argument is omitted, it will return current default option object.

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