Skip to content

Commit

Permalink
resources: mark node's modules with 'node:' prefix (graphql#3587)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov authored May 13, 2022
1 parent 4d6382c commit 4cd8635
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion resources/benchmark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,8 @@ interface BenchmarkSample {

function sampleModule(modulePath: string): Promise<BenchmarkSample> {
const sampleCode = `
import assert from 'assert';
import assert from 'node:assert';
assert(global.gc);
assert(process.send);
Expand Down
4 changes: 2 additions & 2 deletions resources/gen-changelog.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as https from 'https';
import * as util from 'util';
import * as https from 'node:https';
import * as util from 'node:util';

import { execOutput, readPackageJSON } from './utils';

Expand Down

0 comments on commit 4cd8635

Please sign in to comment.