@_linked/server 2.13.3 → 2.13.4

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/package.json +6 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @\_linked/server
2
2
 
3
+ ## 2.13.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#93](https://github.com/linked-fw/server/pull/93) [`df86a49`](https://github.com/linked-fw/server/commit/df86a490d3335ab3d36645a8c6ae8f3f713d71c2) Thanks [@flyon](https://github.com/flyon)! - `linked.serverOnly` now names what is actually server-only.
8
+
9
+ It declared wildcards:
10
+
11
+ ```jsonc
12
+ "serverOnly": [".", "./shapes/*", "./server/*", "./utils/*"]
13
+ ```
14
+
15
+ Of the thirteen modules under `shapes/` and `utils/`, **two** reach a node
16
+ builtin. The rest are client-safe and were being reported as server-only to
17
+ every consumer — including `BackendAPIStore`, the client-side store that is
18
+ meant to be imported by a frontend. `./server/*` matched nothing at all.
19
+
20
+ Consumers that enforce a client/server boundary from these declarations were
21
+ therefore flagging correct code, and the usual repair — an allowlist entry, or
22
+ relocating the module — made things worse rather than better.
23
+
24
+ The declaration now lists the six subpaths that genuinely are server-only. No
25
+ code moved and no module changed.
26
+
3
27
  ## 2.13.3
4
28
 
5
29
  ### Patch Changes
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "type": "git",
11
11
  "url": "git+https://github.com/linked-fw/server.git"
12
12
  },
13
- "version": "2.13.3",
13
+ "version": "2.13.4",
14
14
  "packageManager": "npm@11.19.1",
15
15
  "linkedPackage": true,
16
16
  "type": "module",
@@ -95,9 +95,11 @@
95
95
  "linked": {
96
96
  "serverOnly": [
97
97
  ".",
98
- "./shapes/*",
99
- "./server/*",
100
- "./utils/*"
98
+ "./backend",
99
+ "./shapes/LinkedServer",
100
+ "./shapes/filestores/*",
101
+ "./utils/releaseManifest",
102
+ "./utils/routeAssets"
101
103
  ]
102
104
  },
103
105
  "publishConfig": {