@augment-vir/node 31.71.3 → 31.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/augments/fs/grep.js
CHANGED
|
@@ -75,11 +75,7 @@ export async function grep(grepSearchPattern, grepSearchLocation, options = {})
|
|
|
75
75
|
...(options.excludePatterns?.length
|
|
76
76
|
? options.excludePatterns.map((excludePattern) => `--exclude="${escape(excludePattern)}"`)
|
|
77
77
|
: []),
|
|
78
|
-
options.recursive
|
|
79
|
-
? options.followSymLinks
|
|
80
|
-
? '-RS'
|
|
81
|
-
: '--recursive'
|
|
82
|
-
: '',
|
|
78
|
+
options.recursive ? (options.followSymLinks ? '-RS' : '--recursive') : '',
|
|
83
79
|
...(options.excludeDirs?.length
|
|
84
80
|
? options.excludeDirs.map((excludeDir) => `--exclude-dir="${escape(excludeDir)}"`)
|
|
85
81
|
: []),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@augment-vir/node",
|
|
3
|
-
"version": "31.
|
|
3
|
+
"version": "31.72.0",
|
|
4
4
|
"description": "A collection of augments, helpers types, functions, and classes only for Node.js (backend) JavaScript environments.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"augment",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"type": "git",
|
|
22
22
|
"url": "git+https://github.com/electrovir/augment-vir.git"
|
|
23
23
|
},
|
|
24
|
-
"license": "(MIT
|
|
24
|
+
"license": "(MIT OR CC0-1.0)",
|
|
25
25
|
"author": {
|
|
26
26
|
"name": "electrovir",
|
|
27
27
|
"url": "https://github.com/electrovir"
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
"test:update": "npm test"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@augment-vir/assert": "^31.
|
|
42
|
-
"@augment-vir/common": "^31.
|
|
41
|
+
"@augment-vir/assert": "^31.72.0",
|
|
42
|
+
"@augment-vir/common": "^31.72.0",
|
|
43
43
|
"@date-vir/duration": "^8.3.2",
|
|
44
44
|
"ansi-styles": "^6.2.3",
|
|
45
45
|
"sanitize-filename": "^1.6.4",
|
|
46
46
|
"terminate": "^2.8.0",
|
|
47
|
-
"tsx": "^4.
|
|
47
|
+
"tsx": "^4.22.3",
|
|
48
48
|
"type-fest": "^5.6.0",
|
|
49
49
|
"typed-event-target": "^4.3.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@augment-vir/test": "^31.
|
|
53
|
-
"@types/node": "^25.
|
|
52
|
+
"@augment-vir/test": "^31.72.0",
|
|
53
|
+
"@types/node": "^25.9.1",
|
|
54
54
|
"@web/dev-server-esbuild": "^1.0.5",
|
|
55
55
|
"@web/test-runner": "^0.20.2",
|
|
56
56
|
"@web/test-runner-playwright": "^0.11.1",
|
package/src/augments/fs/grep.ts
CHANGED
|
@@ -279,11 +279,7 @@ export async function grep<const CountOnly extends boolean = false>(
|
|
|
279
279
|
(excludePattern) => `--exclude="${escape(excludePattern)}"`,
|
|
280
280
|
)
|
|
281
281
|
: []),
|
|
282
|
-
options.recursive
|
|
283
|
-
? options.followSymLinks
|
|
284
|
-
? '-RS'
|
|
285
|
-
: '--recursive'
|
|
286
|
-
: '',
|
|
282
|
+
options.recursive ? (options.followSymLinks ? '-RS' : '--recursive') : '',
|
|
287
283
|
...(options.excludeDirs?.length
|
|
288
284
|
? options.excludeDirs.map((excludeDir) => `--exclude-dir="${escape(excludeDir)}"`)
|
|
289
285
|
: []),
|