Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix node imports #196

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bench.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* global after, before, bench, suite */
import fs from 'node:fs';
import path from 'node:path';
import {fileURLToPath} from 'node:url';
import fs from 'fs';
import path from 'path';
import {fileURLToPath} from 'url';
import rimraf from 'rimraf';
import globbyMainBranch from 'globby';
import gs from 'glob-stream';
Expand Down
6 changes: 3 additions & 3 deletions gitignore.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {promisify} from 'node:util';
import fs from 'node:fs';
import path from 'node:path';
import {promisify} from 'util';
import fs from 'fs';
import path from 'path';
import fastGlob from 'fast-glob';
import gitIgnore from 'ignore';
import slash from 'slash';
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import fs from 'node:fs';
import fs from 'fs';
import arrayUnion from 'array-union';
import merge2 from 'merge2';
import fastGlob from 'fast-glob';
Expand Down
2 changes: 1 addition & 1 deletion stream-utils.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Transform} from 'node:stream';
import {Transform} from 'stream';

class ObjectTransform extends Transform {
constructor() {
Expand Down