Files
orca/mobile/patches/query-string@9.5.1.patch
T
Jinwoo Hong 169bccc544 fix(mobile): restore query-string's named exports under the 9.5.1 override (#21727)
#21652 overrode query-string to 9.5.1 for GHSA-vcc3-ghjq-m6fr (decode-uri-component
<= 0.4.2). 9.x's entry exports only `default`, while expo-router's linking forks,
@react-navigation/core and @react-navigation/native all `import * as queryString`,
so `stringify` and `parse` became undefined: any push carrying a param outside the
path pattern and any href with a query threw. Patch the entry to re-export the named
API; the override and the advisory fix stay.

The lockfile carries the patch hash only; regenerated by hand because a non-frozen
install re-resolves peer suffixes across the file.

Claude-Session: https://claude.ai/code/session_01JNnE9qzUZMMnqpZWCqM3nb
2026-09-20 23:45:38 -04:00

11 lines
279 B
Diff

diff --git a/index.js b/index.js
index 0480a96d718c997b0a5a54b775e635e2e048e796..85f71b13d3f0f31c3c2140581d1e4051afb21dc3 100644
--- a/index.js
+++ b/index.js
@@ -1,3 +1,5 @@
import * as queryString from './base.js';
export default queryString;
+
+export * from './base.js';