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

@jupyterlab/tooltip

Package Overview
Dependencies
Maintainers
5
Versions
384
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/tooltip - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

4

lib/index.d.ts

@@ -5,3 +5,3 @@ import { Kernel } from '@jupyterlab/services';

import { CodeEditor } from '@jupyterlab/codeeditor';
import { IRenderMime } from '@jupyterlab/rendermime';
import { RenderMime } from '@jupyterlab/rendermime';
import '../style/index.css';

@@ -45,4 +45,4 @@ export * from './widget';

*/
readonly rendermime: IRenderMime;
readonly rendermime: RenderMime;
}
}

@@ -5,3 +5,3 @@ import { JSONObject } from '@phosphor/coreutils';

import { CodeEditor } from '@jupyterlab/codeeditor';
import { IRenderMime } from '@jupyterlab/rendermime';
import { RenderMime } from '@jupyterlab/rendermime';
/**

@@ -85,4 +85,4 @@ * A tooltip widget.

*/
rendermime: IRenderMime;
rendermime: RenderMime;
}
}

@@ -50,3 +50,3 @@ "use strict";

_this._content = null;
_this.layout = new widgets_1.PanelLayout();
var layout = _this.layout = new widgets_1.PanelLayout();
_this.anchor = options.anchor;

@@ -58,9 +58,11 @@ _this.addClass(TOOLTIP_CLASS);

var model = new rendermime_1.MimeModel({
data: options.bundle,
trusted: true
data: options.bundle
});
_this._content = _this._rendermime.render(model);
if (_this._content) {
_this.layout.addWidget(_this._content);
var mimeType = _this._rendermime.preferredMimeType(options.bundle, false);
if (!mimeType) {
return _this;
}
_this._content = _this._rendermime.createRenderer(mimeType);
_this._content.renderModel(model);
layout.addWidget(_this._content);
return _this;

@@ -67,0 +69,0 @@ }

{
"name": "@jupyterlab/tooltip",
"version": "0.7.0",
"version": "0.8.0",
"description": "JupyterLab - Tooltip Widget",

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

"dependencies": {
"@jupyterlab/apputils": "^0.7.0",
"@jupyterlab/codeeditor": "^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/rendermime": "^0.8.0",
"@jupyterlab/services": "^0.47.0",
"@phosphor/coreutils": "^1.2.0",
"@phosphor/messaging": "^1.2.1",

@@ -27,3 +27,3 @@ "@phosphor/widgets": "^1.3.0"

"rimraf": "^2.5.2",
"typescript": "^2.2.1"
"typescript": "~2.3.1"
},

@@ -30,0 +30,0 @@ "scripts": {

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