@jupyterlab/services
Advanced tools
Comparing version 0.51.0 to 0.52.0
@@ -14,3 +14,3 @@ "use strict"; | ||
*/ | ||
var BuildManager = (function () { | ||
var BuildManager = /** @class */ (function () { | ||
/** | ||
@@ -109,2 +109,1 @@ * Create a new setting manager. | ||
exports.BuildManager = BuildManager; | ||
//# sourceMappingURL=index.js.map |
@@ -40,3 +40,3 @@ "use strict"; | ||
*/ | ||
var DefaultConfigSection = (function () { | ||
var DefaultConfigSection = /** @class */ (function () { | ||
/** | ||
@@ -115,3 +115,3 @@ * Construct a new config section. | ||
*/ | ||
var ConfigWithDefaults = (function () { | ||
var ConfigWithDefaults = /** @class */ (function () { | ||
/** | ||
@@ -172,2 +172,1 @@ * Create a new config with defaults. | ||
exports.ConfigWithDefaults = ConfigWithDefaults; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import { ModelDB } from '@jupyterlab/coreutils'; | ||
import { ModelDB } from '@jupyterlab/observables'; | ||
import { IDisposable } from '@phosphor/disposable'; | ||
@@ -3,0 +3,0 @@ import { ISignal } from '@phosphor/signaling'; |
@@ -54,3 +54,3 @@ "use strict"; | ||
*/ | ||
var ContentsManager = (function () { | ||
var ContentsManager = /** @class */ (function () { | ||
/** | ||
@@ -382,3 +382,3 @@ * Construct a new contents manager object. | ||
*/ | ||
var Drive = (function () { | ||
var Drive = /** @class */ (function () { | ||
/** | ||
@@ -849,2 +849,1 @@ * Construct a new contents manager object. | ||
})(Private || (Private = {})); | ||
//# sourceMappingURL=index.js.map |
@@ -53,2 +53,1 @@ "use strict"; | ||
exports.validateCheckpointModel = validateCheckpointModel; | ||
//# sourceMappingURL=validate.js.map |
@@ -16,2 +16,1 @@ "use strict"; | ||
__export(require("./terminal")); | ||
//# sourceMappingURL=index.js.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
*/ | ||
var CommHandler = (function (_super) { | ||
var CommHandler = /** @class */ (function (_super) { | ||
__extends(CommHandler, _super); | ||
@@ -193,2 +193,1 @@ /** | ||
exports.CommHandler = CommHandler; | ||
//# sourceMappingURL=comm.js.map |
@@ -35,3 +35,3 @@ "use strict"; | ||
*/ | ||
var DefaultKernel = (function () { | ||
var DefaultKernel = /** @class */ (function () { | ||
/** | ||
@@ -1478,2 +1478,1 @@ * Construct a kernel object. | ||
})(Private || (Private = {})); | ||
//# sourceMappingURL=default.js.map |
@@ -21,3 +21,3 @@ "use strict"; | ||
*/ | ||
var KernelFutureHandler = (function (_super) { | ||
var KernelFutureHandler = /** @class */ (function (_super) { | ||
__extends(KernelFutureHandler, _super); | ||
@@ -239,3 +239,3 @@ /** | ||
var defer = typeof requestAnimationFrame === 'function' ? requestAnimationFrame : setImmediate; | ||
var HookList = (function () { | ||
var HookList = /** @class */ (function () { | ||
function HookList() { | ||
@@ -339,2 +339,1 @@ this._hooks = []; | ||
})(Private || (Private = {})); | ||
//# sourceMappingURL=future.js.map |
@@ -11,2 +11,1 @@ // Copyright (c) Jupyter Development Team. | ||
__export(require("./messages")); | ||
//# sourceMappingURL=index.js.map |
@@ -123,2 +123,1 @@ "use strict"; | ||
})(Kernel = exports.Kernel || (exports.Kernel = {})); | ||
//# sourceMappingURL=kernel.js.map |
@@ -21,3 +21,3 @@ "use strict"; | ||
*/ | ||
var KernelManager = (function () { | ||
var KernelManager = /** @class */ (function () { | ||
/** | ||
@@ -270,2 +270,1 @@ * Construct a new kernel manager. | ||
exports.KernelManager = KernelManager; | ||
//# sourceMappingURL=manager.js.map |
@@ -131,2 +131,1 @@ "use strict"; | ||
})(KernelMessage = exports.KernelMessage || (exports.KernelMessage = {})); | ||
//# sourceMappingURL=messages.js.map |
@@ -107,2 +107,1 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=serialize.js.map |
@@ -156,2 +156,1 @@ "use strict"; | ||
exports.validateSpecModels = validateSpecModels; | ||
//# sourceMappingURL=validate.js.map |
@@ -15,3 +15,3 @@ "use strict"; | ||
*/ | ||
var ServiceManager = (function () { | ||
var ServiceManager = /** @class */ (function () { | ||
/** | ||
@@ -108,2 +108,1 @@ * Construct a new services provider. | ||
exports.ServiceManager = ServiceManager; | ||
//# sourceMappingURL=manager.js.map |
@@ -205,2 +205,1 @@ "use strict"; | ||
})(Private || (Private = {})); | ||
//# sourceMappingURL=serverconnection.js.map |
@@ -164,3 +164,2 @@ import { ISignal, Signal } from '@phosphor/signaling'; | ||
private _kernel; | ||
private _uuid; | ||
private _isDisposed; | ||
@@ -167,0 +166,0 @@ private _updating; |
@@ -20,3 +20,3 @@ "use strict"; | ||
*/ | ||
var DefaultSession = (function () { | ||
var DefaultSession = /** @class */ (function () { | ||
/** | ||
@@ -30,3 +30,2 @@ * Construct a new session. | ||
this._type = ''; | ||
this._uuid = ''; | ||
this._isDisposed = false; | ||
@@ -44,3 +43,2 @@ this._updating = false; | ||
this.serverSettings = options.serverSettings || __1.ServerConnection.makeSettings(); | ||
this._uuid = coreutils_1.uuid(); | ||
Private.addRunning(this); | ||
@@ -749,2 +747,1 @@ this.setupKernel(kernel); | ||
})(Private || (Private = {})); | ||
//# sourceMappingURL=default.js.map |
@@ -10,2 +10,1 @@ "use strict"; | ||
__export(require("./session")); | ||
//# sourceMappingURL=index.js.map |
@@ -22,3 +22,3 @@ "use strict"; | ||
*/ | ||
var SessionManager = (function () { | ||
var SessionManager = /** @class */ (function () { | ||
/** | ||
@@ -288,2 +288,1 @@ * Construct a new session manager. | ||
exports.SessionManager = SessionManager; | ||
//# sourceMappingURL=manager.js.map |
@@ -138,2 +138,1 @@ "use strict"; | ||
})(Session = exports.Session || (exports.Session = {})); | ||
//# sourceMappingURL=session.js.map |
@@ -58,2 +58,1 @@ "use strict"; | ||
exports.validateModel = validateModel; | ||
//# sourceMappingURL=validate.js.map |
import { ISettingRegistry } from '@jupyterlab/coreutils'; | ||
import { JSONObject } from '@phosphor/coreutils'; | ||
import { ServerConnection } from '../serverconnection'; | ||
@@ -30,3 +29,3 @@ /** | ||
* | ||
* @param user - The plugin's user setting values. | ||
* @param raw - The user setting values as a raw string of JSON with comments. | ||
* | ||
@@ -36,3 +35,3 @@ * @returns A promise that resolves when saving is complete or rejects | ||
*/ | ||
save(id: string, user: JSONObject): Promise<void>; | ||
save(id: string, raw: string): Promise<void>; | ||
} | ||
@@ -39,0 +38,0 @@ /** |
@@ -14,3 +14,3 @@ "use strict"; | ||
*/ | ||
var SettingManager = (function () { | ||
var SettingManager = /** @class */ (function () { | ||
/** | ||
@@ -50,3 +50,3 @@ * Create a new setting manager. | ||
* | ||
* @param user - The plugin's user setting values. | ||
* @param raw - The user setting values as a raw string of JSON with comments. | ||
* | ||
@@ -56,8 +56,8 @@ * @returns A promise that resolves when saving is complete or rejects | ||
*/ | ||
SettingManager.prototype.save = function (id, user) { | ||
SettingManager.prototype.save = function (id, raw) { | ||
var base = this.serverSettings.baseUrl; | ||
var request = { | ||
data: JSON.stringify(user), | ||
contentType: 'application/json', | ||
method: 'PATCH', | ||
data: raw, | ||
contentType: 'text/javascript', | ||
method: 'PUT', | ||
url: Private.url(base, id) | ||
@@ -91,2 +91,1 @@ }; | ||
})(Private || (Private = {})); | ||
//# sourceMappingURL=index.js.map |
@@ -25,3 +25,3 @@ "use strict"; | ||
*/ | ||
var DefaultTerminalSession = (function () { | ||
var DefaultTerminalSession = /** @class */ (function () { | ||
/** | ||
@@ -398,2 +398,1 @@ * Construct a new terminal session. | ||
})(Private || (Private = {})); | ||
//# sourceMappingURL=default.js.map |
@@ -10,2 +10,1 @@ "use strict"; | ||
__export(require("./terminal")); | ||
//# sourceMappingURL=index.js.map |
@@ -21,3 +21,3 @@ "use strict"; | ||
*/ | ||
var TerminalManager = (function () { | ||
var TerminalManager = /** @class */ (function () { | ||
/** | ||
@@ -219,2 +219,1 @@ * Construct a new terminal manager. | ||
exports.TerminalManager = TerminalManager; | ||
//# sourceMappingURL=manager.js.map |
@@ -76,2 +76,1 @@ "use strict"; | ||
})(TerminalSession = exports.TerminalSession || (exports.TerminalSession = {})); | ||
//# sourceMappingURL=terminal.js.map |
{ | ||
"name": "@jupyterlab/services", | ||
"version": "0.51.0", | ||
"version": "0.52.0", | ||
"description": "Client APIs for the Jupyter services REST APIs", | ||
@@ -33,7 +33,7 @@ "keywords": [ | ||
"scripts": { | ||
"build": "npm run build:src", | ||
"build": "jlpm run build:src", | ||
"build:src": "tsc --project src", | ||
"build:test": "tsc --project test/src", | ||
"clean": "rimraf docs && rimraf lib && rimraf test/build && rimraf test/coverage", | ||
"prepublishOnly": "npm run build:src && webpack", | ||
"prepublishOnly": "jlpm run build:src && webpack", | ||
"test": "mocha --retries 3 test/build/**/*.spec.js test/build/*.spec.js --jupyter-config-data=./test/config.json", | ||
@@ -46,3 +46,4 @@ "test:coverage": "istanbul cover --dir test/coverage _mocha -- --retries 3 test/build/**/*.spec.js test/build/*.spec.js --jupyter-config-data=./test/config.json", | ||
"dependencies": { | ||
"@jupyterlab/coreutils": "^0.12.0", | ||
"@jupyterlab/coreutils": "^0.13.0", | ||
"@jupyterlab/observables": "^0.2.0", | ||
"@phosphor/algorithm": "^1.1.2", | ||
@@ -64,3 +65,3 @@ "@phosphor/coreutils": "^1.3.0", | ||
"text-encoding": "~0.5.5", | ||
"typescript": "~2.4.2", | ||
"typescript": "~2.6.2", | ||
"webpack": "~2.7.0", | ||
@@ -67,0 +68,0 @@ "ws": "~1.1.4", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2826020
81
69849
6
+ Added@jupyterlab/coreutils@0.13.0(transitive)
+ Added@jupyterlab/observables@0.2.0(transitive)
+ Addedcomment-json@1.1.3(transitive)
+ Addedesprima@2.7.3(transitive)
+ Addedjson-parser@1.1.5(transitive)
- Removed@jupyterlab/coreutils@0.12.0(transitive)