@jupyterlab/docmanager
Advanced tools
Comparing version 4.0.0-alpha.21 to 4.0.0-alpha.22
// Copyright (c) Jupyter Development Team. | ||
// Distributed under the terms of the Modified BSD License. | ||
import { sessionContextDialogs } from '@jupyterlab/apputils'; | ||
import { SessionContextDialogs } from '@jupyterlab/apputils'; | ||
import { PathExt } from '@jupyterlab/coreutils'; | ||
@@ -28,2 +28,3 @@ import { Context } from '@jupyterlab/docregistry'; | ||
constructor(options) { | ||
var _a; | ||
this._activateRequested = new Signal(this); | ||
@@ -40,3 +41,4 @@ this._contexts = []; | ||
this.services = options.manager; | ||
this._dialogs = options.sessionDialogs || sessionContextDialogs; | ||
this._dialogs = | ||
(_a = options.sessionDialogs) !== null && _a !== void 0 ? _a : new SessionContextDialogs({ translator: options.translator }); | ||
this._isConnectedCallback = options.isConnectedCallback || (() => true); | ||
@@ -43,0 +45,0 @@ this._opener = options.opener; |
{ | ||
"name": "@jupyterlab/docmanager", | ||
"version": "4.0.0-alpha.21", | ||
"version": "4.0.0-alpha.22", | ||
"description": "JupyterLab - Document Manager", | ||
@@ -45,24 +45,25 @@ "homepage": "https://github.com/jupyterlab/jupyterlab", | ||
"dependencies": { | ||
"@jupyterlab/apputils": "^4.0.0-alpha.21", | ||
"@jupyterlab/coreutils": "^6.0.0-alpha.21", | ||
"@jupyterlab/docregistry": "^4.0.0-alpha.21", | ||
"@jupyterlab/services": "^7.0.0-alpha.21", | ||
"@jupyterlab/statusbar": "^4.0.0-alpha.21", | ||
"@jupyterlab/translation": "^4.0.0-alpha.21", | ||
"@jupyterlab/ui-components": "^4.0.0-alpha.36", | ||
"@lumino/algorithm": "^2.0.0-rc.1", | ||
"@lumino/coreutils": "^2.0.0-rc.1", | ||
"@lumino/disposable": "^2.0.0-rc.1", | ||
"@lumino/messaging": "^2.0.0-rc.1", | ||
"@lumino/properties": "^2.0.0-rc.1", | ||
"@lumino/signaling": "^2.0.0-rc.1", | ||
"@lumino/widgets": "^2.0.0-rc.1", | ||
"@jupyterlab/apputils": "^4.0.0-alpha.22", | ||
"@jupyterlab/coreutils": "^6.0.0-alpha.22", | ||
"@jupyterlab/docregistry": "^4.0.0-alpha.22", | ||
"@jupyterlab/services": "^7.0.0-alpha.22", | ||
"@jupyterlab/statusbar": "^4.0.0-alpha.22", | ||
"@jupyterlab/translation": "^4.0.0-alpha.22", | ||
"@jupyterlab/ui-components": "^4.0.0-alpha.37", | ||
"@lumino/algorithm": "^2.0.0", | ||
"@lumino/coreutils": "^2.0.0", | ||
"@lumino/disposable": "^2.0.0", | ||
"@lumino/messaging": "^2.0.0", | ||
"@lumino/properties": "^2.0.0", | ||
"@lumino/signaling": "^2.0.0", | ||
"@lumino/widgets": "^2.0.0", | ||
"react": "^18.2.0" | ||
}, | ||
"devDependencies": { | ||
"@jupyterlab/testing": "^4.0.0-alpha.21", | ||
"@jupyterlab/testing": "^4.0.0-alpha.22", | ||
"@types/jest": "^29.2.0", | ||
"jest": "^29.2.0", | ||
"rimraf": "~3.0.0", | ||
"typedoc": "~0.23.25", | ||
"typescript": "~5.0.1-rc" | ||
"typescript": "~5.0.2" | ||
}, | ||
@@ -69,0 +70,0 @@ "publishConfig": { |
// Copyright (c) Jupyter Development Team. | ||
// Distributed under the terms of the Modified BSD License. | ||
import { ISessionContext, sessionContextDialogs } from '@jupyterlab/apputils'; | ||
import { ISessionContext, SessionContextDialogs } from '@jupyterlab/apputils'; | ||
import { IChangedArgs, PathExt } from '@jupyterlab/coreutils'; | ||
@@ -41,3 +41,5 @@ import { | ||
this.services = options.manager; | ||
this._dialogs = options.sessionDialogs || sessionContextDialogs; | ||
this._dialogs = | ||
options.sessionDialogs ?? | ||
new SessionContextDialogs({ translator: options.translator }); | ||
this._isConnectedCallback = options.isConnectedCallback || (() => true); | ||
@@ -44,0 +46,0 @@ |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
195257
4869
0
6
Updated@lumino/algorithm@^2.0.0
Updated@lumino/coreutils@^2.0.0
Updated@lumino/disposable@^2.0.0
Updated@lumino/messaging@^2.0.0
Updated@lumino/properties@^2.0.0
Updated@lumino/signaling@^2.0.0
Updated@lumino/widgets@^2.0.0