We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6955b68 commit 6784f10Copy full SHA for 6784f10
.changeset/hot-clocks-hunt.md
@@ -0,0 +1,5 @@
1
+---
2
+'@vercel/flags': patch
3
4
+
5
+fix use node: protocol for async_hooks import
packages/flags/src/lib/tracing.ts
@@ -4,8 +4,9 @@ import type {
TracerProvider,
AttributeValue,
6
} from '@opentelemetry/api';
7
+import { AsyncLocalStorage } from 'node:async_hooks';
8
9
import { name as pkgName, version } from '../../package.json';
-import { AsyncLocalStorage } from 'async_hooks';
10
11
// Use a symbol to avoid having global variable that is scoped to this file,
12
// as it can lead to issues with cjs and mjs being used at the same time.
0 commit comments