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

react-live

Package Overview
Dependencies
Maintainers
4
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-live - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

6

package.json
{
"name": "react-live",
"version": "2.2.1",
"version": "2.2.2",
"description": "A production-focused playground for live editing React code",

@@ -26,6 +26,6 @@ "main": "dist/react-live.cjs.js",

"dom-iterator": "^1.0.0",
"prism-react-renderer": "^0.1.0",
"prism-react-renderer": "^1.0.1",
"prop-types": "^15.5.8",
"react-simple-code-editor": "^0.10.0",
"unescape": "^0.2.0"
"unescape": "^1.0.1"
},

@@ -32,0 +32,0 @@ "devDependencies": {

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

import { ComponentClass, StatelessComponent, HTMLProps, ComponentType } from 'react'
import { ComponentClass, StatelessComponent, HTMLProps, ComponentType, Context } from 'react'
import { PrismTheme, Language } from 'prism-react-renderer';

@@ -35,2 +35,13 @@

// Context
export interface ContextProps {
code?: string;
language?: Language;
theme: PrismTheme;
disabled?: boolean;
error?: string;
}
export const LiveContext: Context<ContextProps>;
// LiveEditor

@@ -37,0 +48,0 @@ export type LiveEditorProps = EditorProps;

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