@jupyterlab/filebrowser
Advanced tools
Comparing version 4.0.0-alpha.11 to 4.0.0-alpha.12
@@ -107,7 +107,7 @@ // Copyright (c) Jupyter Development Team. | ||
else if (uploads.name === 'finish') { | ||
const idx = ArrayExt.findFirstIndex(this._items, val => val.path === uploads.oldValue.path); | ||
if (idx !== -1) { | ||
this._items[idx].complete = true; | ||
const finishedItem = ArrayExt.findFirstValue(this._items, val => val.path === uploads.oldValue.path); | ||
if (finishedItem) { | ||
finishedItem.complete = true; | ||
setTimeout(() => { | ||
ArrayExt.removeAt(this._items, idx); | ||
ArrayExt.removeFirstOf(this._items, finishedItem); | ||
this.stateChanged.emit(void 0); | ||
@@ -114,0 +114,0 @@ }, UPLOAD_COMPLETE_MESSAGE_MILLIS); |
{ | ||
"name": "@jupyterlab/filebrowser", | ||
"version": "4.0.0-alpha.11", | ||
"version": "4.0.0-alpha.12", | ||
"description": "JupyterLab - FileBrowser Widget", | ||
@@ -44,11 +44,11 @@ "homepage": "https://github.com/jupyterlab/jupyterlab", | ||
"dependencies": { | ||
"@jupyterlab/apputils": "^4.0.0-alpha.11", | ||
"@jupyterlab/coreutils": "^6.0.0-alpha.11", | ||
"@jupyterlab/docmanager": "^4.0.0-alpha.11", | ||
"@jupyterlab/docregistry": "^4.0.0-alpha.11", | ||
"@jupyterlab/services": "^7.0.0-alpha.11", | ||
"@jupyterlab/statedb": "^4.0.0-alpha.11", | ||
"@jupyterlab/statusbar": "^4.0.0-alpha.11", | ||
"@jupyterlab/translation": "^4.0.0-alpha.11", | ||
"@jupyterlab/ui-components": "^4.0.0-alpha.26", | ||
"@jupyterlab/apputils": "^4.0.0-alpha.12", | ||
"@jupyterlab/coreutils": "^6.0.0-alpha.12", | ||
"@jupyterlab/docmanager": "^4.0.0-alpha.12", | ||
"@jupyterlab/docregistry": "^4.0.0-alpha.12", | ||
"@jupyterlab/services": "^7.0.0-alpha.12", | ||
"@jupyterlab/statedb": "^4.0.0-alpha.12", | ||
"@jupyterlab/statusbar": "^4.0.0-alpha.12", | ||
"@jupyterlab/translation": "^4.0.0-alpha.12", | ||
"@jupyterlab/ui-components": "^4.0.0-alpha.27", | ||
"@lumino/algorithm": "^1.9.1", | ||
@@ -63,7 +63,7 @@ "@lumino/coreutils": "^1.12.0", | ||
"@lumino/virtualdom": "^1.14.1", | ||
"@lumino/widgets": "^1.32.0", | ||
"@lumino/widgets": "^1.33.0", | ||
"react": "^17.0.1" | ||
}, | ||
"devDependencies": { | ||
"@jupyterlab/testutils": "^4.0.0-alpha.11", | ||
"@jupyterlab/testutils": "^4.0.0-alpha.12", | ||
"@types/jest": "^26.0.10", | ||
@@ -74,3 +74,3 @@ "jest": "^26.4.2", | ||
"typedoc": "~0.22.10", | ||
"typescript": "~4.6.3" | ||
"typescript": "~4.7.3" | ||
}, | ||
@@ -77,0 +77,0 @@ "publishConfig": { |
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
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
289582
5437
Updated@lumino/widgets@^1.33.0