@jupyterlab/statedb 4.2.0-beta.0 → 4.2.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/interfaces.d.ts +1 -1
- package/lib/restorablepool.d.ts +1 -1
- package/lib/restorablepool.js +1 -1
- package/lib/statedb.d.ts +1 -1
- package/lib/statedb.js +1 -1
- package/package.json +3 -5
- package/src/interfaces.ts +1 -1
- package/src/restorablepool.ts +1 -1
- package/src/statedb.ts +1 -1
package/lib/interfaces.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ export interface IObjectPool<T extends IObservableDisposable> extends IDisposabl
|
|
|
114
114
|
/**
|
|
115
115
|
* Find the first object in the pool that satisfies a filter function.
|
|
116
116
|
*
|
|
117
|
-
* @param
|
|
117
|
+
* @param fn The filter function to call on each object.
|
|
118
118
|
*
|
|
119
119
|
* #### Notes
|
|
120
120
|
* If nothing is found, the value returned is `undefined`.
|
package/lib/restorablepool.d.ts
CHANGED
|
@@ -79,7 +79,7 @@ export declare class RestorablePool<T extends IObservableDisposable = IObservabl
|
|
|
79
79
|
/**
|
|
80
80
|
* Find the first object in the pool that satisfies a filter function.
|
|
81
81
|
*
|
|
82
|
-
* @param
|
|
82
|
+
* @param fn The filter function to call on each object.
|
|
83
83
|
*/
|
|
84
84
|
find(fn: (obj: T) => boolean): T | undefined;
|
|
85
85
|
/**
|
package/lib/restorablepool.js
CHANGED
|
@@ -150,7 +150,7 @@ class RestorablePool {
|
|
|
150
150
|
/**
|
|
151
151
|
* Find the first object in the pool that satisfies a filter function.
|
|
152
152
|
*
|
|
153
|
-
* @param
|
|
153
|
+
* @param fn The filter function to call on each object.
|
|
154
154
|
*/
|
|
155
155
|
find(fn) {
|
|
156
156
|
const values = this._objects.values();
|
package/lib/statedb.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ export declare class StateDB<T extends ReadonlyPartialJSONValue = ReadonlyPartia
|
|
|
42
42
|
/**
|
|
43
43
|
* Retrieve all the saved bundles for a namespace.
|
|
44
44
|
*
|
|
45
|
-
* @param
|
|
45
|
+
* @param namespace The namespace prefix to retrieve.
|
|
46
46
|
*
|
|
47
47
|
* @returns A promise that bears a collection of payloads for a namespace.
|
|
48
48
|
*
|
package/lib/statedb.js
CHANGED
|
@@ -76,7 +76,7 @@ class StateDB {
|
|
|
76
76
|
/**
|
|
77
77
|
* Retrieve all the saved bundles for a namespace.
|
|
78
78
|
*
|
|
79
|
-
* @param
|
|
79
|
+
* @param namespace The namespace prefix to retrieve.
|
|
80
80
|
*
|
|
81
81
|
* @returns A promise that bears a collection of payloads for a namespace.
|
|
82
82
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/statedb",
|
|
3
|
-
"version": "4.2.0-beta.
|
|
3
|
+
"version": "4.2.0-beta.2",
|
|
4
4
|
"description": "Package for managing state in Jupyterlab",
|
|
5
5
|
"homepage": "https://github.com/jupyterlab/jupyterlab",
|
|
6
6
|
"bugs": {
|
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
"build": "tsc -b",
|
|
29
29
|
"build:test": "tsc --build tsconfig.test.json",
|
|
30
30
|
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
|
31
|
-
"docs": "typedoc src",
|
|
32
31
|
"test": "jest",
|
|
33
32
|
"test:cov": "jest --collect-coverage",
|
|
34
33
|
"test:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand",
|
|
@@ -36,18 +35,17 @@
|
|
|
36
35
|
"watch": "tsc -b --watch"
|
|
37
36
|
},
|
|
38
37
|
"dependencies": {
|
|
39
|
-
"@lumino/commands": "^2.
|
|
38
|
+
"@lumino/commands": "^2.3.0",
|
|
40
39
|
"@lumino/coreutils": "^2.1.2",
|
|
41
40
|
"@lumino/disposable": "^2.1.2",
|
|
42
41
|
"@lumino/properties": "^2.0.1",
|
|
43
42
|
"@lumino/signaling": "^2.1.2"
|
|
44
43
|
},
|
|
45
44
|
"devDependencies": {
|
|
46
|
-
"@jupyterlab/testing": "^4.2.0-beta.
|
|
45
|
+
"@jupyterlab/testing": "^4.2.0-beta.2",
|
|
47
46
|
"@types/jest": "^29.2.0",
|
|
48
47
|
"jest": "^29.2.0",
|
|
49
48
|
"rimraf": "~5.0.5",
|
|
50
|
-
"typedoc": "~0.24.7",
|
|
51
49
|
"typescript": "~5.1.6"
|
|
52
50
|
},
|
|
53
51
|
"publishConfig": {
|
package/src/interfaces.ts
CHANGED
|
@@ -128,7 +128,7 @@ export interface IObjectPool<T extends IObservableDisposable>
|
|
|
128
128
|
/**
|
|
129
129
|
* Find the first object in the pool that satisfies a filter function.
|
|
130
130
|
*
|
|
131
|
-
* @param
|
|
131
|
+
* @param fn The filter function to call on each object.
|
|
132
132
|
*
|
|
133
133
|
* #### Notes
|
|
134
134
|
* If nothing is found, the value returned is `undefined`.
|
package/src/restorablepool.ts
CHANGED
|
@@ -167,7 +167,7 @@ export class RestorablePool<
|
|
|
167
167
|
/**
|
|
168
168
|
* Find the first object in the pool that satisfies a filter function.
|
|
169
169
|
*
|
|
170
|
-
* @param
|
|
170
|
+
* @param fn The filter function to call on each object.
|
|
171
171
|
*/
|
|
172
172
|
find(fn: (obj: T) => boolean): T | undefined {
|
|
173
173
|
const values = this._objects.values();
|
package/src/statedb.ts
CHANGED
|
@@ -85,7 +85,7 @@ export class StateDB<
|
|
|
85
85
|
/**
|
|
86
86
|
* Retrieve all the saved bundles for a namespace.
|
|
87
87
|
*
|
|
88
|
-
* @param
|
|
88
|
+
* @param namespace The namespace prefix to retrieve.
|
|
89
89
|
*
|
|
90
90
|
* @returns A promise that bears a collection of payloads for a namespace.
|
|
91
91
|
*
|