mirror of https://github.com/pulumi/pulumi.git
7f389fc00a
Calling foo.hasOwnProperty() is potentially incorrect, because it does not necessarily refer to the prototypal Object.hasOwnProperty function, since that function may have been overriden. This is especially true for closure serialization, where a user may have an object { "hasOwnProperty": true }, which would override the prototypal function. This commit replaces all instances of hasOwnProperty and non-prototypal instances of hasOwn with prototypal calls to hasOwn, which is the recommended behavior. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwn#description for more information. |
||
---|---|---|
.. | ||
closure | ||
asyncIterableUtil.ts | ||
config.ts | ||
debuggable.ts | ||
index.ts | ||
invoke.ts | ||
mocks.ts | ||
resource.ts | ||
rpc.ts | ||
settings.ts | ||
stack.ts | ||
state.ts |