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

@jupyterlab/apputils

Package Overview
Dependencies
Maintainers
7
Versions
385
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/apputils - npm Package Compare versions

Comparing version 0.10.0 to 0.11.0

lib/spinner.d.ts

1

lib/clientsession.js

@@ -897,1 +897,2 @@ "use strict";

})(Private || (Private = {}));
//# sourceMappingURL=clientsession.js.map

@@ -90,1 +90,2 @@ "use strict";

})(Private || (Private = {}));
//# sourceMappingURL=clipboard.js.map

@@ -179,1 +179,2 @@ "use strict";

exports.CommandLinker = CommandLinker;
//# sourceMappingURL=commandlinker.js.map

3

lib/commandpalette.js

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

*/
exports.ICommandPalette = new coreutils_1.Token('jupyter.services.commandpalette');
exports.ICommandPalette = new coreutils_1.Token('@jupyterlab/apputils:ICommandPalette');
//# sourceMappingURL=commandpalette.js.map

@@ -13,2 +13,11 @@ import { Message } from '@phosphor/messaging';

/**
* Show an error message dialog.
*
* @param title - The title of the dialog box.
*
* @param error - the error to show in the dialog body (either a string
* or an object with a string `message` property).
*/
export declare function showErrorMessage(title: string, error: any): Promise<void>;
/**
* A modal dialog widget.

@@ -15,0 +24,0 @@ */

@@ -34,2 +34,21 @@ "use strict";

/**
* Show an error message dialog.
*
* @param title - The title of the dialog box.
*
* @param error - the error to show in the dialog body (either a string
* or an object with a string `message` property).
*/
function showErrorMessage(title, error) {
console.error(error);
var options = {
title: title,
body: error.message || title,
buttons: [Dialog.okButton()],
okText: 'DISMISS'
};
return showDialog(options).then(function () { });
}
exports.showErrorMessage = showErrorMessage;
/**
* A modal dialog widget.

@@ -534,1 +553,2 @@ */

})(Private || (Private = {}));
//# sourceMappingURL=dialog.js.map

@@ -29,1 +29,2 @@ "use strict";

})(DOMUtils = exports.DOMUtils || (exports.DOMUtils = {}));
//# sourceMappingURL=domutils.js.map

@@ -102,1 +102,2 @@ "use strict";

})(HoverBox = exports.HoverBox || (exports.HoverBox = {}));
//# sourceMappingURL=hoverbox.js.map

@@ -63,1 +63,2 @@ "use strict";

})(Private || (Private = {}));
//# sourceMappingURL=iframe.js.map

@@ -13,2 +13,3 @@ import '../style/index.css';

export * from './sanitizer';
export * from './spinner';
export * from './splash';

@@ -15,0 +16,0 @@ export * from './styling';

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

__export(require("./sanitizer"));
__export(require("./spinner"));
__export(require("./splash"));

@@ -26,1 +27,2 @@ __export(require("./styling"));

__export(require("./vdom"));
//# sourceMappingURL=index.js.map

@@ -330,1 +330,2 @@ "use strict";

})(Private || (Private = {}));
//# sourceMappingURL=instancetracker.js.map

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

*/
exports.IMainMenu = new coreutils_1.Token('jupyter.services.main-menu');
exports.IMainMenu = new coreutils_1.Token('@jupyterlab/apputils:IMainMenu');
/**

@@ -76,1 +76,2 @@ * The main menu class. It is intended to be used as a singleton.

})(Private || (Private = {}));
//# sourceMappingURL=mainmenu.js.map

@@ -47,1 +47,2 @@ "use strict";

exports.defaultSanitizer = new Sanitizer();
//# sourceMappingURL=sanitizer.js.map

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

*/
exports.ISplashScreen = new coreutils_1.Token('jupyter.services.splash-screen');
exports.ISplashScreen = new coreutils_1.Token('@jupyterlab/apputils:ISplashScreen');
//# sourceMappingURL=splash.js.map

