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

@jupyterlab/services

Package Overview
Dependencies
Maintainers
3
Versions
392
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/services - npm Package Compare versions

Comparing version 0.35.1 to 0.36.0

7

lib/contents/index.d.ts

@@ -164,5 +164,6 @@ import { JSONObject } from 'phosphor/lib/algorithm/json';

*
* @param path - An absolute POSIX file path on the server.
* @param A promise which resolves with the absolute POSIX
* file path on the server.
*/
getDownloadUrl(path: string): string;
getDownloadUrl(path: string): Promise<string>;
/**

@@ -319,3 +320,3 @@ * Create a new untitled file or directory in the specified directory path.

*/
getDownloadUrl(path: string): string;
getDownloadUrl(path: string): Promise<string>;
/**

@@ -322,0 +323,0 @@ * Create a new untitled file or directory in the specified directory path.

@@ -131,3 +131,3 @@ // Copyright (c) Jupyter Development Team.

ContentsManager.prototype.getDownloadUrl = function (path) {
return utils.urlPathJoin(this._baseUrl, FILES_URL, utils.urlEncodeParts(path));
return Promise.resolve(utils.urlPathJoin(this._baseUrl, FILES_URL, utils.urlEncodeParts(path)));
};

@@ -134,0 +134,0 @@ /**

{
"name": "@jupyterlab/services",
"version": "0.35.1",
"version": "0.36.0",
"description": "Client APIs for the Jupyter services REST APIs",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is too big to display

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