@yamato-daiwa/es-extensions-nodejs 1.8.6 → 1.8.8
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.
|
@@ -92,7 +92,12 @@ class ImprovedGlob {
|
|
|
92
92
|
}),
|
|
93
93
|
"**/*",
|
|
94
94
|
...fileNamePostfixes.size > 0 ?
|
|
95
|
-
[
|
|
95
|
+
[
|
|
96
|
+
`@(${Array.from(fileNamePostfixes).
|
|
97
|
+
join("|").
|
|
98
|
+
replace(/\./gu, "")})`
|
|
99
|
+
] :
|
|
100
|
+
[],
|
|
96
101
|
...fileNamesExtensions.size > 0 ?
|
|
97
102
|
[ImprovedGlob.createMultipleFilenameExtensionsGlobPostfix(fileNamesExtensions)] : []
|
|
98
103
|
].join("");
|
|
@@ -218,7 +223,9 @@ class ImprovedGlob {
|
|
|
218
223
|
].join("");
|
|
219
224
|
}
|
|
220
225
|
static createMultipleFilenameExtensionsGlobPostfix(fileNamesExtensions) {
|
|
221
|
-
return `.@(${(Array.isArray(fileNamesExtensions) ?
|
|
226
|
+
return `.@(${(Array.isArray(fileNamesExtensions) ?
|
|
227
|
+
fileNamesExtensions :
|
|
228
|
+
Array.from(fileNamesExtensions)).join("|").replace(/\./gu, "")})`;
|
|
222
229
|
}
|
|
223
230
|
static buildAbsolutePathBasedGlob(compoundParameter) {
|
|
224
231
|
return [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamato-daiwa/es-extensions-nodejs",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.8",
|
|
4
4
|
"description": "Additional to @yamato-daiwa/es-extensions functionality for Node.js environment. Helper functions and classes aimed to reduce the routine code. Build-in TypeScript type safety.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nodejs",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"node": ">=20.0.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@yamato-daiwa/es-extensions": "1.8.
|
|
35
|
+
"@yamato-daiwa/es-extensions": "1.8.8"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"dotenv": "17.3.1",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@types/json5": "0.0.30",
|
|
46
46
|
"@types/node": "22.15.31",
|
|
47
47
|
"@types/yamljs": "0.2.34",
|
|
48
|
-
"@yamato-daiwa/es-extensions": "1.8.
|
|
48
|
+
"@yamato-daiwa/es-extensions": "1.8.8",
|
|
49
49
|
"@yamato-daiwa/style_guides": "0.11.6",
|
|
50
50
|
"rimraf": "6.1.3",
|
|
51
51
|
"tsx": "4.21.0",
|