@@ -95,1 +95,2 @@ "use strict";

})(Private || (Private = {}));
//# sourceMappingURL=styling.js.map

@@ -91,2 +91,6 @@ import { ISettingRegistry } from '@jupyterlab/coreutils';

/**
* The setting registry key that holds theme setting data.
*/
key: string;
/**
* The settings registry.

@@ -93,0 +97,0 @@ */

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

*/
exports.IThemeManager = new coreutils_2.Token('jupyter.services.theme-manager');
exports.IThemeManager = new coreutils_2.Token('@jupyterlab/apputils:IThemeManager');
/**

@@ -30,10 +30,9 @@ * A class that provides theme management.

this._sealed = false;
var key = options.key, when = options.when;
var registry = options.settingRegistry;
var promises = Promise.all([registry.load(key), when]);
when.then(function () { _this._sealed = true; });
this._baseUrl = options.baseUrl;
var registry = options.settingRegistry;
this._host = options.host;
var id = 'jupyter.services.theme-manager';
options.when.then(function () {
_this._sealed = true;
});
this.ready = Promise.all([registry.load(id), options.when]).then(function (_a) {
this.ready = promises.then(function (_a) {
var settings = _a[0];

@@ -70,5 +69,3 @@ _this._settings = settings;

var _this = this;
return this.ready.then(function () {
_this._settings.set('theme', name);
});
return this.ready.then(function () { return _this._settings.set('theme', name); });
};

@@ -92,5 +89,3 @@ /**

this._themes[name] = theme;
return new disposable_1.DisposableDelegate(function () {
delete _this._themes[name];
});
return new disposable_1.DisposableDelegate(function () { delete _this._themes[name]; });
};

@@ -104,13 +99,11 @@ /**

var link = document.createElement('link');
var baseUrl = coreutils_1.PageConfig.getOption('themePath');
var delegate = new coreutils_2.PromiseDelegate();
link.rel = 'stylesheet';
link.type = 'text/css';
var baseUrl = coreutils_1.PageConfig.getOption('themePath');
link.href = coreutils_1.URLExt.join(baseUrl, path);
var promise = new coreutils_2.PromiseDelegate();
link.onload = function () {
promise.resolve(void 0);
};
link.onload = function () { delegate.resolve(void 0); };
document.body.appendChild(link);
this._links.push(link);
return promise.promise;
return delegate.promise;
};

@@ -145,3 +138,3 @@ /**

}
console.warn("Could not find theme \"" + old + "\", loading default theme \"" + theme + "\"");
console.warn("Could not find theme \"" + old + "\", loading default \"" + theme + "\"");
}

@@ -206,1 +199,2 @@ this._pendingTheme = theme;

})(Private || (Private = {}));
//# sourceMappingURL=thememanager.js.map

@@ -494,1 +494,2 @@ "use strict";

})(Private || (Private = {}));
//# sourceMappingURL=toolbar.js.map

@@ -126,1 +126,2 @@ "use strict";

exports.VDomModel = VDomModel;
//# sourceMappingURL=vdom.js.map
{
"name": "@jupyterlab/apputils",
"version": "0.10.0",
"version": "0.11.0",
"description": "JupyterLab - Application Utilities",

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

"dependencies": {
"@jupyterlab/coreutils": "^0.10.0",
"@jupyterlab/services": "^0.49.0",
"@jupyterlab/coreutils": "^0.11.0",
"@jupyterlab/services": "^0.50.0",
"@phosphor/algorithm": "^1.1.1",

@@ -29,7 +29,7 @@ "@phosphor/commands": "^1.3.0",

"@phosphor/widgets": "^1.3.0",
"sanitize-html": "^1.14.1"
"sanitize-html": "~1.14.1"
},
"devDependencies": {
"@types/sanitize-html": "^1.13.31",
"rimraf": "^2.5.2",
"@types/sanitize-html": "^1.13.31",
"typescript": "~2.4.1"

@@ -36,0 +36,0 @@ },

Sorry, the diff of this file is not supported yet

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