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

rosaenlg-filter

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rosaenlg-filter - npm Package Compare versions

Comparing version 4.2.5 to 4.2.6

2

dist/clean.js

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

});
const regexSpacesEnd = new RegExp(`\\s+(☜[☜\\s]*)(\\s*)`, 'g');
const regexSpacesEnd = new RegExp(`\\s+([☜\\s]*☜)(\\s*)`, 'g');
res = res.replace(regexSpacesEnd, (_match, between, after) => {

@@ -30,0 +30,0 @@ return `${between.replace(/\s/g, '')}${after}`;

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

const replacedHtml = { replaced: input, elts: [] };
const regexHtml = new RegExp('<(/?)([a-zA-Z_-]+).*?>', 'g'); // _ to support li_*
const regexHtml = new RegExp('<(/?)([a-zA-Z1-9_-]+).*?>', 'g'); // _ to support li_* ; numbers for h1 etc. tags
replacedHtml.replaced = replacedHtml.replaced.replace(regexHtml, function (match, begin, tag) {

@@ -96,0 +96,0 @@ replacedHtml.elts.push(match);

@@ -12,3 +12,3 @@ /**

mappings: Mappings;
constructor(protectedString: any, mappings: any);
constructor(protectedString: string, mappings: Mappings);
}

@@ -15,0 +15,0 @@ export declare function unprotect(toUnprotect: string, mappings: Mappings): string;

{
"name": "rosaenlg-filter",
"version": "4.2.5",
"version": "4.2.6",
"description": "Filtering feature of RosaeNLG",

@@ -45,6 +45,6 @@ "main": "dist/index.js",

"better-title-case": "^1.0.1",
"english-a-an": "2.2.5",
"english-a-an-list": "2.2.5",
"french-contractions": "4.2.5",
"rosaenlg-commons": "2.2.5",
"english-a-an": "2.2.6",
"english-a-an-list": "2.2.6",
"french-contractions": "4.2.6",
"rosaenlg-commons": "2.2.6",
"titlecase-french": "^1.0.1"

@@ -63,3 +63,3 @@ },

},
"gitHead": "882e817aa6e0e5a2a666fd76af1c0f46a5045863"
"gitHead": "b08dab751ca807c22e262b78425c4f949559d882"
}

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