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

uniformize

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uniformize - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

2

dist/index.js

@@ -25,3 +25,3 @@ "use strict";

String.prototype.unidecode = function(keepAccent) {
const emojiRegex = /[\p{Emoji}]/gu;
const emojiRegex = /[\u{1F600}-\u{1F64F}\u{1F300}-\u{1F5FF}\u{1F680}-\u{1F6FF}\u{2600}-\u{26FF}\u{2700}-\u{27BF}]\s*/gu;
const decoded = this.replace(emojiRegex, "").trim();

@@ -28,0 +28,0 @@ if (keepAccent) return decoded;

@@ -7,3 +7,3 @@ {

"type": "commonjs",
"version": "2.0.4",
"version": "2.0.5",
"repository": {

@@ -20,3 +20,3 @@ "type": "git",

"release": "commit-and-tag-version",
"postrelease": "npm publish"
"postrelease": "npm publish && git push --follow-tags origin master"
},

@@ -23,0 +23,0 @@ "cross-os": {

@@ -27,3 +27,3 @@ String.prototype.removeAccents = function () {

String.prototype.unidecode = function (keepAccent?: boolean) {
const emojiRegex = /[\p{Emoji}]/gu;
const emojiRegex = /[\u{1F600}-\u{1F64F}\u{1F300}-\u{1F5FF}\u{1F680}-\u{1F6FF}\u{2600}-\u{26FF}\u{2700}-\u{27BF}]\s*/gu ;
const decoded = this.replace(emojiRegex, "").trim();

@@ -30,0 +30,0 @@ if (keepAccent) return decoded;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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