Skip to content

Commit

Permalink
style: fix import url → node:url
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed May 5, 2024
1 parent daddd77 commit 7114097
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/vendor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import { URL } from 'node:url'
import {
convertPathToPattern,
globby,
Expand All @@ -24,7 +25,6 @@ import {
isDynamicPattern,
type Options as GlobbyOptions,
} from 'globby'

import * as yaml from 'yaml'
import * as _fs from 'fs-extra'
import type { fetch } from 'node-fetch-native'
Expand All @@ -33,7 +33,6 @@ import { AbortController } from 'node-abort-controller'
export { exec, buildCmd } from 'zurk/spawn'

import _createRequire from 'create-require'
import { URL } from 'url'

export const createRequire = _createRequire as unknown as (
filename: string | URL
Expand Down

0 comments on commit 7114097

Please sign in to comment.