New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ansi-to-react

Package Overview
Dependencies
Maintainers
4
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 1.2.0 to 1.3.0

3

lib/index.js

@@ -8,2 +8,3 @@ 'use strict';

var React = require('react');
var PropTypes = require('prop-types');
var Anser = require('anser');

@@ -75,3 +76,3 @@ var escapeCarriageReturn = require('escape-carriage');

Ansi.propTypes = {
children: React.PropTypes.string
children: PropTypes.string
};

@@ -78,0 +79,0 @@

{
"name": "ansi-to-react",
"version": "1.2.0",
"version": "1.3.0",
"description": "ANSI to React Elements",

@@ -37,3 +37,4 @@ "main": "lib/index.js",

"peerDependencies": {
"react": "^0.14.0 || ^15.0.0-0"
"prop-types": "^15.5.9",
"react": "^15.0.0-0"
},

@@ -40,0 +41,0 @@ "devDependencies": {

const React = require('react');
const PropTypes = require('prop-types');
const Anser = require('anser');

@@ -74,3 +75,3 @@ const escapeCarriageReturn = require('escape-carriage');

{},
props.linkify
props.linkify
? ansiToInlineStyle(props.children)

@@ -84,5 +85,5 @@ .map(linkifyBundle)

Ansi.propTypes = {
children: React.PropTypes.string,
children: PropTypes.string,
};
module.exports = Ansi;

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