summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/glob/dist/mjs/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/glob/dist/mjs/index.js')
-rw-r--r--deps/npm/node_modules/glob/dist/mjs/index.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/deps/npm/node_modules/glob/dist/mjs/index.js b/deps/npm/node_modules/glob/dist/mjs/index.js
index df9deead11..7b270117e7 100644
--- a/deps/npm/node_modules/glob/dist/mjs/index.js
+++ b/deps/npm/node_modules/glob/dist/mjs/index.js
@@ -10,7 +10,7 @@ export function globStream(pattern, options = {}) {
export function globSync(pattern, options = {}) {
return new Glob(pattern, options).walkSync();
}
-export async function glob(pattern, options = {}) {
+async function glob_(pattern, options = {}) {
return new Glob(pattern, options).walk();
}
export function globIterateSync(pattern, options = {}) {
@@ -35,8 +35,8 @@ export { escape, unescape } from 'minimatch';
export { Glob } from './glob.js';
export { hasMagic } from './has-magic.js';
/* c8 ignore stop */
-export default Object.assign(glob, {
- glob,
+export const glob = Object.assign(glob_, {
+ glob: glob_,
globSync,
sync,
globStream,
@@ -52,4 +52,5 @@ export default Object.assign(glob, {
escape,
unescape,
});
+glob.glob = glob;
//# sourceMappingURL=index.js.map \ No newline at end of file