[object Object]

← back to Designer Wallcoverings

chore: test-koroseal-sample.ts node-fetch require → globalThis.fetch (Node 26)

2d06b02a0a6c1c2f6ecd08332206cef1d32eb1b5 · 2026-07-09 22:09:58 -0700 · Steve

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit 2d06b02a0a6c1c2f6ecd08332206cef1d32eb1b5
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',

← 7d1e0a32 chore: codemod 46 DW scripts node-fetch require → globalThis  ·  back to Designer Wallcoverings  ·  chore: v1.2.1 — node-fetch→globalThis codemod (session close 743dc059 →