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 2.5.3 to 2.5.4

2

dist/html.d.ts

@@ -5,2 +5,4 @@ export interface ReplacedHtml {

}
export declare const blockLevelElts: string[];
export declare const inlineElts: string[];
export declare function replaceHtml(input: string): ReplacedHtml;

@@ -7,0 +9,0 @@ export declare function replacePlaceholders(input: string, elts: string[]): string;

6

dist/html.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const blockLevelElts = [
exports.blockLevelElts = [
'address',

@@ -34,3 +34,3 @@ 'article',

];
const inlineElts = [
exports.inlineElts = [
'a',

@@ -77,3 +77,3 @@ 'abbr',

replacedHtml.elts.push(match);
if (blockLevelElts.indexOf(tag) > -1) {
if (exports.blockLevelElts.indexOf(tag) > -1) {
if (begin === '/') {

@@ -80,0 +80,0 @@ return '☚';

import { Languages } from './constants';
export declare const blockLevelHtmlElts: string[];
export declare const inlineHtmlElts: string[];
export declare function filter(input: string, language: Languages): string;

@@ -11,2 +11,4 @@ "use strict";

const html = require("./html");
exports.blockLevelHtmlElts = html.blockLevelElts;
exports.inlineHtmlElts = html.inlineElts;
//import * as Debug from 'debug';

@@ -13,0 +15,0 @@ //const debug = Debug('rosaenlg-filter');

{
"name": "rosaenlg-filter",
"version": "2.5.3",
"version": "2.5.4",
"description": "Filtering feature of RosaeNLG",

@@ -46,3 +46,3 @@ "main": "dist/index.js",

"debug": "^4.1.1",
"french-h-muet-aspire": "2.5.3",
"french-h-muet-aspire": "2.5.4",
"titlecase-french": "^1.0.1"

@@ -60,3 +60,3 @@ },

},
"gitHead": "3dcac44372256f9a23f9016675f63205f3b9a9ee"
"gitHead": "7d80b030b06e15b2c25ae11435d1e47ae07071aa"
}

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