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

ansi-to-pre

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ansi-to-pre - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

dist/commonjs/hyperlink.js
"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

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