@jsenv/core 39.5.0 → 39.5.1
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/jsenv_core.js +10 -4
- package/package.json +6 -6
package/dist/jsenv_core.js
CHANGED
|
@@ -2915,13 +2915,19 @@ const applyAssociations = ({ url, associations }) => {
|
|
|
2915
2915
|
};
|
|
2916
2916
|
|
|
2917
2917
|
const deepAssign = (firstValue, secondValue) => {
|
|
2918
|
-
if (!isPlainObject(firstValue)
|
|
2918
|
+
if (!isPlainObject(firstValue)) {
|
|
2919
|
+
if (isPlainObject(secondValue)) {
|
|
2920
|
+
return deepAssign({}, secondValue);
|
|
2921
|
+
}
|
|
2922
|
+
return secondValue;
|
|
2923
|
+
}
|
|
2924
|
+
if (!isPlainObject(secondValue)) {
|
|
2919
2925
|
return secondValue;
|
|
2920
2926
|
}
|
|
2921
2927
|
for (const key of Object.keys(secondValue)) {
|
|
2922
|
-
const
|
|
2923
|
-
const
|
|
2924
|
-
firstValue[key] = deepAssign(
|
|
2928
|
+
const leftPopertyValue = firstValue[key];
|
|
2929
|
+
const rightPropertyValue = secondValue[key];
|
|
2930
|
+
firstValue[key] = deepAssign(leftPopertyValue, rightPropertyValue);
|
|
2925
2931
|
}
|
|
2926
2932
|
return firstValue;
|
|
2927
2933
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/core",
|
|
3
|
-
"version": "39.5.
|
|
3
|
+
"version": "39.5.1",
|
|
4
4
|
"description": "Tool to develop, test and build js projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"eslint": "npx eslint .",
|
|
48
48
|
"test": "node --conditions=development ./scripts/test/test.mjs",
|
|
49
49
|
"build": "node --conditions=development ./scripts/build/build.mjs",
|
|
50
|
-
"
|
|
50
|
+
"packages:test": "npm run test -- ./packages/",
|
|
51
51
|
"workspace:build": "npm run build --workspaces --if-present --conditions=developement",
|
|
52
52
|
"monorepo:sync_packages_versions": "node ./scripts/monorepo/sync_packages_versions.mjs",
|
|
53
53
|
"monorepo:publish": "node ./scripts/monorepo/publish_packages.mjs",
|
|
@@ -70,20 +70,20 @@
|
|
|
70
70
|
"@financial-times/polyfill-useragent-normaliser": "1.10.2",
|
|
71
71
|
"@jsenv/abort": "4.3.0",
|
|
72
72
|
"@jsenv/ast": "6.2.17",
|
|
73
|
-
"@jsenv/filesystem": "4.10.
|
|
73
|
+
"@jsenv/filesystem": "4.10.3",
|
|
74
74
|
"@jsenv/humanize": "1.2.8",
|
|
75
75
|
"@jsenv/importmap": "1.2.1",
|
|
76
76
|
"@jsenv/integrity": "0.0.2",
|
|
77
77
|
"@jsenv/js-module-fallback": "1.3.38",
|
|
78
78
|
"@jsenv/node-esm-resolution": "1.0.6",
|
|
79
|
-
"@jsenv/plugin-bundling": "2.7.
|
|
79
|
+
"@jsenv/plugin-bundling": "2.7.8",
|
|
80
80
|
"@jsenv/plugin-minification": "1.5.5",
|
|
81
81
|
"@jsenv/plugin-supervisor": "1.5.19",
|
|
82
82
|
"@jsenv/plugin-transpilation": "1.4.22",
|
|
83
83
|
"@jsenv/runtime-compat": "1.3.1",
|
|
84
|
-
"@jsenv/server": "15.3.
|
|
84
|
+
"@jsenv/server": "15.3.1",
|
|
85
85
|
"@jsenv/sourcemap": "1.2.23",
|
|
86
|
-
"@jsenv/url-meta": "8.5.
|
|
86
|
+
"@jsenv/url-meta": "8.5.2",
|
|
87
87
|
"@jsenv/urls": "2.5.2",
|
|
88
88
|
"@jsenv/utils": "2.1.2",
|
|
89
89
|
"string-width": "7.2.0",
|