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

ansi-to-react

Package Overview
Dependencies
Maintainers
12
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ansi-to-react - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

2

lib/index.js

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

exports.ansiToInlineStyle = ansiToInlineStyle;
var _react = require("react");

@@ -11,0 +13,0 @@

2

package.json
{
"name": "ansi-to-react",
"version": "3.1.0",
"version": "3.2.0",
"description": "ANSI to React Elements",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -38,3 +38,3 @@ /* @flow */

function ansiToInlineStyle(text) {
export function ansiToInlineStyle(text: string) {
return ansiToJSON(text).map(ansiJSONtoStyleBundle);

@@ -83,3 +83,3 @@ }

type Props = {
children: React.Node,
children: string,
className?: string,

@@ -86,0 +86,0 @@ linkify?: boolean

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