@milaboratories/pl-drivers 1.5.27 → 1.5.29
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/pl-drivers",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.29",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=20"
|
|
6
6
|
},
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"tar-fs": "^3.0.8",
|
|
31
31
|
"undici": "~7.4.0",
|
|
32
32
|
"zod": "~3.23.8",
|
|
33
|
-
"@milaboratories/computable": "^2.4.
|
|
33
|
+
"@milaboratories/computable": "^2.4.1",
|
|
34
34
|
"@milaboratories/ts-helpers": "^1.1.4",
|
|
35
35
|
"@milaboratories/pl-client": "^2.7.12",
|
|
36
|
-
"@milaboratories/pl-
|
|
37
|
-
"@milaboratories/pl-
|
|
36
|
+
"@milaboratories/pl-model-common": "^1.11.1",
|
|
37
|
+
"@milaboratories/pl-tree": "^1.4.33"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"eslint": "^9.22.0",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"jest": "^29.7.0",
|
|
48
48
|
"@jest/globals": "^29.7.0",
|
|
49
49
|
"ts-jest": "^29.2.6",
|
|
50
|
-
"@milaboratories/
|
|
51
|
-
"@milaboratories/
|
|
50
|
+
"@milaboratories/eslint-config": "^1.0.1",
|
|
51
|
+
"@milaboratories/platforma-build-configs": "1.0.2"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"type-check": "tsc --noEmit --composite false",
|
|
@@ -38,17 +38,22 @@ test('should download a blob and read its content', async () => {
|
|
|
38
38
|
|
|
39
39
|
const c = driver.getDownloadedBlob(downloadable);
|
|
40
40
|
|
|
41
|
+
console.log(`should download a blob: getting computable first time`)
|
|
41
42
|
const blob = await c.getValue();
|
|
42
43
|
expect(blob).toBeUndefined();
|
|
43
44
|
|
|
45
|
+
console.log(`should download a blob: awaiting change`)
|
|
44
46
|
await c.awaitChange();
|
|
45
47
|
|
|
48
|
+
console.log(`should download a blob: getting the blob second time`)
|
|
46
49
|
const blob2 = await c.getValue();
|
|
47
50
|
expect(blob2).toBeDefined();
|
|
48
51
|
expect(blob2!.size).toBe(3);
|
|
49
52
|
expect((await driver.getContent(blob2!.handle))?.toString()).toBe('42\n');
|
|
53
|
+
|
|
54
|
+
console.log(`should download a blob: exiting`)
|
|
50
55
|
});
|
|
51
|
-
});
|
|
56
|
+
}, 10000);
|
|
52
57
|
|
|
53
58
|
test('should not redownload a blob a file already exists', async () => {
|
|
54
59
|
await TestHelpers.withTempRoot(async (client) => {
|