+11
-11
lines changedFilter options
+11
-11
lines changed Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
exports.Glob = void 0;
4
4
const minimatch_1 = require("minimatch");
5
5
const path_scurry_1 = require("path-scurry");
6
-
const url_1 = require("url");
6
+
const node_url_1 = require("node:url");
7
7
const pattern_js_1 = require("./pattern.js");
8
8
const walker_js_1 = require("./walker.js");
9
9
// if no process global, just call it linux.
@@ -77,7 +77,7 @@ class Glob {
77
77
this.cwd = '';
78
78
}
79
79
else if (opts.cwd instanceof URL || opts.cwd.startsWith('file://')) {
80
-
opts.cwd = (0, url_1.fileURLToPath)(opts.cwd);
80
+
opts.cwd = (0, node_url_1.fileURLToPath)(opts.cwd);
81
81
}
82
82
this.cwd = opts.cwd || '';
83
83
this.root = opts.root;
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1
1
import { Minimatch } from 'minimatch';
2
2
import { PathScurry, PathScurryDarwin, PathScurryPosix, PathScurryWin32, } from 'path-scurry';
3
-
import { fileURLToPath } from 'url';
3
+
import { fileURLToPath } from 'node:url';
4
4
import { Pattern } from './pattern.js';
5
5
import { GlobStream, GlobWalker } from './walker.js';
6
6
// if no process global, just call it linux.
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
2
2
"author": "Isaac Z. Schlueter <i@izs.me> (https://blog.izs.me/)",
3
3
"name": "glob",
4
4
"description": "the most correct and second fastest glob implementation in JavaScript",
5
-
"version": "10.3.12",
5
+
"version": "10.3.14",
6
6
"type": "module",
7
7
"tshy": {
8
8
"main": true,
@@ -70,7 +70,7 @@
70
70
"jackspeak": "^2.3.6",
71
71
"minimatch": "^9.0.1",
72
72
"minipass": "^7.0.4",
73
-
"path-scurry": "^1.10.2"
73
+
"path-scurry": "^1.11.0"
74
74
},
75
75
"devDependencies": {
76
76
"@types/node": "^20.11.30",
Original file line number Diff line number Diff line change
@@ -104,7 +104,7 @@
104
104
"cli-columns": "^4.0.0",
105
105
"fastest-levenshtein": "^1.0.16",
106
106
"fs-minipass": "^3.0.3",
107
-
"glob": "^10.3.12",
107
+
"glob": "^10.3.14",
108
108
"graceful-fs": "^4.2.11",
109
109
"hosted-git-info": "^7.0.2",
110
110
"ini": "^4.1.2",
@@ -5465,16 +5465,16 @@
5465
5465
"dev": true
5466
5466
},
5467
5467
"node_modules/glob": {
5468
-
"version": "10.3.12",
5469
-
"resolved": "https://registry.npmjs.org/glob/-/glob-10.3.12.tgz",
5470
-
"integrity": "sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg==",
5468
+
"version": "10.3.14",
5469
+
"resolved": "https://registry.npmjs.org/glob/-/glob-10.3.14.tgz",
5470
+
"integrity": "sha512-4fkAqu93xe9Mk7le9v0y3VrPDqLKHarNi2s4Pv7f2yOvfhWfhc7hRPHC/JyqMqb8B/Dt/eGS4n7ykwf3fOsl8g==",
5471
5471
"inBundle": true,
5472
5472
"dependencies": {
5473
5473
"foreground-child": "^3.1.0",
5474
5474
"jackspeak": "^2.3.6",
5475
5475
"minimatch": "^9.0.1",
5476
5476
"minipass": "^7.0.4",
5477
-
"path-scurry": "^1.10.2"
5477
+
"path-scurry": "^1.11.0"
5478
5478
},
5479
5479
"bin": {
5480
5480
"glob": "dist/esm/bin.mjs"
Original file line number Diff line number Diff line change
@@ -69,7 +69,7 @@
69
69
"cli-columns": "^4.0.0",
70
70
"fastest-levenshtein": "^1.0.16",
71
71
"fs-minipass": "^3.0.3",
72
-
"glob": "^10.3.12",
72
+
"glob": "^10.3.14",
73
73
"graceful-fs": "^4.2.11",
74
74
"hosted-git-info": "^7.0.2",
75
75
"ini": "^4.1.2",
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4