node_modules: update

This commit is contained in:
Dawid Dziurla 2020-11-12 16:37:43 +01:00
parent 4a21c51f2f
commit b91baffed3
No known key found for this signature in database
GPG key ID: 7B6D8368172E9B0B
107 changed files with 3886 additions and 2943 deletions

View file

@ -6,7 +6,6 @@ function state (o) {
const {
secret,
censor,
isCensorFct,
compileRestore,
serialize,
groupRedact,
@ -14,8 +13,7 @@ function state (o) {
wildcards,
wcLen
} = o
const builder = [{ secret, censor, isCensorFct, compileRestore }]
builder.push({ secret })
const builder = [{ secret, censor, compileRestore }]
if (serialize !== false) builder.push({ serialize })
if (wcLen > 0) builder.push({ groupRedact, nestedRedact, wildcards, wcLen })
return Object.assign(...builder)