Unverified Commit e6d27d4a authored by Josh Story's avatar Josh Story Committed by GitHub

Rename node extension utils for clarity (#89970)

finding the file with sync IO utils is tricky because it is called
`utils`. this change gives the file a more clear name.
parent ea3e11bc
......@@ -9,7 +9,7 @@
*
* The extensions here never error nor alter the underlying Date objects, strings, and numbers created and thus should be transparent to callers.
*/
import { io } from './utils'
import { io } from './io-utils'
function createNow(originalNow: typeof Date.now) {
return {
......
......@@ -7,7 +7,7 @@
* The extensions here never error nor alter the underlying return values and thus should be transparent to callers.
*/
import { io } from './utils'
import { io } from './io-utils'
if (process.env.NEXT_RUNTIME === 'edge') {
// nothing to patch
......
......@@ -6,7 +6,7 @@
* The extensions here never error nor alter the random generation itself and thus should be transparent to callers.
*/
import { io } from './utils'
import { io } from './io-utils'
const expression = '`Math.random()`'
try {
......
......@@ -7,7 +7,7 @@
* The extensions here never error nor alter the underlying return values and thus should be transparent to callers.
*/
import { io } from './utils'
import { io } from './io-utils'
let webCrypto: typeof crypto
if (process.env.NEXT_RUNTIME === 'edge') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment