mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-10-30 15:19:21 +00:00
Drop yarn 4 PnP completely; pnpm is now the only package manager. Touched: package.json packageManager yarn@4 → [email protected].0; resolutions → pnpm.overrides; yarn patches → pnpm.patchedDependencies; "pnpm workspace X" scripts → "pnpm --filter X exec"; drop @yarnpkg/types dep pnpm-workspace.yaml new — mirrors workspaces array .npmrc new — node-linker=hoisted; auto-install-peers patches/ new — moved from .yarn/patches/ apps/mobile/package.json eas-build-pre-install: corepack prep pnpm .yarn/ deleted (PnP state) .yarnrc.yml deleted yarn.lock deleted; pnpm-lock.yaml regenerated .github/actions/yarn/ renamed to .github/actions/pnpm/, rewritten for pnpm/action-setup + pnpm install --frozen-lockfile .github/actions/cache-deps cache paths: ~/.yarn/berry/cache → ~/.local/share/pnpm/store; hashFiles yarn.lock → pnpm-lock.yaml 10 workflows ./.github/actions/yarn → /pnpm; yarn workspaces foreach → pnpm -r; yarn workspace → pnpm --filter; yarn install --immutable → pnpm install --frozen-lockfile; cache: yarn → cache: pnpm This is a hard fork from upstream safe-global/safe-wallet-monorepo (which mandates yarn 4 in its AGENTS.md). Per directive: no yarn in luxfi/* — pnpm only. Upstream merges into this fork will need manual package-manager translation going forward.
16 lines
673 B
Diff
16 lines
673 B
Diff
diff --git a/dist/client/route-loader.js b/dist/client/route-loader.js
|
|
index 888fc23e628cd87fbbf60742aeaaea37b9703f6e..e541dc188c9a8408d11c49f515fde0bfb50d66f7 100644
|
|
--- a/dist/client/route-loader.js
|
|
+++ b/dist/client/route-loader.js
|
|
@@ -124,6 +124,10 @@ function appendScript(src, script) {
|
|
// 3. Finally, set the source and inject into the DOM in case the child
|
|
// must be appended for fetching to start.
|
|
script.src = src;
|
|
+ const hashManifest = window.__CHUNK_SRI_MANIFEST || {};
|
|
+ if (hashManifest[src]) {
|
|
+ script.integrity = hashManifest[src];
|
|
+ }
|
|
document.body.appendChild(script);
|
|
});
|
|
}
|