added 3.0.1
This commit is contained in:
parent
6e2b6ca024
commit
751245a2f0
|
|
@ -116,8 +116,8 @@
|
|||
function getDeepMatches(object, pred, excludeKeys) {
|
||||
const keys = typeof object === 'object' && object ? Object.keys(object) : [];
|
||||
|
||||
return keys.length ?
|
||||
keys
|
||||
return keys.length
|
||||
? keys
|
||||
.filter((key) => !excludeKeys.includes(key))
|
||||
.reduce((r, key) => {
|
||||
const target = object[key];
|
||||
|
|
@ -127,8 +127,8 @@
|
|||
} else {
|
||||
return [...r, ...getDeepMatches(target, pred, excludeKeys)]
|
||||
}
|
||||
}, []) :
|
||||
[]
|
||||
}, [] )
|
||||
: []
|
||||
}
|
||||
|
||||
const importPath = /*@__PURE__*/JSON.parse('"../background.js"');
|
||||
|
|
|
|||
Loading…
Reference in New Issue