From 05972a58f9adc64aafdaf59568a3ad817e4c8ada Mon Sep 17 00:00:00 2001 From: Robert Jackson Date: Fri, 15 Oct 2021 12:04:34 -0400 Subject: [PATCH] Remove `node:` prefix usage. --- index.js | 10 +++++----- test.js | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/index.js b/index.js index 3cdfac0..eaca9b3 100644 --- a/index.js +++ b/index.js @@ -1,8 +1,8 @@ -import { fileURLToPath } from 'node:url'; -import { dirname } from 'node:path'; -import { createRequire } from 'node:module'; -import { EOL } from 'node:os'; -import fs from 'node:fs'; +import { fileURLToPath } from 'url'; +import { dirname } from 'path'; +import { createRequire } from 'module'; +import { EOL } from 'os'; +import fs from 'fs'; import which from 'which'; import { Plugin } from 'release-it'; import { format } from 'release-it/lib/util.js'; diff --git a/test.js b/test.js index 6393b2b..870b3cc 100644 --- a/test.js +++ b/test.js @@ -1,6 +1,6 @@ -import fs from 'node:fs'; -import path from 'node:path'; -import { createRequire } from 'node:module'; +import fs from 'fs'; +import path from 'path'; +import { createRequire } from 'module'; import tmp from 'tmp'; import test from 'ava'; import { factory, runTasks } from 'release-it/test/util/index.js';