@noy-db/hub 0.7.0-pre.0 → 0.7.0-pre.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 +52 -0
- package/codemods/0.7.0-pre.json +36 -0
- package/dist/cargo/index.js +1 -1
- package/dist/{chunk-Y3YLJORD.js → chunk-3SMSERQU.js} +4 -4
- package/dist/{chunk-Y3YLJORD.js.map → chunk-3SMSERQU.js.map} +1 -1
- package/dist/{chunk-YKPGQJFU.js → chunk-H3VG6XBC.js} +2 -2
- package/dist/{chunk-ATV637J7.js → chunk-ISSU3OH6.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/kernel/vault.d.ts +3 -3
- package/dist/{noydb-EDJA4JNJ.js → noydb-4VV2ZGLZ.js} +2 -2
- package/dist/pod/index.js +2 -2
- package/package.json +3 -3
- /package/dist/{chunk-YKPGQJFU.js.map → chunk-H3VG6XBC.js.map} +0 -0
- /package/dist/{chunk-ATV637J7.js.map → chunk-ISSU3OH6.js.map} +0 -0
- /package/dist/{noydb-EDJA4JNJ.js.map → noydb-4VV2ZGLZ.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,57 @@
|
|
|
1
1
|
# Changelog — hub
|
|
2
2
|
|
|
3
|
+
## 0.7.0-pre.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- **The conformance kit covers both entry-point shapes and both gates (#1209).**
|
|
8
|
+
|
|
9
|
+
`0.7.0-pre.0`'s `/as` inversion silently blinded `@noy-db/test-format-conformance`:
|
|
10
|
+
it denied by proxying the vault, which the inverted method-on-vault shape
|
|
11
|
+
(`vault.export(asCsv())`) bypasses — `this` inside `Vault.export` is the real,
|
|
12
|
+
unproxied object. The four inverted formats' fixtures had been deleted rather
|
|
13
|
+
than migrated, so coverage dropped from nine formats to five with nothing
|
|
14
|
+
turning red.
|
|
15
|
+
|
|
16
|
+
The kit now **patches the instance** instead: own-property assignment shadows
|
|
17
|
+
the prototype method at call time, intercepting the argument shape, the
|
|
18
|
+
inverted shape, and hub's internal delegation. Denials are matched on the
|
|
19
|
+
kit's own error class rather than "it threw", every entry point gets an
|
|
20
|
+
ungated-success guard, and the **import gate (`assertCanImport`) is covered
|
|
21
|
+
for the first time** — a format shipping a `decode` with no declared import
|
|
22
|
+
entries gets a loud `SKIPPED` line.
|
|
23
|
+
|
|
24
|
+
All four fixtures are restored, and a new architecture rule
|
|
25
|
+
(`as-conformance-fixture`) makes a silent fixture deletion impossible.
|
|
26
|
+
|
|
27
|
+
## 0.7.0-pre.1
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- **The `at-*` options types now follow their factories.**
|
|
32
|
+
|
|
33
|
+
`0.7.0-pre.0` renamed every `at-*` factory to `at<Pkg>()` and left four of the
|
|
34
|
+
five options types carrying the retired `SealingProvider` vocabulary — so it
|
|
35
|
+
shipped `atAwsKms()` taking an `AwsKmsSealingProviderOptions`. `at-env` had
|
|
36
|
+
already renamed both halves, which is what makes this a gap rather than a
|
|
37
|
+
decision.
|
|
38
|
+
|
|
39
|
+
| before | after |
|
|
40
|
+
| ------------------------------------- | ------------------------ |
|
|
41
|
+
| `AwsKmsSealingProviderOptions` | `AtAwsKmsOptions` |
|
|
42
|
+
| `GcpKmsSealingProviderOptions` | `AtGcpKmsOptions` |
|
|
43
|
+
| `AzureKeyVaultSealingProviderOptions` | `AtAzureKeyvaultOptions` |
|
|
44
|
+
| `MacosKeychainSealingProviderOptions` | `AtMacosKeychainOptions` |
|
|
45
|
+
|
|
46
|
+
Four rows added to `@noy-db/hub/codemods/0.7.0-pre.json`. `AwsKmsRecipientSealerOptions`
|
|
47
|
+
is deliberately unchanged — it belongs to a different factory that was not renamed.
|
|
48
|
+
|
|
49
|
+
Also corrects a doc comment in `vault.ts` that named two capability gates,
|
|
50
|
+
`canExportPlaintext` and `canExportBundle`, **neither of which has ever
|
|
51
|
+
existed**. The gate is `assertCanExport('plaintext', fmt)` /
|
|
52
|
+
`assertCanExport('bundle')`. That comment ships as JSDoc in the `.d.ts` and had
|
|
53
|
+
propagated into the docs site.
|
|
54
|
+
|
|
3
55
|
## 0.7.0-pre.0
|
|
4
56
|
|
|
5
57
|
### Minor Changes
|
package/codemods/0.7.0-pre.json
CHANGED
|
@@ -245,6 +245,42 @@
|
|
|
245
245
|
"./by",
|
|
246
246
|
"./cargo"
|
|
247
247
|
]
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"from": "AwsKmsSealingProviderOptions",
|
|
251
|
+
"to": "AtAwsKmsOptions",
|
|
252
|
+
"kind": "type",
|
|
253
|
+
"package": "@noy-db/at-aws-kms",
|
|
254
|
+
"safeGlobalReplace": true,
|
|
255
|
+
"section": "at-port",
|
|
256
|
+
"note": "The options type for the renamed factory. `at-env` renamed its pair together (EnvSealingProviderOptions -> AtEnvOptions); these four renamed the FACTORY and left the options type carrying the retired `SealingProvider` vocabulary, so 0.7.0-pre.0 shipped `atAwsKms()` taking an `AwsKmsSealingProviderOptions`. Convention: `at<Pkg>()` takes `At<Pkg>Options` (#1204)."
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"from": "GcpKmsSealingProviderOptions",
|
|
260
|
+
"to": "AtGcpKmsOptions",
|
|
261
|
+
"kind": "type",
|
|
262
|
+
"package": "@noy-db/at-gcp-kms",
|
|
263
|
+
"safeGlobalReplace": true,
|
|
264
|
+
"section": "at-port",
|
|
265
|
+
"note": "The options type for the renamed factory. `at-env` renamed its pair together (EnvSealingProviderOptions -> AtEnvOptions); these four renamed the FACTORY and left the options type carrying the retired `SealingProvider` vocabulary, so 0.7.0-pre.0 shipped `atAwsKms()` taking an `AwsKmsSealingProviderOptions`. Convention: `at<Pkg>()` takes `At<Pkg>Options` (#1204)."
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"from": "AzureKeyVaultSealingProviderOptions",
|
|
269
|
+
"to": "AtAzureKeyvaultOptions",
|
|
270
|
+
"kind": "type",
|
|
271
|
+
"package": "@noy-db/at-azure-keyvault",
|
|
272
|
+
"safeGlobalReplace": true,
|
|
273
|
+
"section": "at-port",
|
|
274
|
+
"note": "The options type for the renamed factory. `at-env` renamed its pair together (EnvSealingProviderOptions -> AtEnvOptions); these four renamed the FACTORY and left the options type carrying the retired `SealingProvider` vocabulary, so 0.7.0-pre.0 shipped `atAwsKms()` taking an `AwsKmsSealingProviderOptions`. Convention: `at<Pkg>()` takes `At<Pkg>Options` (#1204)."
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"from": "MacosKeychainSealingProviderOptions",
|
|
278
|
+
"to": "AtMacosKeychainOptions",
|
|
279
|
+
"kind": "type",
|
|
280
|
+
"package": "@noy-db/at-macos-keychain",
|
|
281
|
+
"safeGlobalReplace": true,
|
|
282
|
+
"section": "at-port",
|
|
283
|
+
"note": "The options type for the renamed factory. `at-env` renamed its pair together (EnvSealingProviderOptions -> AtEnvOptions); these four renamed the FACTORY and left the options type carrying the retired `SealingProvider` vocabulary, so 0.7.0-pre.0 shipped `atAwsKms()` taking an `AwsKmsSealingProviderOptions`. Convention: `at<Pkg>()` takes `At<Pkg>Options` (#1204)."
|
|
248
284
|
}
|
|
249
285
|
],
|
|
250
286
|
"unretired": [
|
package/dist/cargo/index.js
CHANGED
|
@@ -10676,9 +10676,9 @@ var Vault = class {
|
|
|
10676
10676
|
* - The keyring must already carry a wrap for the target tier on
|
|
10677
10677
|
* at least one collection (or be `owner` / `admin`, who can
|
|
10678
10678
|
* auto-mint). Otherwise throws {@link TierNotGrantedError}.
|
|
10679
|
-
* -
|
|
10680
|
-
* `
|
|
10681
|
-
* projection, not a privilege escalation path.
|
|
10679
|
+
* - The export gates (`assertCanExport('plaintext', fmt)` and
|
|
10680
|
+
* `assertCanExport('bundle')`) are NOT bypassed — elevation is a
|
|
10681
|
+
* tier projection, not a privilege escalation path.
|
|
10682
10682
|
* - Only one elevation can be active per vault at a time.
|
|
10683
10683
|
* Calling `elevate(...)` while another is live throws
|
|
10684
10684
|
* {@link AlreadyElevatedError}.
|
|
@@ -14690,4 +14690,4 @@ export {
|
|
|
14690
14690
|
Noydb,
|
|
14691
14691
|
createNoydb
|
|
14692
14692
|
};
|
|
14693
|
-
//# sourceMappingURL=chunk-
|
|
14693
|
+
//# sourceMappingURL=chunk-3SMSERQU.js.map
|