Socket
Socket
Sign inDemoInstall

@jupyterlab/rendermime-interfaces

Package Overview
Dependencies
Maintainers
14
Versions
331
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/rendermime-interfaces - npm Package Compare versions

Comparing version 1.1.7 to 1.2.1-alpha.0

LICENSE

17

lib/index.d.ts

@@ -52,2 +52,9 @@ import { ReadonlyJSONObject } from '@phosphor/coreutils';

/**
* A toolbar item.
*/
interface IToolbarItem {
name: string;
widget: Widget;
}
/**
* The options used to initialize a document widget factory.

@@ -85,2 +92,6 @@ *

readonly defaultRendered?: ReadonlyArray<string>;
/**
* A function returning a list of toolbar items to add to the toolbar.
*/
readonly toolbarFactory?: (widget: IRenderer) => IToolbarItem[];
}

@@ -275,9 +286,9 @@ /**

/**
* Resolve a relative url to a correct server path.
* Resolve a relative url to an absolute url path.
*/
resolveUrl(url: string): Promise<string>;
/**
* Get the download url of a given absolute server path.
* Get the download url for a given absolute url path.
*/
getDownloadUrl(path: string): Promise<string>;
getDownloadUrl(url: string): Promise<string>;
/**

@@ -284,0 +295,0 @@ * Whether the URL should be handled by the resolver

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

13

package.json
{
"name": "@jupyterlab/rendermime-interfaces",
"version": "1.1.7",
"version": "1.2.1-alpha.0",
"description": "JupyterLab - Interfaces for Mime Renderers",

@@ -26,6 +26,7 @@ "homepage": "https://github.com/jupyterlab/jupyterlab",

"scripts": {
"build": "tsc",
"build": "tsc -b src",
"clean": "rimraf lib",
"docs": "typedoc --options tdoptions.json --theme ../../typedoc-theme src",
"prepublishOnly": "npm run build",
"watch": "tsc -w --listEmittedFiles"
"watch": "tsc -b src --watch"
},

@@ -38,4 +39,6 @@ "dependencies": {

"rimraf": "~2.6.2",
"typescript": "~2.9.2"
}
"typedoc": "~0.12.0",
"typescript": "~3.1.1"
},
"gitHead": "9d6193d318872a4a3600ee96fe6f3996312ffe07"
}
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