Skip to content

Commit

Permalink
fix: node:util instead of util (#3007)
Browse files Browse the repository at this point in the history
* fix: node:util instead of util

* Update test/fetch/request-inspect-custom.js

Co-authored-by: Aras Abbasi <aras.abbasi@googlemail.com>

* Update test/fetch/response-inspect-custom.js

Co-authored-by: Aras Abbasi <aras.abbasi@googlemail.com>

---------

Co-authored-by: Mert Can Altin <mert.altin@trendyol.com>
Co-authored-by: Aras Abbasi <aras.abbasi@googlemail.com>
  • Loading branch information
3 people authored Mar 28, 2024
1 parent fa5bcb4 commit d3d24e2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/web/fetch/headers.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const {
} = require('./util')
const { webidl } = require('./webidl')
const assert = require('node:assert')
const util = require('util')
const util = require('node:util')

const kHeadersMap = Symbol('headers map')
const kHeadersSortedMap = Symbol('headers map sorted')
Expand Down
2 changes: 1 addition & 1 deletion test/fetch/headers-inspect-custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const { Headers } = require('../../lib/web/fetch/headers')
const { test } = require('node:test')
const assert = require('node:assert')
const util = require('util')
const util = require('node:util')

test('Headers class custom inspection', () => {
const headers = new Headers()
Expand Down
4 changes: 2 additions & 2 deletions test/fetch/request-inspect-custom.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict'

const { describe, it } = require('node:test')
const assert = require('assert')
const util = require('util')
const assert = require('node:assert')
const util = require('node:util')
const { Request } = require('../../')

describe('Request custom inspection', () => {
Expand Down
4 changes: 2 additions & 2 deletions test/fetch/response-inspect-custom.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict'

const { describe, it } = require('node:test')
const assert = require('assert')
const util = require('util')
const assert = require('node:assert')
const util = require('node:util')
const { Response } = require('../../')

describe('Response custom inspection', () => {
Expand Down

0 comments on commit d3d24e2

Please sign in to comment.