Skip to content

Commit a96464e

Browse files
committed
Revert "fix use node: protocol for async_hooks import (#52)"
This reverts commit 6784f10.
1 parent 475dd26 commit a96464e

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.changeset/hot-clocks-hunt.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/flags/src/lib/tracing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import type {
44
TracerProvider,
55
AttributeValue,
66
} from '@opentelemetry/api';
7-
import { AsyncLocalStorage } from 'node:async_hooks';
87
import { name as pkgName, version } from '../../package.json';
8+
import { AsyncLocalStorage } from 'async_hooks';
99

1010
// Use a symbol to avoid having global variable that is scoped to this file,
1111
// as it can lead to issues with cjs and mjs being used at the same time.

0 commit comments

Comments
 (0)