Skip to content

Commit e6c72c9

Browse files
committed
Fix bundler compatibility
Fixes #260
1 parent b9a9a84 commit e6c72c9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ignore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import fastGlob from 'fast-glob';
66
import gitIgnore from 'ignore';
77
import isPathInside from 'is-path-inside';
88
import slash from 'slash';
9-
import {toPath} from 'unicorn-magic';
9+
import {toPath} from 'unicorn-magic/node';
1010
import {
1111
isNegativePattern,
1212
bindFsMethod,

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import nodePath from 'node:path';
44
import {Readable} from 'node:stream';
55
import mergeStreams from '@sindresorhus/merge-streams';
66
import fastGlob from 'fast-glob';
7-
import {toPath} from 'unicorn-magic';
7+
import {toPath} from 'unicorn-magic/node';
88
import {
99
GITIGNORE_FILES_PATTERN,
1010
getIgnorePatternsAndPredicate,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"ignore": "^7.0.5",
6969
"is-path-inside": "^4.0.0",
7070
"slash": "^5.1.0",
71-
"unicorn-magic": "^0.3.0"
71+
"unicorn-magic": "^0.4.0"
7272
},
7373
"devDependencies": {
7474
"@globby/main-branch": "sindresorhus/globby#main",

0 commit comments

Comments
 (0)