Skip to content

Commit

Permalink
Prefix node: imports
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Apr 27, 2022
1 parent 34ad75b commit b033e0b
Show file tree
Hide file tree
Showing 16 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion lib/log.js
@@ -1,4 +1,4 @@
import { EOL } from 'os';
import { EOL } from 'node:os';
import chalk from 'chalk';
import _ from 'lodash';

Expand Down
2 changes: 1 addition & 1 deletion lib/plugin/GitBase.js
@@ -1,4 +1,4 @@
import { EOL } from 'os';
import { EOL } from 'node:os';
import { format, parseGitUrl } from '../util.js';
import Plugin from './Plugin.js';

Expand Down
6 changes: 3 additions & 3 deletions lib/plugin/factory.js
@@ -1,6 +1,6 @@
import url from 'url';
import path from 'path';
import { createRequire } from 'module';
import url from 'node:url';
import path from 'node:path';
import { createRequire } from 'node:module';
import _ from 'lodash';
import _debug from 'debug';
import Version from './version/Version.js';
Expand Down
2 changes: 1 addition & 1 deletion lib/plugin/git/Git.js
@@ -1,4 +1,4 @@
import { EOL } from 'os';
import { EOL } from 'node:os';
import _ from 'lodash';
import { execa } from 'execa';
import matcher from 'wildcard-match';
Expand Down
4 changes: 2 additions & 2 deletions lib/plugin/github/GitHub.js
@@ -1,5 +1,5 @@
import fs from 'fs';
import path from 'path';
import fs from 'node:fs';
import path from 'node:path';
import open from 'open';
import { Octokit } from '@octokit/rest';
import { globby } from 'globby';
Expand Down
4 changes: 2 additions & 2 deletions lib/plugin/gitlab/GitLab.js
@@ -1,5 +1,5 @@
import fs from 'fs';
import path from 'path';
import fs from 'node:fs';
import path from 'node:path';
import got from 'got';
import { globby } from 'globby';
import FormData from 'form-data';
Expand Down
2 changes: 1 addition & 1 deletion lib/plugin/npm/npm.js
@@ -1,4 +1,4 @@
import path from 'path';
import path from 'node:path';
import semver from 'semver';
import urlJoin from 'url-join';
import Plugin from '../Plugin.js';
Expand Down
4 changes: 2 additions & 2 deletions lib/util.js
@@ -1,5 +1,5 @@
import fs from 'fs';
import { EOL } from 'os';
import fs from 'node:fs';
import { EOL } from 'node:os';
import _ from 'lodash';
import gitUrlParse from 'git-url-parse';
import semver from 'semver';
Expand Down
2 changes: 1 addition & 1 deletion test/git.js
@@ -1,4 +1,4 @@
import { EOL } from 'os';
import { EOL } from 'node:os';
import test from 'ava';
import sinon from 'sinon';
import sh from 'shelljs';
Expand Down
2 changes: 1 addition & 1 deletion test/log.js
@@ -1,4 +1,4 @@
import { EOL } from 'os';
import { EOL } from 'node:os';
import test from 'ava';
import mockStdIo from 'mock-stdio';
import stripAnsi from 'strip-ansi';
Expand Down
2 changes: 1 addition & 1 deletion test/npm.js
@@ -1,4 +1,4 @@
import path from 'path';
import path from 'node:path';
import test from 'ava';
import sinon from 'sinon';
import mock from 'mock-fs';
Expand Down
2 changes: 1 addition & 1 deletion test/plugins.js
@@ -1,4 +1,4 @@
import { join } from 'path';
import { join } from 'node:path';
import test from 'ava';
import sh from 'shelljs';
import sinon from 'sinon';
Expand Down
2 changes: 1 addition & 1 deletion test/tasks.interactive.js
@@ -1,4 +1,4 @@
import path from 'path';
import path from 'node:path';
import test from 'ava';
import sh from 'shelljs';
import _ from 'lodash';
Expand Down
2 changes: 1 addition & 1 deletion test/tasks.js
@@ -1,4 +1,4 @@
import path from 'path';
import path from 'node:path';
import test from 'ava';
import sh from 'shelljs';
import _ from 'lodash';
Expand Down
6 changes: 3 additions & 3 deletions test/util/helpers.js
@@ -1,6 +1,6 @@
import fs from 'fs';
import os from 'os';
import path from 'path';
import fs from 'node:fs';
import os from 'node:os';
import path from 'node:path';
import sh from 'shelljs';

const mkTmpDir = () => {
Expand Down
2 changes: 1 addition & 1 deletion test/utils.js
@@ -1,4 +1,4 @@
import { EOL } from 'os';
import { EOL } from 'node:os';
import test from 'ava';
import mockStdIo from 'mock-stdio';
import stripAnsi from 'strip-ansi';
Expand Down

0 comments on commit b033e0b

Please sign in to comment.