mirror of https://github.com/pulumi/pulumi.git
f7397bb798
It is possible for the same version of the same provider SDK to be loaded multiple times in Node.js. In this case, we might legitimately get mutliple registrations of the same resource. It should not matter which we use, so we can just skip re-registering. De-serialized resources will always be instances of classes from the first registered package. Example layout this addresses. Registrations of resources in `package3` at the same verrsion. `node_modules` `@pulumi/pulumi` `package1` `node_modules` `package3` `package2` `node_modules` `package3` Fixes #6258. |
||
---|---|---|
.. | ||
closure | ||
asyncIterableUtil.ts | ||
config.ts | ||
debuggable.ts | ||
index.ts | ||
invoke.ts | ||
mocks.ts | ||
resource.ts | ||
rpc.ts | ||
settings.ts | ||
stack.ts |