@octanejs/popper 0.0.8 → 0.0.10

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) 2018 React Popper authors
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
@@ -17,10 +17,13 @@ while reusing `@popperjs/core` unchanged.
17
17
  - Pristine Jest peer aliases: `react@18.3.1` / `react-dom@18.3.1` (upstream peer is React 16–18)
18
18
 
19
19
  The pinned tag source, test suites, snapshots, TypeScript programs, package
20
- metadata, README, and license are vendored under `upstream/tag`. The published
21
- npm declaration, package metadata, README, and license are vendored under
22
- `upstream/npm`. `audit/upstream-inventory.json` records their SHA-256 hashes and
23
- the parity audit fails closed when either authority or its case map changes.
20
+ metadata, README, and license are vendored byte-exact under `upstream/` and
21
+ verify offline against the upstream git blob shas in `audit/upstream.lock.json`.
22
+ The pinned license is republished at the package root as `LICENSE.upstream`,
23
+ hash-matched to the lock's license evidence. The published npm declaration,
24
+ package metadata, README, and license are vendored under `upstream-artifact/`;
25
+ `audit/upstream-inventory.json` records their SHA-256 hashes and the parity
26
+ audit fails closed when either authority or its case map changes.
24
27
 
25
28
  Oracle versions above are the resolved lockfile pins used by the pristine and
26
29
  adapted lanes. They must not silently track `catalog:default` drift; bump them
@@ -28,11 +31,12 @@ here and in the lockfile together when the port upgrades its React oracle.
28
31
 
29
32
  ## Host tooling adaptation
30
33
 
31
- The three Jest snapshot files under `upstream/tag/src/__snapshots__/` keep the
32
- pinned v2.3.0 bodies but use the current Jest snapshot guide URL
33
- (`https://jestjs.io/docs/snapshot-testing`) instead of the legacy `goo.gl`
34
- header. Jest 30 rejects the outdated header; the inventory checksums cover the
35
- adapted files.
34
+ Jest 30 rejects the legacy `goo.gl` snapshot header the pinned v2.3.0 snapshots
35
+ carry, so the vendored files under `upstream/src/__snapshots__/` stay byte-exact
36
+ while the lock's adapted rewrite regenerates header-corrected copies under
37
+ `tests/upstream/tag/snapshots/` (gitignored). The pristine Jest lane reads them
38
+ through `tests/upstream-jest.snapshot-resolver.cjs`; the snapshot bodies are
39
+ unchanged.
36
40
 
37
41
  ## Export crosswalk
38
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/popper",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "description": "Exact Octane binding for react-popper 2.3.0",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -24,9 +24,10 @@
24
24
  "types": "./src/index.ts",
25
25
  "files": [
26
26
  "src",
27
+ "LICENSE",
28
+ "LICENSE.upstream",
27
29
  "README.md",
28
- "UPSTREAM.md",
29
- "LICENSE"
30
+ "UPSTREAM.md"
30
31
  ],
31
32
  "exports": {
32
33
  ".": "./src/index.ts",
@@ -37,7 +38,7 @@
37
38
  },
38
39
  "peerDependencies": {
39
40
  "@popperjs/core": "^2.0.0",
40
- "octane": "0.1.42"
41
+ "octane": "0.1.44"
41
42
  },
42
43
  "devDependencies": {
43
44
  "@babel/core": "^7.28.0",
@@ -67,7 +68,7 @@
67
68
  "vite": "^8.1.5",
68
69
  "vitest": "^4.1.10",
69
70
  "warning": "^4.0.3",
70
- "octane": "0.1.42"
71
+ "octane": "0.1.44"
71
72
  },
72
73
  "scripts": {
73
74
  "test": "pnpm upstream:verify && pnpm test:audit && pnpm test:type-parity && pnpm typecheck && vitest run --root ../.. --project popper --project popper-ssr --project popper-hydration --project popper-differential",