1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-03 12:20:04 +02:00

update modules

This commit is contained in:
s2
2019-08-17 23:19:17 +02:00
parent 5166260592
commit ea913f84b8
14 changed files with 197 additions and 179 deletions

6
node_modules/lodash/_safeGet.js generated vendored
View File

@@ -1,5 +1,5 @@
/**
* Gets the value at `key`, unless `key` is "__proto__".
* Gets the value at `key`, unless `key` is "__proto__" or "constructor".
*
* @private
* @param {Object} object The object to query.
@@ -7,6 +7,10 @@
* @returns {*} Returns the property value.
*/
function safeGet(object, key) {
if (key === 'constructor' && typeof object[key] === 'function') {
return;
}
if (key == '__proto__') {
return;
}