← back to Designer Wallcoverings
chore: test-koroseal-sample.ts node-fetch require → globalThis.fetch (Node 26)
af955fd3490afaf7e270c2a81d7be188fd9367f7 · 2026-07-09 22:09:58 -0700 · Steve
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files touched
M test-koroseal-sample.ts
Diff
commit af955fd3490afaf7e270c2a81d7be188fd9367f7
Author: Steve <steve@designerwallcoverings.com>
Date: Thu Jul 9 22:09:58 2026 -0700
chore: test-koroseal-sample.ts node-fetch require → globalThis.fetch (Node 26)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
test-koroseal-sample.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test-koroseal-sample.ts b/test-koroseal-sample.ts
index f1c50a23..205d1327 100755
--- a/test-koroseal-sample.ts
+++ b/test-koroseal-sample.ts
@@ -1,5 +1,5 @@
#!/usr/bin/env ts-node
-const fetch = require('node-fetch');
+const fetch = globalThis.fetch; // node-fetch shim removed -- Node 26 global fetch
const config = {
storeDomain: 'designer-laboratory-sandbox.myshopify.com',
← 00187848 chore: codemod 46 DW scripts node-fetch require → globalThis
·
back to Designer Wallcoverings
·
chore: v1.2.1 — node-fetch→globalThis codemod (session close daae1f3f →