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

@youyouzone/react-code-highlight

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@youyouzone/react-code-highlight - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

5

package.json
{
"name": "@youyouzone/react-code-highlight",
"version": "0.0.5",
"version": "0.0.6",
"main": "lib/index.js",

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

"peerDependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1"
"react": "^16.13.1"
},
"homepage": "https://github.com/Eric-Schecter/react-code-highlight"
}

6

README.md

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

<p align="center">
<img src="./screenshot/profile.gif" alt=''>
</p>
# React-Code-Highlight

@@ -27,3 +23,3 @@ React component for code highlight base on hightlight.js.

* language?: string - highlight langeuage, powered by highlight.js. Default is 'javascript'.
* debounceTime?: number - debounce time of input change to invoke callback function. Default is 666.
* debounceTime?: number - debounce time of input change to invoke callback function. Default is 666 ms.

@@ -30,0 +26,0 @@ ## License

@@ -10,2 +10,3 @@ {

"module": "ESNext",
"allowJs": true,
"moduleResolution": "node",

@@ -12,0 +13,0 @@ "esModuleInterop": true,

@@ -37,10 +37,4 @@ const path = require('path');

amd: 'react'
},
'react-dom': {
root: 'ReactDOM',
commonjs2: 'react-dom',
commonjs: 'react-dom',
amd: 'react-dom'
},
}
}
}

Sorry, the diff of this file is too big to display

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