piral-cli 0.14.20-beta.3989 → 0.14.20-beta.4064
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/lib/external/index.js +6 -2
- package/package.json +2 -2
package/lib/external/index.js
CHANGED
|
@@ -40991,7 +40991,7 @@ module.exports = function (args, opts) {
|
|
|
40991
40991
|
var o = obj;
|
|
40992
40992
|
for (var i = 0; i < keys.length-1; i++) {
|
|
40993
40993
|
var key = keys[i];
|
|
40994
|
-
if (key
|
|
40994
|
+
if (isConstructorOrProto(o, key)) return;
|
|
40995
40995
|
if (o[key] === undefined) o[key] = {};
|
|
40996
40996
|
if (o[key] === Object.prototype || o[key] === Number.prototype
|
|
40997
40997
|
|| o[key] === String.prototype) o[key] = {};
|
|
@@ -41000,7 +41000,7 @@ module.exports = function (args, opts) {
|
|
|
41000
41000
|
}
|
|
41001
41001
|
|
|
41002
41002
|
var key = keys[keys.length - 1];
|
|
41003
|
-
if (key
|
|
41003
|
+
if (isConstructorOrProto(o, key)) return;
|
|
41004
41004
|
if (o === Object.prototype || o === Number.prototype
|
|
41005
41005
|
|| o === String.prototype) o = {};
|
|
41006
41006
|
if (o === Array.prototype) o = [];
|
|
@@ -41165,6 +41165,10 @@ function isNumber (x) {
|
|
|
41165
41165
|
}
|
|
41166
41166
|
|
|
41167
41167
|
|
|
41168
|
+
function isConstructorOrProto (obj, key) {
|
|
41169
|
+
return key === 'constructor' && typeof obj[key] === 'function' || key === '__proto__';
|
|
41170
|
+
}
|
|
41171
|
+
|
|
41168
41172
|
|
|
41169
41173
|
/***/ }),
|
|
41170
41174
|
/* 592 */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "piral-cli",
|
|
3
|
-
"version": "0.14.20-beta.
|
|
3
|
+
"version": "0.14.20-beta.4064",
|
|
4
4
|
"description": "The standard CLI for creating and building a Piral instance or a Pilet.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"portal",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"typescript": "^4.0.2",
|
|
78
78
|
"yargs": "^15.4.1"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "bc570a7fe7c77065c4afc481953d711e32c84858"
|
|
81
81
|
}
|