Bump eslint-plugin-import to avoid vulnerability in dependency
This commit is contained in:
parent
10695e6a20
commit
ed9506bbaf
1660 changed files with 67726 additions and 27926 deletions
14
node_modules/es-abstract/2017/Set.js
generated
vendored
14
node_modules/es-abstract/2017/Set.js
generated
vendored
|
|
@ -36,12 +36,12 @@ module.exports = function Set(O, P, V, Throw) {
|
|||
throw new $TypeError('Attempted to assign to readonly property.');
|
||||
}
|
||||
return true;
|
||||
} else {
|
||||
try {
|
||||
O[P] = V; // eslint-disable-line no-param-reassign
|
||||
return noThrowOnStrictViolation ? SameValue(O[P], V) : true;
|
||||
} catch (e) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
try {
|
||||
O[P] = V; // eslint-disable-line no-param-reassign
|
||||
return noThrowOnStrictViolation ? SameValue(O[P], V) : true;
|
||||
} catch (e) {
|
||||
return false;
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue