@jupyterlab/rendermime
Advanced tools
Comparing version 3.6.0 to 3.6.1
@@ -133,4 +133,4 @@ /* ----------------------------------------------------------------------------- | ||
// Clone the internal state. | ||
clone._factories = { ...this._factories }; | ||
clone._ranks = { ...this._ranks }; | ||
clone._factories = Object.assign({}, this._factories); | ||
clone._ranks = Object.assign({}, this._ranks); | ||
clone._id = this._id; | ||
@@ -137,0 +137,0 @@ // Return the cloned object. |
@@ -5,2 +5,13 @@ /* ----------------------------------------------------------------------------- | ||
|----------------------------------------------------------------------------*/ | ||
var __rest = (this && this.__rest) || function (s, e) { | ||
var t = {}; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) | ||
t[p] = s[p]; | ||
if (s != null && typeof Object.getOwnPropertySymbols === "function") | ||
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { | ||
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) | ||
t[p[i]] = s[p[i]]; | ||
} | ||
return t; | ||
}; | ||
import { CodeMirrorEditor, Mode } from '@jupyterlab/codemirror'; | ||
@@ -146,3 +157,3 @@ import { URLExt } from '@jupyterlab/coreutils'; | ||
// Unpack the options. | ||
const { host, source, ...others } = options; | ||
const { host, source } = options, others = __rest(options, ["host", "source"]); | ||
// Clear the content if there is no source. | ||
@@ -160,7 +171,3 @@ if (!source) { | ||
// Render HTML. | ||
await renderHTML({ | ||
host, | ||
source: html, | ||
...others | ||
}); | ||
await renderHTML(Object.assign({ host, source: html }, others)); | ||
// Apply ids to the header nodes. | ||
@@ -167,0 +174,0 @@ Private.headerAnchors(host); |
{ | ||
"name": "@jupyterlab/rendermime", | ||
"version": "3.6.0", | ||
"version": "3.6.1", | ||
"description": "JupyterLab - RenderMime", | ||
@@ -44,10 +44,10 @@ "homepage": "https://github.com/jupyterlab/jupyterlab", | ||
"dependencies": { | ||
"@jupyterlab/apputils": "^3.6.0", | ||
"@jupyterlab/codemirror": "^3.6.0", | ||
"@jupyterlab/coreutils": "^5.6.0", | ||
"@jupyterlab/nbformat": "^3.6.0", | ||
"@jupyterlab/observables": "^4.6.0", | ||
"@jupyterlab/rendermime-interfaces": "^3.6.0", | ||
"@jupyterlab/services": "^6.6.0", | ||
"@jupyterlab/translation": "^3.6.0", | ||
"@jupyterlab/apputils": "^3.6.1", | ||
"@jupyterlab/codemirror": "^3.6.1", | ||
"@jupyterlab/coreutils": "^5.6.1", | ||
"@jupyterlab/nbformat": "^3.6.1", | ||
"@jupyterlab/observables": "^4.6.1", | ||
"@jupyterlab/rendermime-interfaces": "^3.6.1", | ||
"@jupyterlab/services": "^6.6.1", | ||
"@jupyterlab/translation": "^3.6.1", | ||
"@lumino/algorithm": "^1.9.0", | ||
@@ -62,4 +62,4 @@ "@lumino/coreutils": "^1.11.0", | ||
"devDependencies": { | ||
"@jupyterlab/mathjax2": "^3.6.0", | ||
"@jupyterlab/testutils": "^3.6.0", | ||
"@jupyterlab/mathjax2": "^3.6.1", | ||
"@jupyterlab/testutils": "^3.6.1", | ||
"@types/jest": "^26.0.10", | ||
@@ -66,0 +66,0 @@ "@types/lodash.escape": "^4.0.6", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
190369
4178