@jupyterlab/statedb
Advanced tools
Comparing version 4.0.3 to 4.0.4
{ | ||
"name": "@jupyterlab/statedb", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "Package for managing state in Jupyterlab", | ||
@@ -46,3 +46,3 @@ "homepage": "https://github.com/jupyterlab/jupyterlab", | ||
"devDependencies": { | ||
"@jupyterlab/testing": "^4.0.3", | ||
"@jupyterlab/testing": "^4.0.4", | ||
"@types/jest": "^29.2.0", | ||
@@ -49,0 +49,0 @@ "jest": "^29.2.0", |
@@ -16,4 +16,5 @@ // Copyright (c) Jupyter Development Team. | ||
export class RestorablePool< | ||
T extends IObservableDisposable = IObservableDisposable | ||
> implements IObjectPool<T>, IRestorable<T> | ||
T extends IObservableDisposable = IObservableDisposable | ||
> | ||
implements IObjectPool<T>, IRestorable<T> | ||
{ | ||
@@ -20,0 +21,0 @@ /** |
@@ -151,6 +151,9 @@ // Copyright (c) Jupyter Development Team. | ||
return values.reduce((acc, val, idx) => { | ||
acc[ids[idx]] = val; | ||
return acc; | ||
}, {} as { [id: string]: T }); | ||
return values.reduce( | ||
(acc, val, idx) => { | ||
acc[ids[idx]] = val; | ||
return acc; | ||
}, | ||
{} as { [id: string]: T } | ||
); | ||
} | ||
@@ -157,0 +160,0 @@ |
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
90488
2387