@jupyterlab/inspector
Advanced tools
Comparing version 0.7.0 to 0.8.0
@@ -168,5 +168,12 @@ "use strict"; | ||
var data = value.data; | ||
var trusted = true; | ||
var model = new rendermime_1.MimeModel({ data: data, trusted: trusted }); | ||
update.content = _this._rendermime.render(model); | ||
var mimeType = _this._rendermime.preferredMimeType(data, true); | ||
if (mimeType) { | ||
var widget = _this._rendermime.createRenderer(mimeType); | ||
var model = new rendermime_1.MimeModel({ data: data }); | ||
widget.renderModel(model); | ||
update.content = widget; | ||
} | ||
else { | ||
update.content = null; | ||
} | ||
_this._inspected.emit(update); | ||
@@ -173,0 +180,0 @@ }); |
{ | ||
"name": "@jupyterlab/inspector", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"description": "JupyterLab - Code Inspector", | ||
@@ -16,8 +16,8 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@jupyterlab/apputils": "^0.7.0", | ||
"@jupyterlab/codeeditor": "^0.7.0", | ||
"@jupyterlab/coreutils": "^0.7.0", | ||
"@jupyterlab/rendermime": "^0.7.0", | ||
"@jupyterlab/services": "^0.46.0", | ||
"@phosphor/coreutils": "^1.1.1", | ||
"@jupyterlab/apputils": "^0.8.0", | ||
"@jupyterlab/codeeditor": "^0.8.0", | ||
"@jupyterlab/coreutils": "^0.8.0", | ||
"@jupyterlab/rendermime": "^0.8.0", | ||
"@jupyterlab/services": "^0.47.0", | ||
"@phosphor/coreutils": "^1.2.0", | ||
"@phosphor/disposable": "^1.1.1", | ||
@@ -30,3 +30,3 @@ "@phosphor/messaging": "^1.2.1", | ||
"rimraf": "^2.5.2", | ||
"typescript": "^2.2.1" | ||
"typescript": "~2.3.1" | ||
}, | ||
@@ -33,0 +33,0 @@ "scripts": { |
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
29427
888
+ Added@jupyterlab/apputils@0.8.2(transitive)
+ Added@jupyterlab/codeeditor@0.8.1(transitive)
+ Added@jupyterlab/codemirror@0.8.1(transitive)
+ Added@jupyterlab/coreutils@0.8.1(transitive)
+ Added@jupyterlab/rendermime@0.8.2(transitive)
+ Added@jupyterlab/rendermime-interfaces@0.2.1(transitive)
+ Added@jupyterlab/services@0.47.1(transitive)
+ Addedajv@5.5.2(transitive)
+ Addedco@4.6.0(transitive)
+ Addedfast-deep-equal@1.1.0(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedjson-schema-traverse@0.3.1(transitive)
- Removed@jupyterlab/apputils@0.7.0(transitive)
- Removed@jupyterlab/codeeditor@0.7.0(transitive)
- Removed@jupyterlab/codemirror@0.7.0(transitive)
- Removed@jupyterlab/coreutils@0.7.1(transitive)
- Removed@jupyterlab/rendermime@0.7.0(transitive)
- Removed@jupyterlab/services@0.46.0(transitive)
Updated@jupyterlab/apputils@^0.8.0
Updated@jupyterlab/coreutils@^0.8.0
Updated@jupyterlab/services@^0.47.0
Updated@phosphor/coreutils@^1.2.0