pulumi/sdk/nodejs/tests
Luke Hoban f7397bb798
[sdk/nodejs] Skip re-registrations of same package+version (#6387)
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.
2021-02-20 10:06:32 +11:00
..
automation [Automation] Fix python nested config parsing (#6349) 2021-02-17 10:16:35 -08:00
runtime [sdk/nodejs] Skip re-registrations of same package+version (#6387) 2021-02-20 10:06:32 +11:00
sxs_ts_3.6 Fix typing for 'Lifted<T>' to work better across versions of TS (#3658) 2019-12-13 11:18:19 -08:00
sxs_ts_latest Fix typing for 'Lifted<T>' to work better across versions of TS (#3658) 2019-12-13 11:18:19 -08:00
config.spec.ts Replace equal and deepEqual with strictEqual and deepStrictEqual (#5607) 2020-10-21 10:21:47 -07:00
init.spec.ts Add license headers 2018-05-22 15:02:47 -07:00
iterable.spec.ts Replace equal and deepEqual with strictEqual and deepStrictEqual (#5607) 2020-10-21 10:21:47 -07:00
options.spec.ts Transformations (#3174) 2019-09-29 11:27:37 -07:00
output.spec.ts Add the ability to pulumi.unsecret an existing output (#6086) 2021-01-14 20:36:52 +00:00
resource.spec.ts Replace equal and deepEqual with strictEqual and deepStrictEqual (#5607) 2020-10-21 10:21:47 -07:00
testmode.spec.ts Always read and write nodejs runtime options from/to the environment (#6076) 2021-01-26 14:59:32 -08:00
unwrap.spec.ts Simplify type assertion in unwrap.spec.ts (#5311) 2020-09-09 14:22:54 -07:00
util.ts Mark internal APIs @internal to filter from API docs (#3809) 2020-01-26 09:06:35 -08:00