@rljson/io 0.0.14 → 0.0.16

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/dist/io.js CHANGED
@@ -19,7 +19,7 @@ const _IoMem = class _IoMem {
19
19
  const tableCfg = {
20
20
  version: 1,
21
21
  key: "tableCfgs",
22
- type: "properties",
22
+ type: "ingredients",
23
23
  columns: {
24
24
  key: { key: "key", type: "string", previous: "string" },
25
25
  type: { key: "type", type: "string", previous: "string" }
@@ -28,7 +28,7 @@ const _IoMem = class _IoMem {
28
28
  hip(tableCfg);
29
29
  this._mem.tableCfgs = hip({
30
30
  _data: [tableCfg],
31
- _type: "properties",
31
+ _type: "ingredients",
32
32
  _tableCfg: tableCfg._hash
33
33
  });
34
34
  const updateExistingHashes = true;
@@ -80,7 +80,7 @@ const _IoMem = class _IoMem {
80
80
  }
81
81
  const result = {
82
82
  tableCfgs: {
83
- _type: "properties",
83
+ _type: "ingredients",
84
84
  _data: tables
85
85
  }
86
86
  };
@@ -19,14 +19,14 @@ export const example = async () => {
19
19
  // Create a table config first
20
20
  const tableCfg = hip({
21
21
  key: 'tableA',
22
- type: 'properties',
22
+ type: 'ingredients',
23
23
  columns: {},
24
24
  } as TableCfg);
25
25
 
26
26
  await ioMem.write({
27
27
  data: {
28
28
  tableCfgs: {
29
- _type: 'properties',
29
+ _type: 'ingredients',
30
30
  _data: [tableCfg],
31
31
  },
32
32
  },
@@ -39,7 +39,7 @@ export const example = async () => {
39
39
  await ioMem.write({
40
40
  data: {
41
41
  tableA: {
42
- _type: 'properties',
42
+ _type: 'ingredients',
43
43
  _data: [row],
44
44
  },
45
45
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rljson/io",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "packageManager": "pnpm@10.6.2",
5
5
  "description": "Low level interface for reading and writing RLJSON data",
6
6
  "homepage": "https://github.com/rljson/io",
@@ -29,9 +29,9 @@
29
29
  "updateGoldens": "cross-env UPDATE_GOLDENS=true npm test"
30
30
  },
31
31
  "devDependencies": {
32
- "@types/node": "^22.13.13",
33
- "@typescript-eslint/eslint-plugin": "^8.27.0",
34
- "@typescript-eslint/parser": "^8.27.0",
32
+ "@types/node": "^22.13.14",
33
+ "@typescript-eslint/eslint-plugin": "^8.28.0",
34
+ "@typescript-eslint/parser": "^8.28.0",
35
35
  "@vitest/coverage-v8": "^3.0.9",
36
36
  "cross-env": "^7.0.3",
37
37
  "eslint": "^9.23.0",
@@ -41,7 +41,7 @@
41
41
  "jsdoc": "^4.0.4",
42
42
  "read-pkg": "^9.0.1",
43
43
  "typescript": "~5.8.2",
44
- "typescript-eslint": "^8.27.0",
44
+ "typescript-eslint": "^8.28.0",
45
45
  "vite": "^6.2.3",
46
46
  "vite-node": "^3.0.9",
47
47
  "vite-plugin-dts": "^4.5.3",
@@ -59,7 +59,7 @@
59
59
  "@rljson/hash": "^0.0.12",
60
60
  "@rljson/is-ready": "^0.0.17",
61
61
  "@rljson/json": "^0.0.18",
62
- "@rljson/rljson": "^0.0.29",
63
- "@rljson/validate": "^0.0.8"
62
+ "@rljson/rljson": "^0.0.32",
63
+ "@rljson/validate": "^0.0.9"
64
64
  }
65
65
  }