pulumi/sdk/nodejs/runtime
Thomas Gummerer 12d8351f91
set mock monitor in global store (#17769)
Currently when setting a mock monitor, we only set it in a local
variable. Unfortunately it is possible for multiple @pulumi/pulumi
modules to be loaded at the same time. This means one of them might have
the mock monitor loaded, while the other versions don't, resulting in
confusing behaviour for the user.

Fix this by setting the mock monitor in the global settings, so it's
available in all versions of the SDK.

Fixes https://github.com/pulumi/pulumi/issues/12141
2024-11-21 09:39:37 +00:00
..
closure Improve TypeDocs for `sdk/nodejs/runtime` (#16621) 2024-07-15 11:27:47 +00:00
asyncIterableUtil.ts Improve TypeDocs for `sdk/nodejs/runtime` (#16621) 2024-07-15 11:27:47 +00:00
callbacks.ts implement invoke transforms for NodeJS (#16688) 2024-07-18 08:41:39 +00:00
config.ts Improve TypeDocs for `sdk/nodejs/runtime` (#16621) 2024-07-15 11:27:47 +00:00
debuggable.ts Improve TypeDocs for `sdk/nodejs/runtime` (#16621) 2024-07-15 11:27:47 +00:00
dependsOn.ts [Node.js] Allow specifiying dependencies for output invokes (#17632) 2024-11-20 16:03:11 +00:00
index.ts Add support for async mocks in TS 2023-06-01 13:58:53 +02:00
invoke.ts [Node.js] Allow specifiying dependencies for output invokes (#17632) 2024-11-20 16:03:11 +00:00
mocks.ts Improve TypeDocs for `sdk/nodejs/runtime` (#16621) 2024-07-15 11:27:47 +00:00
resource.ts [Node.js] Allow specifiying dependencies for output invokes (#17632) 2024-11-20 16:03:11 +00:00
rpc.ts [sdk/nodejs] Maintain secretness and input dependencies of output invokes (#17479) 2024-10-05 00:40:19 +00:00
settings.ts set mock monitor in global store (#17769) 2024-11-21 09:39:37 +00:00
stack.ts implement invoke transforms for NodeJS (#16688) 2024-07-18 08:41:39 +00:00
state.ts Add packageReferences feature flag (#17153) 2024-09-13 14:32:53 +00:00