New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@plexis/without-diacritics

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

@plexis/without-diacritics - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

LICENCE

12

dist/index.esm.js

@@ -1,11 +0,11 @@

export
/**
* @description Cleanups a string from diacritics
* @param {String} text
* @example
* toPred('áéíóú') // returns 'aeiou'
*/
* @description Cleanups a string from diacritics
* @param {String} text
* @example
* toPred('áéíóú') // returns 'aeiou'
*/
var withoutDiacritics = function withoutDiacritics(text) {
return text.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
};
export default withoutDiacritics;
"use strict";
exports.__esModule = true;
exports["default"] = exports.withoutDiacritics = void 0;
exports["default"] = void 0;
/**
* @description Cleanups a string from diacritics
* @param {String} text
* @example
* toPred('áéíóú') // returns 'aeiou'
*/
* @description Cleanups a string from diacritics
* @param {String} text
* @example
* toPred('áéíóú') // returns 'aeiou'
*/
var withoutDiacritics = function withoutDiacritics(text) {

@@ -16,4 +16,3 @@ return text.normalize('NFD').replace(/[\u0300-\u036f]/g, '');

exports.withoutDiacritics = withoutDiacritics;
var _default = withoutDiacritics;
exports["default"] = _default;
{
"name": "@plexis/without-diacritics",
"version": "0.0.7",
"version": "0.0.8",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"jsnext:main": "./src/index.js",
"authors": [

@@ -10,6 +11,17 @@ "Theodore Vorillas <vorillaz@gmail.com> (https://vorillaz.com)"

"license": "MIT",
"keywords": [
"utility",
"string",
"parse",
"format",
"validate"
],
"repository": {
"type": "git",
"url": "git+https://github.com/plexis-js/plexis.git"
},
"publishConfig": {
"access": "public"
},
"gitHead": "d85f23d866251ee16b143f6776299fcc2cb96abc"
"gitHead": "ba3ebd6492a002b8483add45fa098db086daec65"
}

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

export /**
/**
* @description Cleanups a string from diacritics

@@ -3,0 +3,0 @@ * @param {String} text

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