@niscorp/prism 0.2.1 → 0.2.2
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 +13 -0
- package/dist/agent.cjs +4 -756
- package/dist/agent.cjs.map +1 -1
- package/dist/chunk-26VYDHHC.cjs +784 -0
- package/dist/chunk-26VYDHHC.cjs.map +1 -0
- package/dist/chunk-V426VIRI.cjs +1168 -0
- package/dist/chunk-V426VIRI.cjs.map +1 -0
- package/dist/chunk-W32JXP33.cjs +147 -0
- package/dist/chunk-W32JXP33.cjs.map +1 -0
- package/dist/index.cjs +190 -2067
- package/dist/index.cjs.map +1 -1
- package/dist/migrations/index.cjs +7 -1777
- package/dist/migrations/index.cjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @niscorp/prism
|
|
2
2
|
|
|
3
|
+
## 0.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7f8d202: Under `require`, the entry points of nova, prism and strata share one copy of their code, as they always have under `import`.
|
|
8
|
+
|
|
9
|
+
The CommonJS build was not split, so every entry point carried its own copy of each class and of each React context. The ESM build is byte for byte what it was. Under `require`:
|
|
10
|
+
- an error from `@niscorp/strata/postgres`, `/check`, `/upgrade` or `/node` is an `instanceof` the `StrataError` that `@niscorp/strata` exports; one from `prismTransform` of `@niscorp/prism/migrations` is an `instanceof PrismError`; one from `<Nova.Layout>` is an `instanceof NovaError` and of its own class. None of them was.
|
|
11
|
+
- `upgradeStore` names the row it refused — `integration_actions (integration_id="…", action_id="…"): …`, with the upgrader's error as its `cause` — and so does a moss boot that meets a stored row it cannot read. Both gave the upgrader's sentence alone.
|
|
12
|
+
- a kit registered from `@niscorp/nova/adapters/react/components` renders under `<Nova.Shell>`. It threw `useShell must be used inside <NovaShellProvider>`.
|
|
13
|
+
|
|
14
|
+
**What to change:** nothing in an ESM app. A CommonJS app that had built on any of the above — a branch that ran because `instanceof` failed, a match on the whole text of an `upgradeStore` refusal — now sees what an ESM app sees. An app that loads both builds of one package in one process still has two copies of it.
|
|
15
|
+
|
|
3
16
|
## 0.2.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|