Skip to content

Commit

Permalink
fix: Use 'node:' protocol in imports (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
meyfa committed Sep 17, 2023
1 parent aa92fcb commit 850eb7b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
@@ -1,6 +1,6 @@
import { spawn } from 'child_process'
import { createRequire } from 'module'
import { pathToFileURL } from 'url'
import { spawn } from 'node:child_process'
import { createRequire } from 'node:module'
import { pathToFileURL } from 'node:url'
import { resolveTestPaths } from './resolution.js'

const DEFAULT_TEST_EXTENSIONS = ['.js', '.mjs', '.cjs', '.ts', '.mts', '.cts']
Expand Down
6 changes: 3 additions & 3 deletions src/resolution.ts
@@ -1,6 +1,6 @@
import { join } from 'path'
import { readdir } from 'fs/promises'
import { PathLike } from 'fs'
import { join } from 'node:path'
import { readdir } from 'node:fs/promises'
import { PathLike } from 'node:fs'

/**
* Resolve a given set of (user-provided) input paths to explicit file names.
Expand Down

0 comments on commit 850eb7b

Please sign in to comment.