@milaboratories/pl-middle-layer 1.48.5 → 1.48.6

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-middle-layer",
3
- "version": "1.48.5",
3
+ "version": "1.48.6",
4
4
  "description": "Pl Middle Layer",
5
5
  "keywords": [],
6
6
  "license": "UNLICENSED",
@@ -30,21 +30,21 @@
30
30
  "yaml": "^2.8.0",
31
31
  "zod": "~3.23.8",
32
32
  "@milaboratories/computable": "2.8.5",
33
- "@milaboratories/pf-driver": "1.0.57",
34
- "@milaboratories/pl-deployments": "2.15.16",
33
+ "@milaboratories/pf-driver": "1.0.58",
35
34
  "@milaboratories/pl-client": "2.17.6",
36
35
  "@milaboratories/pl-drivers": "1.11.56",
37
- "@milaboratories/pl-http": "1.2.3",
38
36
  "@milaboratories/pl-errors": "1.1.68",
37
+ "@milaboratories/pl-http": "1.2.3",
38
+ "@milaboratories/pl-deployments": "2.15.16",
39
39
  "@milaboratories/pl-model-backend": "1.1.53",
40
+ "@milaboratories/resolve-helper": "1.1.2",
40
41
  "@milaboratories/pl-model-common": "1.25.0",
41
- "@milaboratories/pl-model-middle-layer": "1.12.4",
42
+ "@milaboratories/pl-model-middle-layer": "1.12.5",
42
43
  "@milaboratories/pl-tree": "1.8.44",
43
- "@milaboratories/resolve-helper": "1.1.2",
44
- "@platforma-sdk/block-tools": "2.6.59",
45
44
  "@milaboratories/ts-helpers": "1.7.2",
45
+ "@platforma-sdk/model": "1.58.1",
46
46
  "@platforma-sdk/workflow-tengo": "5.9.0",
47
- "@platforma-sdk/model": "1.58.0"
47
+ "@platforma-sdk/block-tools": "2.6.60"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/node": "~24.5.2",
@@ -53,9 +53,9 @@
53
53
  "semver": "^7.7.2",
54
54
  "typescript": "~5.6.3",
55
55
  "vitest": "^4.0.16",
56
- "@milaboratories/ts-builder": "1.2.11",
57
56
  "@milaboratories/ts-configs": "1.2.1",
58
- "@milaboratories/build-configs": "1.5.0"
57
+ "@milaboratories/build-configs": "1.5.0",
58
+ "@milaboratories/ts-builder": "1.2.11"
59
59
  },
60
60
  "engines": {
61
61
  "node": ">=22.19.0"
@@ -7,6 +7,7 @@ import { blockArgsAuthorKey, projectFieldName } from "../model/project_model";
7
7
  import { TestBPPreparer } from "../test/block_packs";
8
8
  import { createProject, ProjectMutator } from "./project";
9
9
  import type { AuthorMarker, BlockPackSpec } from "@milaboratories/pl-model-middle-layer";
10
+ import { createBlockStorage } from "@platforma-sdk/model";
10
11
  import path from "node:path";
11
12
 
12
13
  // V3 block specs - using dev-v2 type with local folders
@@ -391,11 +392,7 @@ test("v3 blocks: migrateBlockPack with storage migration re-derives args and pre
391
392
  // Overwrite blockStorage with v1-format data (simulating old block version)
392
393
  await pl.withWriteTx("DowngradeStorage", async (tx) => {
393
394
  const mut = await ProjectMutator.load(new ProjectHelper(quickJs), tx, prj);
394
- const v1Storage = JSON.stringify({
395
- __pl_a7f3e2b9__: "v1",
396
- __dataVersion: "v1",
397
- __data: { numbers: [3, 1, 5] },
398
- });
395
+ const v1Storage = JSON.stringify(createBlockStorage({ numbers: [3, 1, 5] }, "v1"));
399
396
  mut.setBlockStorageRaw("enter1", v1Storage);
400
397
  mut.save();
401
398
  await tx.commit();