ansi-to-pre
Advanced tools
Comparing version 1.0.5 to 1.0.6
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.hyperlink = void 0; | ||
const LINK_RE = /\u001b\]8;;(.*?)(?:\u001b\\|\u0007)(.*?)\x1B]8;;(?:\u001b\\|\u0007)/g; | ||
const LINK_RE = /\u001b\]8;[^;]*?;(.*?)(?:\u001b\\|\u0007)(.*?)\u001b]8;[^;]*?;(?:\u001b\\|\u0007)/g; | ||
// turn ANSI encoded links to HTML hyperlinks | ||
@@ -6,0 +6,0 @@ const hyperlink = (s) => { |
@@ -1,2 +0,2 @@ | ||
const LINK_RE = /\u001b\]8;;(.*?)(?:\u001b\\|\u0007)(.*?)\x1B]8;;(?:\u001b\\|\u0007)/g; | ||
const LINK_RE = /\u001b\]8;[^;]*?;(.*?)(?:\u001b\\|\u0007)(.*?)\u001b]8;[^;]*?;(?:\u001b\\|\u0007)/g; | ||
// turn ANSI encoded links to HTML hyperlinks | ||
@@ -3,0 +3,0 @@ export const hyperlink = (s) => { |
{ | ||
"name": "ansi-to-pre", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "convert string with ANSI color codes into a styled html pre tag", | ||
@@ -5,0 +5,0 @@ "author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
294077