ansi-to-react
Advanced tools
Comparing version 4.0.4-alpha.0 to 4.0.4
@@ -0,3 +1,3 @@ | ||
import { shallow } from "enzyme"; | ||
import * as React from "react"; | ||
import { shallow } from "enzyme"; | ||
@@ -4,0 +4,0 @@ import Ansi from "../src/index"; |
import * as React from "react"; | ||
declare type Props = { | ||
declare interface Props { | ||
children: string; | ||
className?: string; | ||
linkify: boolean; | ||
}; | ||
} | ||
export default function Ansi(props: Props): React.DetailedReactHTMLElement<{ | ||
@@ -8,0 +8,0 @@ className: string | undefined; |
{ | ||
"name": "ansi-to-react", | ||
"version": "4.0.4-alpha.0", | ||
"version": "4.0.4", | ||
"description": "ANSI to React Elements", | ||
@@ -18,3 +18,3 @@ "main": "lib/index.js", | ||
"author": "Kyle Kelley <rgbkrk@gmail.com>", | ||
"license": "MPL-2.0", | ||
"license": "BSD-3-Clause", | ||
"dependencies": { | ||
@@ -27,4 +27,3 @@ "anser": "^1.4.1", | ||
"react-dom": "^16.3.2" | ||
}, | ||
"gitHead": "683bdfa1a29472a8947f60457e3ddbdfdfbb328b" | ||
} | ||
} |
@@ -0,4 +1,4 @@ | ||
import { AnserJsonEntry, ansiToJson } from "anser"; | ||
import { escapeCarriageReturn } from "escape-carriage"; | ||
import * as React from "react"; | ||
import { ansiToJson, AnserJsonEntry } from "anser"; | ||
import { escapeCarriageReturn } from "escape-carriage"; | ||
@@ -75,7 +75,7 @@ const LINK_REGEX = /(https?:\/\/(?:www\.|(?!www))[^\s\.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/; | ||
declare type Props = { | ||
declare interface Props { | ||
children: string; | ||
className?: string; | ||
linkify: boolean; | ||
}; | ||
} | ||
@@ -82,0 +82,0 @@ export default function Ansi(props: Props) { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
0
100
1
9661
1