@jskit-ai/crud-core 0.2.39 → 0.2.41
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- Depends on json-rest-api 3.2.0 exactly (from 3.1.11), the version resource-runtime takes: its change adds `forceIndex(...names)` to read-only builders on MySQL and MariaDB (a row policy's `ownTable()` reader, a `joinSource()`'s `query`; details in `@jskit-ai/resource-runtime`'s changelog), which only an application's own row policy calls, so a CRUD route reads and writes as it did.
|
|
5
6
|
- Depends on json-rest-api 3.1.11 exactly (from 3.1.10), the version resource-runtime takes: its changes are to lock reads (a lock's to-one link check as last committed, the SELECTs in a joining subquery's ON clause locked shared, a one-value list filter counted as an equality, `lockByIds` on the primary key on MySQL and MariaDB) and to `createMany`'s `onConflict` on MySQL and MariaDB, which reads its keys plainly and inserts with a plain INSERT, so first saves of new keys in one gap no longer deadlock (details in `@jskit-ai/resource-runtime`'s changelog).
|
|
6
7
|
- Depends on json-rest-api 3.1.10 exactly (from 3.1.9), the version resource-runtime takes: its change is to the subqueries of a row policy inside a lock (`lock`, `lockMany`, `lockWhere`, `lockPages`), which take a shared lock (details in `@jskit-ai/resource-runtime`'s changelog). No CRUD route takes a row lock, so a CRUD route reads and writes as it did.
|
|
7
8
|
- Depends on json-rest-api 3.1.9 exactly (from 3.1.8), the version resource-runtime takes: its changes are to handle methods no CRUD route calls (`patchWhere` and `deleteWhere`'s selection on MySQL and MariaDB, `lockWhere`'s `after`, `createMany`'s ignore with ids), so a CRUD route reads and writes as it did.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/crud-core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.41",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=24.0.0"
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"./locales/en.json": "./locales/en.json"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@jskit-ai/resource-core": "0.1.
|
|
24
|
-
"@jskit-ai/resource-crud-core": "0.1.
|
|
25
|
-
"json-rest-api": "3.
|
|
23
|
+
"@jskit-ai/resource-core": "0.1.218",
|
|
24
|
+
"@jskit-ai/resource-crud-core": "0.1.220",
|
|
25
|
+
"json-rest-api": "3.2.0",
|
|
26
26
|
"json-rest-schema": "^1.0.20"
|
|
27
27
|
},
|
|
28
28
|
"description": "Shared server-side CRUD service, repository, route, and query helpers.",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@jskit-ai/http-runtime": "0.2.
|
|
53
|
-
"@jskit-ai/kernel": "0.2.
|
|
54
|
-
"@jskit-ai/resource-runtime": "0.2.
|
|
52
|
+
"@jskit-ai/http-runtime": "0.2.27",
|
|
53
|
+
"@jskit-ai/kernel": "0.2.27",
|
|
54
|
+
"@jskit-ai/resource-runtime": "0.2.37"
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"./shared": "./src/shared/index.js"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@jskit-ai/crud-core": "0.2.
|
|
13
|
-
"@jskit-ai/resource-core": "0.1.
|
|
14
|
-
"@jskit-ai/resource-crud-core": "0.1.
|
|
12
|
+
"@jskit-ai/crud-core": "0.2.41",
|
|
13
|
+
"@jskit-ai/resource-core": "0.1.218",
|
|
14
|
+
"@jskit-ai/resource-crud-core": "0.1.220"
|
|
15
15
|
},
|
|
16
16
|
"jskit": {
|
|
17
17
|
"kind": "runtime",
|