New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@jupyterlab/coreutils

Package Overview
Dependencies
Maintainers
16
Versions
367
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/coreutils - npm Package Compare versions

Comparing version 3.0.0-alpha.8 to 3.0.0-alpha.9

13

lib/pageconfig.d.ts

@@ -6,11 +6,2 @@ /**

/**
* The tree URL construction options.
*/
interface ITreeOptions {
/**
* If provided, the tree URL will include the current workspace, if any.
*/
workspace?: string;
}
/**
* Get global configuration data for the Jupyter application.

@@ -49,6 +40,4 @@ *

* Get the tree url for a JupyterLab application.
*
* @param options - The tree URL construction options.
*/
function getTreeUrl(options?: ITreeOptions): string;
function getTreeUrl(): string;
/**

@@ -55,0 +44,0 @@ * Get the base websocket url for a Jupyter application, or an empty string.

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

const minimist_1 = __importDefault(require("minimist"));
const path_1 = require("./path");
const url_1 = require("./url");

@@ -110,14 +109,5 @@ /**

* Get the tree url for a JupyterLab application.
*
* @param options - The tree URL construction options.
*/
function getTreeUrl(options = {}) {
const base = getBaseUrl();
const tree = getOption('treeUrl');
const defaultWorkspace = getOption('defaultWorkspace');
const workspaces = getOption('workspacesUrl');
const workspace = options.workspace || '';
return workspace && workspace !== defaultWorkspace
? url_1.URLExt.join(base, workspaces, path_1.PathExt.basename(workspace), 'tree')
: url_1.URLExt.join(base, tree);
function getTreeUrl() {
return url_1.URLExt.join(getBaseUrl(), getOption('treeUrl'));
}

@@ -124,0 +114,0 @@ PageConfig.getTreeUrl = getTreeUrl;

6

package.json
{
"name": "@jupyterlab/coreutils",
"version": "3.0.0-alpha.8",
"version": "3.0.0-alpha.9",
"description": "JupyterLab - Core Utilities",

@@ -49,3 +49,3 @@ "homepage": "https://github.com/jupyterlab/jupyterlab",

"typedoc": "^0.14.2",
"typescript": "~3.4.3"
"typescript": "~3.5.1"
},

@@ -58,3 +58,3 @@ "publishConfig": {

},
"gitHead": "ac27c477b689240fe0e3e11ff2e3b4984687a899"
"gitHead": "3ae93547a9b04453f82bbd883931ac1866f2a08b"
}
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