Skip to content

Commit a617b4f

Browse files
authored
Merge pull request #1162 from Shopify/add-missing-import-for-node-14
Import performance from perf_hooks
2 parents 9c80989 + d81271a commit a617b4f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/wise-numbers-bathe.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/cli-kit': patch
3+
---
4+
5+
Fix performance import for Node 14

packages/cli-kit/src/public/node/http.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import {buildHeaders, httpsAgent, sanitizedHeadersOutput} from '../../private/no
22
import {content, debug} from '../../output.js'
33
import FormData from 'form-data'
44
import nodeFetch, {RequestInfo, RequestInit} from 'node-fetch'
5+
import {performance} from 'perf_hooks'
56

67
export {
78
createApp,

0 commit comments

Comments
 (0)