mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
* Updating mixin-deep * update kbn/pm dist
This commit is contained in:
parent
95c85321a0
commit
ab2d5672e9
2 changed files with 15 additions and 4 deletions
13
packages/kbn-pm/dist/index.js
vendored
13
packages/kbn-pm/dist/index.js
vendored
|
@ -48209,7 +48209,7 @@ function mixinDeep(target, objects) {
|
|||
*/
|
||||
|
||||
function copy(val, key) {
|
||||
if (key === '__proto__') {
|
||||
if (!isValidKey(key)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -48232,6 +48232,17 @@ function isObject(val) {
|
|||
return isExtendable(val) && !Array.isArray(val);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if `key` is a valid key to use when extending objects.
|
||||
*
|
||||
* @param {String} `key`
|
||||
* @return {Boolean}
|
||||
*/
|
||||
|
||||
function isValidKey(key) {
|
||||
return key !== '__proto__' && key !== 'constructor' && key !== 'prototype';
|
||||
};
|
||||
|
||||
/**
|
||||
* Expose `mixinDeep`
|
||||
*/
|
||||
|
|
|
@ -19293,9 +19293,9 @@ mississippi@^3.0.0:
|
|||
through2 "^2.0.0"
|
||||
|
||||
mixin-deep@^1.2.0:
|
||||
version "1.3.1"
|
||||
resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.1.tgz#a49e7268dce1a0d9698e45326c5626df3543d0fe"
|
||||
integrity sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==
|
||||
version "1.3.2"
|
||||
resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566"
|
||||
integrity sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==
|
||||
dependencies:
|
||||
for-in "^1.0.2"
|
||||
is-extendable "^1.0.1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue