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

@jupyterlab/notebook

Package Overview
Dependencies
Maintainers
6
Versions
395
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/notebook - npm Package Compare versions

Comparing version 0.8.4 to 0.9.0

9

lib/actions.js

@@ -9,4 +9,5 @@ "use strict";

var domutils_1 = require("@phosphor/domutils");
var virtualdom_1 = require("@phosphor/virtualdom");
// The message to display to the user when prompting to trust the notebook.
var TRUST_MESSAGE = '<p>A trusted Jupyter notebook may execute hidden malicious code when you open it.<br>Selecting trust will re-render this notebook in a trusted state.<br>For more information, see the <a href="http://ipython.org/ipython-doc/2/notebook/security.html">Jupyter security documentation</a>.</p>';
var TRUST_MESSAGE = virtualdom_1.h.p('A trusted Jupyter notebook may execute hidden malicious code when you ', 'open it.', virtualdom_1.h.br(), 'Selecting trust will re-render this notebook in a trusted state.', virtualdom_1.h.br(), 'For more information, see the', virtualdom_1.h.a({ href: 'http://ipython.org/ipython-doc/2/notebook/security.html' }, 'Jupyter security documentation'));
/**

@@ -942,10 +943,8 @@ * The mimetype used for Jupyter cell data.

}
var body = document.createElement('div');
body.innerHTML = TRUST_MESSAGE;
return apputils_1.showDialog({
body: body,
body: TRUST_MESSAGE,
title: 'Trust this notebook?',
buttons: [apputils_1.Dialog.cancelButton(), apputils_1.Dialog.warnButton()]
}).then(function (result) {
if (result.accept) {
if (result.button.accept) {
for (var i = 0; i < cells.length; i++) {

@@ -952,0 +951,0 @@ var cell = cells.get(i);

@@ -14,2 +14,10 @@ "use strict";

})();
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -24,2 +32,3 @@ var algorithm_1 = require("@phosphor/algorithm");

var cells_1 = require("@jupyterlab/cells");
var codeeditor_1 = require("@jupyterlab/codeeditor");
/**

@@ -859,5 +868,3 @@ * The class name added to notebook widgets.

cell.editor.uuid = localCollaborator.sessionId;
cell.editor.selectionStyle = {
color: localCollaborator.color
};
cell.editor.selectionStyle = __assign({}, codeeditor_1.CodeEditor.defaultSelectionStyle, { color: localCollaborator.color });
}

@@ -864,0 +871,0 @@ });

{
"name": "@jupyterlab/notebook",
"version": "0.8.4",
"version": "0.9.0",
"description": "JupyterLab - Notebook",

@@ -16,10 +16,10 @@ "main": "lib/index.js",

"dependencies": {
"@jupyterlab/apputils": "^0.8.2",
"@jupyterlab/cells": "^0.8.2",
"@jupyterlab/codeeditor": "^0.8.1",
"@jupyterlab/coreutils": "^0.8.1",
"@jupyterlab/docregistry": "^0.8.2",
"@jupyterlab/outputarea": "^0.8.2",
"@jupyterlab/rendermime": "^0.8.2",
"@jupyterlab/services": "^0.47.1",
"@jupyterlab/apputils": "^0.9.0",
"@jupyterlab/cells": "^0.9.0",
"@jupyterlab/codeeditor": "^0.9.0",
"@jupyterlab/coreutils": "^0.9.0",
"@jupyterlab/docregistry": "^0.9.0",
"@jupyterlab/outputarea": "^0.9.0",
"@jupyterlab/rendermime": "^0.9.0",
"@jupyterlab/services": "^0.48.0",
"@phosphor/algorithm": "^1.1.1",

@@ -26,0 +26,0 @@ "@phosphor/coreutils": "^1.2.0",

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