pulumi/sdk/nodejs/tests/runtime
Julien P dd1d8607ae
Make function serialization work on typescript 4 and 5 (#15761)
# Description

Builds on top of https://github.com/pulumi/pulumi/pull/15753

Fixes https://github.com/pulumi/pulumi/issues/15735

There are a couple breaking changes in the typescript API that we use in
`sdk/nodejs/runtime/closure/rewriteSuper.ts`. This PR adds a shim that
is used to bridge the differences and versions the snapshots where
needed.

This does not make typescript a peer dependency yet. Instead the tests
force a specific version to be used via [yarn
resolutions](https://classic.yarnpkg.com/lang/en/docs/selective-version-resolutions/).

## Checklist

- [x] I have run `make tidy` to update any new dependencies
- [x] I have run `make lint` to verify my code passes the lint check
  - [x] I have formatted my code using `gofumpt`

<!--- Please provide details if the checkbox below is to be left
unchecked. -->
- [x] I have added tests that prove my fix is effective or that my
feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [x] I have run `make changelog` and committed the
`changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the
Pulumi Cloud,
then the service should honor older versions of the CLI where this
change would not exist.
You must then bump the API version in
/pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi
Cloud API version
<!-- @Pulumi employees: If yes, you must submit corresponding changes in
the service repo. -->
2024-03-27 10:03:57 +00:00
..
langhost Upgrade to grpc-js 1.10.1 and remove calls to deprecated server.start (#15500) 2024-02-23 11:32:40 +00:00
testdata Make function serialization work on typescript 4 and 5 (#15761) 2024-03-27 10:03:57 +00:00
asyncIterableUtil.spec.ts Eliminate async promise executor. 2023-05-11 13:05:43 -04:00
closure-integration-tests.ts Make function serialization work on typescript 4 and 5 (#15761) 2024-03-27 10:03:57 +00:00
findWorkspaceRoot.spec.ts Fix codepaths computation when working dir is nested relative to package.json (#15601) 2024-03-08 16:16:47 +00:00
props.spec.ts Move nodejs feature checks to startup (#14856) 2023-12-19 14:35:23 +00:00
registrations.spec.ts Suppress grpc rejections due to the resource monitor terminating 2023-06-14 14:43:32 -07:00
settings.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00