Skip to content

Commit

Permalink
Revert "fix use node: protocol for async_hooks import (#52)"
Browse files Browse the repository at this point in the history
This reverts commit 6784f10.
  • Loading branch information
dferber90 committed Feb 7, 2025
1 parent 475dd26 commit a96464e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions .changeset/hot-clocks-hunt.md

This file was deleted.

2 changes: 1 addition & 1 deletion packages/flags/src/lib/tracing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import type {
TracerProvider,
AttributeValue,
} from '@opentelemetry/api';
import { AsyncLocalStorage } from 'node:async_hooks';
import { name as pkgName, version } from '../../package.json';
import { AsyncLocalStorage } from 'async_hooks';

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

0 comments on commit a96464e

Please sign in to comment.