@nestjs/cli 10.1.7 → 10.1.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.
|
@@ -142,6 +142,12 @@ class SwcCompiler extends base_compiler_1.BaseCompiler {
|
|
|
142
142
|
source === null) {
|
|
143
143
|
return source;
|
|
144
144
|
}
|
|
145
|
+
if (Array.isArray(target) && Array.isArray(source)) {
|
|
146
|
+
return source.reduce((acc, value, index) => {
|
|
147
|
+
acc[index] = this.deepMerge(target[index], value);
|
|
148
|
+
return acc;
|
|
149
|
+
}, target);
|
|
150
|
+
}
|
|
145
151
|
const merged = { ...target };
|
|
146
152
|
for (const key in source) {
|
|
147
153
|
if (source.hasOwnProperty(key)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs/cli",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.8",
|
|
4
4
|
"description": "Nest - modern, fast, powerful node.js web framework (@cli)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -67,23 +67,23 @@
|
|
|
67
67
|
"@swc/cli": "0.1.62",
|
|
68
68
|
"@swc/core": "1.3.68",
|
|
69
69
|
"@types/inquirer": "8.2.6",
|
|
70
|
-
"@types/jest": "29.5.
|
|
70
|
+
"@types/jest": "29.5.3",
|
|
71
71
|
"@types/node": "18.16.19",
|
|
72
72
|
"@types/node-emoji": "1.8.2",
|
|
73
73
|
"@types/shelljs": "0.8.12",
|
|
74
74
|
"@types/webpack-node-externals": "3.0.0",
|
|
75
|
-
"@typescript-eslint/eslint-plugin": "
|
|
76
|
-
"@typescript-eslint/parser": "
|
|
75
|
+
"@typescript-eslint/eslint-plugin": "6.0.0",
|
|
76
|
+
"@typescript-eslint/parser": "6.0.0",
|
|
77
77
|
"delete-empty": "3.0.0",
|
|
78
78
|
"eslint": "8.44.0",
|
|
79
79
|
"eslint-config-prettier": "8.8.0",
|
|
80
80
|
"gulp": "4.0.2",
|
|
81
81
|
"gulp-clean": "0.4.0",
|
|
82
82
|
"husky": "8.0.3",
|
|
83
|
-
"jest": "29.6.
|
|
83
|
+
"jest": "29.6.1",
|
|
84
84
|
"lint-staged": "13.2.3",
|
|
85
|
-
"prettier": "
|
|
86
|
-
"release-it": "
|
|
85
|
+
"prettier": "3.0.0",
|
|
86
|
+
"release-it": "16.1.0",
|
|
87
87
|
"ts-jest": "29.1.1",
|
|
88
88
|
"ts-loader": "9.4.4"
|
|
89
89
|
},
|