@milaboratories/pl-drivers 1.5.58 → 1.5.59

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.58",
3
+ "version": "1.5.59",
4
4
  "engines": {
5
5
  "node": ">=20"
6
6
  },
@@ -31,11 +31,11 @@
31
31
  "undici": "~7.5.0",
32
32
  "zod": "~3.23.8",
33
33
  "upath": "^2.0.1",
34
- "@milaboratories/computable": "^2.4.7",
35
- "@milaboratories/ts-helpers": "^1.2.0",
36
- "@milaboratories/pl-tree": "^1.6.1",
37
- "@milaboratories/pl-client": "^2.9.0",
38
- "@milaboratories/pl-model-common": "^1.15.1"
34
+ "@milaboratories/ts-helpers": "^1.3.0",
35
+ "@milaboratories/computable": "^2.4.8",
36
+ "@milaboratories/pl-client": "^2.9.1",
37
+ "@milaboratories/pl-model-common": "^1.15.1",
38
+ "@milaboratories/pl-tree": "^1.6.2"
39
39
  },
40
40
  "devDependencies": {
41
41
  "eslint": "^9.25.1",
@@ -48,7 +48,9 @@ test('should ok when list files from remote storage in ls driver', async () => {
48
48
  const testDir = topLevelDir.entries.find((d) => d.name.includes('ls_dir_structure'));
49
49
  expect(testDir).toBeDefined();
50
50
  expect(testDir!.type).toEqual('dir');
51
- expect(testDir!.fullPath).toEqual('/ls_dir_structure_test');
51
+
52
+ const fullPath = testDir!.fullPath.startsWith('/') ? testDir!.fullPath.slice(1) : testDir!.fullPath;
53
+ expect(fullPath).toEqual('ls_dir_structure_test');
52
54
  expect(testDir!.name).toEqual('ls_dir_structure_test');
53
55
 
54
56
  const secondDirs = await driver.listFiles(library, testDir!.fullPath);
@@ -227,7 +227,7 @@ test('index a blob', async () => {
227
227
  await withTest(async ({ client, uploader }: TestArg) => {
228
228
  const uploadId = await createBlobIndex(
229
229
  client,
230
- './another_answer_to_the_ultimate_question.txt',
230
+ 'another_answer_to_the_ultimate_question.txt',
231
231
  env.libraryStorage,
232
232
  );
233
233
  const handleRes = await getSnapshot(client, uploadId);