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

@jupyterlab/services

Package Overview
Dependencies
Maintainers
0
Versions
404
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 7.4.0-alpha.3 to 7.4.0-beta.0

lib/connectionstatus.d.ts

5

lib/contents/validate.js

@@ -5,3 +5,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.validateCheckpointModel = exports.validateContentsModel = void 0;
exports.validateContentsModel = validateContentsModel;
exports.validateCheckpointModel = validateCheckpointModel;
const validate_1 = require("../validate");

@@ -21,3 +22,2 @@ /**

}
exports.validateContentsModel = validateContentsModel;
/**

@@ -30,3 +30,2 @@ * Validate an `Contents.ICheckpointModel` object.

}
exports.validateCheckpointModel = validateCheckpointModel;
//# sourceMappingURL=validate.js.map

2

lib/index.d.ts

@@ -7,2 +7,3 @@ /**

export * from './config';
export * from './connectionstatus';
export * from './contents';

@@ -17,2 +18,3 @@ export * from './event';

export * from './terminal';
export * from './tokens';
export * from './user';

@@ -19,0 +21,0 @@ export * from './workspace';

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

__exportStar(require("./config"), exports);
__exportStar(require("./connectionstatus"), exports);
__exportStar(require("./contents"), exports);

@@ -35,2 +36,3 @@ __exportStar(require("./event"), exports);

__exportStar(require("./terminal"), exports);
__exportStar(require("./tokens"), exports);
__exportStar(require("./user"), exports);

@@ -37,0 +39,0 @@ __exportStar(require("./workspace"), exports);

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.supportedKernelWebSocketProtocols = exports.isInputReplyMsg = exports.isInputRequestMsg = exports.isDebugReplyMsg = exports.isDebugRequestMsg = exports.isExecuteReplyMsg = exports.isInfoRequestMsg = exports.isCommMsgMsg = exports.isCommCloseMsg = exports.isCommOpenMsg = exports.isDebugEventMsg = exports.isClearOutputMsg = exports.isStatusMsg = exports.isErrorMsg = exports.isExecuteResultMsg = exports.isExecuteInputMsg = exports.isUpdateDisplayDataMsg = exports.isDisplayDataMsg = exports.isStreamMsg = exports.createMessage = void 0;
exports.supportedKernelWebSocketProtocols = void 0;
exports.createMessage = createMessage;
exports.isStreamMsg = isStreamMsg;
exports.isDisplayDataMsg = isDisplayDataMsg;
exports.isUpdateDisplayDataMsg = isUpdateDisplayDataMsg;
exports.isExecuteInputMsg = isExecuteInputMsg;
exports.isExecuteResultMsg = isExecuteResultMsg;
exports.isErrorMsg = isErrorMsg;
exports.isStatusMsg = isStatusMsg;
exports.isClearOutputMsg = isClearOutputMsg;
exports.isDebugEventMsg = isDebugEventMsg;
exports.isCommOpenMsg = isCommOpenMsg;
exports.isCommCloseMsg = isCommCloseMsg;
exports.isCommMsgMsg = isCommMsgMsg;
exports.isInfoRequestMsg = isInfoRequestMsg;
exports.isExecuteReplyMsg = isExecuteReplyMsg;
exports.isDebugRequestMsg = isDebugRequestMsg;
exports.isDebugReplyMsg = isDebugReplyMsg;
exports.isInputRequestMsg = isInputRequestMsg;
exports.isInputReplyMsg = isInputReplyMsg;
const coreutils_1 = require("@lumino/coreutils");

@@ -27,3 +46,2 @@ function createMessage(options) {

}
exports.createMessage = createMessage;
/**

@@ -35,3 +53,2 @@ * Test whether a kernel message is a `'stream'` message.

}
exports.isStreamMsg = isStreamMsg;
/**

@@ -43,3 +60,2 @@ * Test whether a kernel message is an `'display_data'` message.

}
exports.isDisplayDataMsg = isDisplayDataMsg;
/**

@@ -51,3 +67,2 @@ * Test whether a kernel message is an `'update_display_data'` message.

}
exports.isUpdateDisplayDataMsg = isUpdateDisplayDataMsg;
/**

@@ -59,3 +74,2 @@ * Test whether a kernel message is an `'execute_input'` message.

}
exports.isExecuteInputMsg = isExecuteInputMsg;
/**

@@ -67,3 +81,2 @@ * Test whether a kernel message is an `'execute_result'` message.

}
exports.isExecuteResultMsg = isExecuteResultMsg;
/**

@@ -75,3 +88,2 @@ * Test whether a kernel message is an `'error'` message.

}
exports.isErrorMsg = isErrorMsg;
/**

@@ -83,3 +95,2 @@ * Test whether a kernel message is a `'status'` message.

}
exports.isStatusMsg = isStatusMsg;
/**

@@ -91,3 +102,2 @@ * Test whether a kernel message is a `'clear_output'` message.

}
exports.isClearOutputMsg = isClearOutputMsg;
/**

@@ -106,3 +116,2 @@ * Test whether a kernel message is an experimental `'debug_event'` message.

}
exports.isDebugEventMsg = isDebugEventMsg;
/**

@@ -114,3 +123,2 @@ * Test whether a kernel message is a `'comm_open'` message.

}
exports.isCommOpenMsg = isCommOpenMsg;
/**

@@ -122,3 +130,2 @@ * Test whether a kernel message is a `'comm_close'` message.

}
exports.isCommCloseMsg = isCommCloseMsg;
/**

@@ -130,3 +137,2 @@ * Test whether a kernel message is a `'comm_msg'` message.

}
exports.isCommMsgMsg = isCommMsgMsg;
/**

@@ -138,3 +144,2 @@ * Test whether a kernel message is a `'kernel_info_request'` message.

}
exports.isInfoRequestMsg = isInfoRequestMsg;
/**

@@ -146,3 +151,2 @@ * Test whether a kernel message is an `'execute_reply'` message.

}
exports.isExecuteReplyMsg = isExecuteReplyMsg;
/**

@@ -161,3 +165,2 @@ * Test whether a kernel message is an experimental `'debug_request'` message.

}
exports.isDebugRequestMsg = isDebugRequestMsg;
/**

@@ -176,3 +179,2 @@ * Test whether a kernel message is an experimental `'debug_reply'` message.

}
exports.isDebugReplyMsg = isDebugReplyMsg;
/**

@@ -184,3 +186,2 @@ * Test whether a kernel message is an `'input_request'` message.

}
exports.isInputRequestMsg = isInputRequestMsg;
/**

@@ -192,3 +193,2 @@ * Test whether a kernel message is an `'input_reply'` message.

}
exports.isInputReplyMsg = isInputReplyMsg;
// ///////////////////////////////////////////////

@@ -195,0 +195,0 @@ // Message (de)serialization

@@ -5,3 +5,9 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.getKernelModel = exports.shutdownKernel = exports.interruptKernel = exports.restartKernel = exports.startNew = exports.listRunning = exports.KERNEL_SERVICE_URL = void 0;
exports.KERNEL_SERVICE_URL = void 0;
exports.listRunning = listRunning;
exports.startNew = startNew;
exports.restartKernel = restartKernel;
exports.interruptKernel = interruptKernel;
exports.shutdownKernel = shutdownKernel;
exports.getKernelModel = getKernelModel;
const serverconnection_1 = require("../serverconnection");

@@ -37,3 +43,2 @@ const coreutils_1 = require("@jupyterlab/coreutils");

}
exports.listRunning = listRunning;
/**

@@ -66,3 +71,2 @@ * Start a new kernel.

}
exports.startNew = startNew;
/**

@@ -87,3 +91,2 @@ * Restart a kernel.

}
exports.restartKernel = restartKernel;
/**

@@ -106,3 +109,2 @@ * Interrupt a kernel.

}
exports.interruptKernel = interruptKernel;
/**

@@ -136,3 +138,2 @@ * Shut down a kernel.

}
exports.shutdownKernel = shutdownKernel;
/**

@@ -160,3 +161,2 @@ * Get a full kernel model from the server by kernel id string.

}
exports.getKernelModel = getKernelModel;
//# sourceMappingURL=restapi.js.map

@@ -28,3 +28,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.deserialize = exports.serialize = void 0;
exports.serialize = serialize;
exports.deserialize = deserialize;
const KernelMessage = __importStar(require("./messages"));

@@ -43,3 +44,2 @@ /**

}
exports.serialize = serialize;
/**

@@ -57,3 +57,2 @@ * Deserialize and return the unpacked message.

}
exports.deserialize = deserialize;
var Private;

@@ -60,0 +59,0 @@ (function (Private) {

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.validateModels = exports.validateModel = exports.validateMessage = void 0;
exports.validateMessage = validateMessage;
exports.validateModel = validateModel;
exports.validateModels = validateModels;
const validate_1 = require("../validate");

@@ -58,3 +60,2 @@ /**

}
exports.validateMessage = validateMessage;
/**

@@ -88,3 +89,2 @@ * Validate content an kernel message on the iopub channel.

}
exports.validateModel = validateModel;
/**

@@ -99,3 +99,2 @@ * Validate an array of `IModel` objects.

}
exports.validateModels = validateModels;
//# sourceMappingURL=validate.js.map

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.getSpecs = void 0;
exports.getSpecs = getSpecs;
const serverconnection_1 = require("../serverconnection");

@@ -35,3 +35,2 @@ const validate_1 = require("./validate");

}
exports.getSpecs = getSpecs;
//# sourceMappingURL=restapi.js.map

@@ -5,3 +5,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.validateSpecModels = exports.validateSpecModel = void 0;
exports.validateSpecModel = validateSpecModel;
exports.validateSpecModels = validateSpecModels;
const validate_1 = require("../validate");

@@ -42,3 +43,2 @@ /**

}
exports.validateSpecModel = validateSpecModel;
/**

@@ -80,3 +80,2 @@ * Validate a `Kernel.ISpecModels` object.

}
exports.validateSpecModels = validateSpecModels;
//# sourceMappingURL=validate.js.map

@@ -5,3 +5,9 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.updateSession = exports.startSession = exports.getSessionModel = exports.shutdownSession = exports.getSessionUrl = exports.listRunning = exports.SESSION_SERVICE_URL = void 0;
exports.SESSION_SERVICE_URL = void 0;
exports.listRunning = listRunning;
exports.getSessionUrl = getSessionUrl;
exports.shutdownSession = shutdownSession;
exports.getSessionModel = getSessionModel;
exports.startSession = startSession;
exports.updateSession = updateSession;
const serverconnection_1 = require("../serverconnection");

@@ -34,3 +40,2 @@ const coreutils_1 = require("@jupyterlab/coreutils");

}
exports.listRunning = listRunning;
/**

@@ -47,3 +52,2 @@ * Get a session url.

}
exports.getSessionUrl = getSessionUrl;
/**

@@ -70,3 +74,2 @@ * Shut down a session by id.

}
exports.shutdownSession = shutdownSession;
/**

@@ -87,3 +90,2 @@ * Get a full session model from the server by session id string.

}
exports.getSessionModel = getSessionModel;
/**

@@ -109,3 +111,2 @@ * Create a new session, or return an existing session if the session path

}
exports.startSession = startSession;
/**

@@ -130,3 +131,2 @@ * Send a PATCH to the server, updating the session path or the kernel.

}
exports.updateSession = updateSession;
//# sourceMappingURL=restapi.js.map

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.validateModels = exports.updateLegacySessionModel = exports.validateModel = void 0;
exports.validateModel = validateModel;
exports.updateLegacySessionModel = updateLegacySessionModel;
exports.validateModels = validateModels;
const validate_1 = require("../kernel/validate");

@@ -21,3 +23,2 @@ const validate_2 = require("../validate");

}
exports.validateModel = validateModel;
/**

@@ -34,3 +35,2 @@ * Update model from legacy session data.

}
exports.updateLegacySessionModel = updateLegacySessionModel;
/**

@@ -45,3 +45,2 @@ * Validate an array of `Session.IModel` objects.

}
exports.validateModels = validateModels;
//# sourceMappingURL=validate.js.map

@@ -5,3 +5,7 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.shutdownTerminal = exports.listRunning = exports.startNew = exports.isAvailable = exports.TERMINAL_SERVICE_URL = void 0;
exports.TERMINAL_SERVICE_URL = void 0;
exports.isAvailable = isAvailable;
exports.startNew = startNew;
exports.listRunning = listRunning;
exports.shutdownTerminal = shutdownTerminal;
const coreutils_1 = require("@jupyterlab/coreutils");

@@ -20,3 +24,2 @@ const serverconnection_1 = require("../serverconnection");

}
exports.isAvailable = isAvailable;
/**

@@ -49,3 +52,2 @@ * Start a new terminal session.

}
exports.startNew = startNew;
/**

@@ -73,3 +75,2 @@ * List the running terminal sessions.

}
exports.listRunning = listRunning;
/**

@@ -104,3 +105,2 @@ * Shut down a terminal session by name.

}
exports.shutdownTerminal = shutdownTerminal;
var Private;

@@ -107,0 +107,0 @@ (function (Private) {

@@ -1,2 +0,2 @@

/// <reference types="jest" />
/// <reference types="jest" preserve="true" />
import { ReadonlyJSONObject } from '@lumino/coreutils';

@@ -3,0 +3,0 @@ import { AttachedProperty } from '@lumino/properties';

@@ -5,6 +5,8 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.FakeUserManager = exports.changeKernel = exports.MockShellFuture = exports.ServiceManagerMock = exports.KernelSpecManagerMock = exports.SessionManagerMock = exports.ContentsManagerMock = exports.SessionConnectionMock = exports.KernelMock = exports.cloneKernel = exports.NOTEBOOK_PATHS = exports.KERNEL_MODELS = exports.KERNELSPECS = exports.DEFAULT_NAME = void 0;
exports.FakeUserManager = exports.MockShellFuture = exports.ServiceManagerMock = exports.KernelSpecManagerMock = exports.SessionManagerMock = exports.ContentsManagerMock = exports.SessionConnectionMock = exports.KernelMock = exports.NOTEBOOK_PATHS = exports.KERNEL_MODELS = exports.KERNELSPECS = exports.DEFAULT_NAME = void 0;
exports.cloneKernel = cloneKernel;
exports.changeKernel = changeKernel;
// We explicitly reference the jest typings since the jest.d.ts file shipped
// with jest 26 masks the @types/jest typings
/// <reference types="jest" />
/// <reference types="jest" preserve="true"/>
const coreutils_1 = require("@jupyterlab/coreutils");

@@ -75,3 +77,2 @@ const coreutils_2 = require("@lumino/coreutils");

}
exports.cloneKernel = cloneKernel;
/**

@@ -567,3 +568,2 @@ * A mock kernel object.

}
exports.changeKernel = changeKernel;
/**

@@ -570,0 +570,0 @@ * A namespace for module private data.

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.validateProperty = void 0;
exports.validateProperty = validateProperty;
/**

@@ -51,3 +51,2 @@ * Validate a property as being on an object, and optionally

}
exports.validateProperty = validateProperty;
//# sourceMappingURL=validate.js.map
{
"name": "@jupyterlab/services",
"version": "7.4.0-alpha.3",
"version": "7.4.0-beta.0",
"description": "Client APIs for the Jupyter services REST APIs",

@@ -49,6 +49,6 @@ "keywords": [

"@jupyter/ydoc": "^3.0.0",
"@jupyterlab/coreutils": "^6.4.0-alpha.3",
"@jupyterlab/nbformat": "^4.4.0-alpha.3",
"@jupyterlab/settingregistry": "^4.4.0-alpha.3",
"@jupyterlab/statedb": "^4.4.0-alpha.3",
"@jupyterlab/coreutils": "^6.4.0-beta.0",
"@jupyterlab/nbformat": "^4.4.0-beta.0",
"@jupyterlab/settingregistry": "^4.4.0-beta.0",
"@jupyterlab/statedb": "^4.4.0-beta.0",
"@lumino/coreutils": "^2.2.0",

@@ -62,3 +62,3 @@ "@lumino/disposable": "^2.1.3",

"devDependencies": {
"@jupyterlab/testing": "^4.4.0-alpha.3",
"@jupyterlab/testing": "^4.4.0-beta.0",
"@types/jest": "^29.2.0",

@@ -68,3 +68,3 @@ "@types/ws": "^8.5.3",

"rimraf": "~5.0.5",
"typescript": "~5.1.6",
"typescript": "~5.5.4",
"webpack": "^5.76.1",

@@ -71,0 +71,0 @@ "webpack-cli": "^5.0.1"

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

export * from './config';
export * from './connectionstatus';
export * from './contents';

@@ -20,2 +21,3 @@ export * from './event';

export * from './terminal';
export * from './tokens';
export * from './user';

@@ -22,0 +24,0 @@ export * from './workspace';

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

/// <reference types="jest" />
/// <reference types="jest" preserve="true"/>

@@ -10,0 +10,0 @@ import { PathExt } from '@jupyterlab/coreutils';

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

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

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

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

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

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