@octanejs/markdown 0.0.8 → 0.0.9

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.
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) Espen Hovlandsdal
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/UPSTREAM.md CHANGED
@@ -14,9 +14,15 @@
14
14
  | Type oracle | `@types/react@19.2.17` / `@types/react-dom@19.2.3` |
15
15
  | License | MIT, retained byte-exact under both evidence boundaries |
16
16
 
17
- `upstream/npm/package/` is the unpacked registry artifact. `upstream/source/`
18
- contains the canonical runtime source, test suite, JSX loader, TypeScript
19
- configuration, package metadata, and license from the pinned commit. The npm
17
+ `upstream-artifact/package/` is the unpacked registry artifact, hash-pinned by
18
+ the provenance verifier. `upstream/` contains the canonical runtime source,
19
+ test suite, JSX loader, TypeScript configuration, package metadata, and
20
+ license from the pinned commit, pinned by `audit/upstream.lock.json`: each
21
+ committed file verifies offline against its upstream git blob sha
22
+ (`pnpm react-port:materialize run --check --package-dir packages/markdown`),
23
+ and the verifier's negative controls exercise that layer. The upstream MIT
24
+ license is retained byte-exact as `LICENSE.upstream`, hash-matched to the
25
+ lock. The npm
20
26
  artifact does not publish `test.jsx` or `script/load-jsx.js`, so the canonical
21
27
  repository supplies that test boundary. The runtime source and license present
22
28
  in both artifacts are byte-identical.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/markdown",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -23,7 +23,8 @@
23
23
  "src",
24
24
  "LICENSE",
25
25
  "README.md",
26
- "UPSTREAM.md"
26
+ "UPSTREAM.md",
27
+ "LICENSE.upstream"
27
28
  ],
28
29
  "exports": {
29
30
  ".": "./src/index.ts"
@@ -42,7 +43,7 @@
42
43
  "vfile": "^6.0.0"
43
44
  },
44
45
  "peerDependencies": {
45
- "octane": "0.1.42"
46
+ "octane": "0.1.43"
46
47
  },
47
48
  "devDependencies": {
48
49
  "@testing-library/react": "16.3.2",
@@ -61,13 +62,13 @@
61
62
  "remark-gfm": "^4.0.1",
62
63
  "remark-toc": "^9.0.0",
63
64
  "vitest": "^4.1.10",
64
- "@octanejs/testing-library": "0.1.39",
65
- "octane": "0.1.42"
65
+ "@octanejs/testing-library": "0.1.40",
66
+ "octane": "0.1.43"
66
67
  },
67
68
  "scripts": {
68
69
  "test": "pnpm upstream:verify && pnpm test:pristine && vitest run --config vitest.config.ts --root . tests/probes/async-component.server.test.ts tests/adoption/consumer.test.ts tests/adoption/consumer.server.test.ts tests/audit tests/differential tests/conformance tests/async tests/hooks tests/validation.test.ts",
69
70
  "test:architecture": "vitest run --config vitest.config.ts --root . tests/probes/async-component.server.test.ts",
70
- "test:pristine": "node ../../scripts/react-parity/node-full-runner.mjs --root packages/markdown/upstream/source --file packages/markdown/upstream/source/test.jsx --loader packages/markdown/upstream/source/script/load-jsx.js --inventory packages/markdown/audit/pristine-runtime.json",
71
+ "test:pristine": "node ../../scripts/react-parity/node-full-runner.mjs --root packages/markdown/upstream --file packages/markdown/upstream/test.jsx --loader packages/markdown/upstream/script/load-jsx.js --inventory packages/markdown/audit/pristine-runtime.json",
71
72
  "upstream:verify": "node audit/verify-provenance.mjs --self-test",
72
73
  "typecheck": "tsrx-tsc --noEmit -p tsconfig.json && tsrx-tsc --noEmit -p typetests/tsconfig.json"
73
74
  }