New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jupyter-display-area

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jupyter-display-area - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

dist/jupyter-display-area.html

8

package.json
{
"name": "jupyter-display-area",
"version": "0.0.1",
"version": "0.0.2",
"description": "Web component for Jupyter kernel rich output/display",

@@ -19,4 +19,5 @@ "main": "dist/jupyter-display-area.js",

"clean": "rimraf dist/* lib/*",
"open:dev": "opener http://localhost:9090",
"dev": "npm run open:dev -s & parallelshell 'npm run serve -s' 'npm run watch -s'"
"live-reload": "live-reload --port 9091 dist/ demo/",
"open:dev": "opener http://localhost:9090/demo/",
"dev": "npm run open:dev -s & parallelshell 'npm run live-reload -s' 'npm run serve -s' 'npm run watch -s'"
},

@@ -45,4 +46,5 @@ "repository": {

"dependencies": {
"ansi-to-html": "^0.3.0",
"transformime": "0.0.2"
}
}

@@ -5,14 +5,6 @@ # jupyter-display-area

## Build
## Installation
```bash
npm install
```
Resulting web component is in `dist/jupyter-display-area.html`.
## Run the current demo
```bash
npm run serve
npm install jupyter-display-area
```

@@ -44,1 +36,27 @@

```
## Build
```bash
npm run build
```
### Browserified build
* `dist/jupyter-display-area.html` - Web Component with fully inlined scripts
* `dist/jupyter-display-area.local.html` - Web Component with separate script
* `dist/jupyter-display-area.js` - Script to pair with jupyter-display-area.local.html
### ES5 build and direct `src`
The transpiled ES5 javascript ends up in `lib/` while the original ES6 sources
are in `src/`. These are intended for use in Electron/Atom, though you may want
to just use the browserified/bundled web component. Your choice!
## Dev
Run npm run dev to do automated watch, build, serve, and live-reload.
```bash
npm run serve
```
import {Transformime} from "transformime";
import {TracebackRenderer} from "./traceback-renderer";

@@ -30,2 +31,4 @@ (function() {

this.transformime.renderers.push(new TracebackRenderer());
// 'Private'

@@ -91,3 +94,3 @@ this._outputs = [];

case 'execute_input':
// Explicit ignore of status changes
// Explicit ignore of status changes and input
return;

@@ -151,3 +154,3 @@ default:

case 'error':
bundle = this.createErrorBundle(json);
bundle = {'jupyter/traceback': json};
break;

@@ -154,0 +157,0 @@ default:

Sorry, the diff of this file is not supported yet

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