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
4
node_modules/es-abstract/2016/CreateDataProperty.js
generated
vendored
4
node_modules/es-abstract/2016/CreateDataProperty.js
generated
vendored
|
|
@ -25,8 +25,8 @@ module.exports = function CreateDataProperty(O, P, V) {
|
|||
}
|
||||
var oldDesc = OrdinaryGetOwnProperty(O, P);
|
||||
var extensible = !oldDesc || IsExtensible(O);
|
||||
var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);
|
||||
if (immutable || !extensible) {
|
||||
var nonConfigurable = oldDesc && !oldDesc['[[Configurable]]'];
|
||||
if (nonConfigurable || !extensible) {
|
||||
return false;
|
||||
}
|
||||
return DefineOwnProperty(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue