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

ink-highlight

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ink-highlight - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

4

lib/components/Highlight.d.ts

@@ -6,3 +6,3 @@ import { FC } from 'react';

};
declare const Highlight: FC<Props>;
export default Highlight;
export declare const Highlight: FC<Props>;
export {};

@@ -1,1 +0,1 @@

"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var r=e(require("react")),t=e(require("prop-types")),i=require("ink"),u=require("cli-highlight");const n=({code:e,language:t})=>{const n=u.highlight(e,{language:t});return r.createElement(i.Box,null,n)};n.propTypes={code:t.string.isRequired,language:t.string},n.defaultProps={language:void 0};
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(require("react")),t=e(require("prop-types")),i=require("ink"),u=require("cli-highlight");const n=({code:e,language:t})=>{const n=u.highlight(e,{language:t});return r.createElement(i.Box,null,n)};n.propTypes={code:t.string.isRequired,language:t.string},n.defaultProps={language:void 0},exports.Highlight=n;
{
"name": "ink-highlight",
"version": "0.0.1",
"version": "0.0.2",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "types": "lib/index.d.ts",

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