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.2.0 to 3.2.1

31

lib/index.js

@@ -21,8 +21,2 @@ "use strict";

(function () {
var enterModule = require('react-hot-loader').enterModule;
enterModule && enterModule(module);
})();
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

@@ -92,25 +86,2 @@

var _default = Ansi;
exports.default = _default;
;
(function () {
var reactHotLoader = require('react-hot-loader').default;
var leaveModule = require('react-hot-loader').leaveModule;
if (!reactHotLoader) {
return;
}
reactHotLoader.register(ansiToJSON, "ansiToJSON", "src/index.js");
reactHotLoader.register(ansiJSONtoStyleBundle, "ansiJSONtoStyleBundle", "src/index.js");
reactHotLoader.register(ansiToInlineStyle, "ansiToInlineStyle", "src/index.js");
reactHotLoader.register(linkifyBundle, "linkifyBundle", "src/index.js");
reactHotLoader.register(inlineBundleToReact, "inlineBundleToReact", "src/index.js");
reactHotLoader.register(Ansi, "Ansi", "src/index.js");
reactHotLoader.register(_default, "default", "src/index.js");
leaveModule(module);
})();
;
exports.default = Ansi;

3

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

@@ -26,2 +26,3 @@ "main": "lib/index.js",

"anser": "^1.4.1",
"babel-runtime": "^6.26.0",
"escape-carriage": "^1.2.0"

@@ -28,0 +29,0 @@ },

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