pulumi/sdk/nodejs/automation
Robbie McKinstry 7f389fc00a
Eliminate spurious non-prototypal use of hasOwnProperty.
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.
2023-05-15 19:48:48 -04:00
..
cmd.ts Eliminate unnecessary double negations. 2023-05-09 18:35:59 -04:00
config.ts Removing x namespace from go/python/nodejs automation packages (#6518) 2021-04-14 19:32:18 +01:00
errors.ts Apply autoformat 2023-04-28 18:27:10 -04:00
events.ts This commit safely replaces empty interfaces with type aliases. 2023-05-11 23:10:00 -04:00
index.ts [auto/nodejs] Support for remote operations 2022-10-28 12:56:30 -07:00
localWorkspace.ts Eliminate spurious non-prototypal use of hasOwnProperty. 2023-05-15 19:48:48 -04:00
minimumVersion.ts [sdk/nodejs] Mark internal APIs `@internal` to filter from SDK docs 2022-09-20 11:54:06 -07:00
projectSettings.ts Use ESlint instead of TSlint (#7719) 2021-08-10 11:31:59 -07:00
remoteStack.ts Apply autoformat 2023-04-28 18:27:10 -04:00
remoteWorkspace.ts Apply autoformat 2023-04-28 18:27:10 -04:00
server.ts Eliminate unnecessary double negations. 2023-05-09 18:35:59 -04:00
stack.ts Apply autoformat 2023-04-28 18:27:10 -04:00
stackSettings.ts Apply autoformat 2023-04-28 18:27:10 -04:00
tag.ts Add stack tag support for nodejs automation api sdk 2022-12-14 22:27:56 -05:00
workspace.ts Support WhoAmI in automation api for old CLI versions 2023-03-22 13:30:08 +00:00