Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix js2ts script #4802

Merged
merged 5 commits into from
Dec 5, 2023
Merged

Fix js2ts script #4802

merged 5 commits into from
Dec 5, 2023

Conversation

Murderlon
Copy link
Member

No description provided.

Copy link
Contributor

@aduh95 aduh95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be necessary, I suggest you update your local version of Node.js which is probably behind.

@Murderlon
Copy link
Member Author

Murderlon commented Nov 21, 2023

I'm on latest LTS, version 20.9.0, if it doesn't work on LTS it absolutely should. Without this change, passing "uppy/core" won't work and does nothing.

@aduh95
Copy link
Contributor

aduh95 commented Nov 21, 2023

It works on v18.17+, I reckon it doesn't work on v20.x it's indeed a bug, let me investigate

@Murderlon
Copy link
Member Author

Shall we just merge it? It's a small change and it makes it work, maybe not worth the investigation?

private/js2ts/index.mjs Outdated Show resolved Hide resolved
private/js2ts/index.mjs Outdated Show resolved Hide resolved
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
private/js2ts/index.mjs Outdated Show resolved Hide resolved
private/js2ts/index.mjs Outdated Show resolved Hide resolved
@aduh95 aduh95 merged commit 0bea173 into main Dec 5, 2023
4 checks passed
@aduh95 aduh95 deleted the js2ts-fix branch December 5, 2023 11:51
Murderlon added a commit that referenced this pull request Dec 5, 2023
…-core

* 'ts-core' of https://github.com/transloadit/uppy:
  prettier
  Apply suggestion from code reviews
  fix lint
  Fix unit tests
  meta: fix `js2ts` script on Node.js 20+ (#4802)
  @uppy/companion-client: avoid unnecessary preflight requests (#4462)
@github-actions github-actions bot mentioned this pull request Dec 12, 2023
github-actions bot added a commit that referenced this pull request Dec 12, 2023
| Package                | Version | Package                | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/aws-s3           |   3.6.0 | @uppy/instagram        |   3.2.0 |
| @uppy/aws-s3-multipart |  3.10.0 | @uppy/onedrive         |   3.2.0 |
| @uppy/box              |   2.2.0 | @uppy/provider-views   |   3.8.0 |
| @uppy/companion        |  4.12.0 | @uppy/store-default    |   3.2.0 |
| @uppy/companion-client |   3.7.0 | @uppy/tus              |   3.5.0 |
| @uppy/core             |   3.8.0 | @uppy/url              |   3.5.0 |
| @uppy/dropbox          |   3.2.0 | @uppy/utils            |   5.7.0 |
| @uppy/facebook         |   3.2.0 | @uppy/xhr-upload       |   3.6.0 |
| @uppy/google-drive     |   3.4.0 | @uppy/zoom             |   2.2.0 |
| @uppy/image-editor     |   2.4.0 | uppy                   |  3.21.0 |

- @uppy/provider-views: fix uploadRemoteFile undefined (Mikael Finstad / #4814)
- @uppy/companion: fix double tus uploads (Mikael Finstad / #4816)
- @uppy/companion: fix accelerated endpoints for presigned POST  (Mikael Finstad / #4817)
- @uppy/companion: fix `authProvider` property inconsistency (Mikael Finstad / #4672)
- @uppy/companion:  send certain onedrive errors to the user (Mikael Finstad / #4671)
- meta: fix typo in `lockfile_check.yml` name (Antoine du Hamel)
- @uppy/aws-s3: change Companion URL in tests (Antoine du Hamel)
- @uppy/set-state: fix types (Antoine du Hamel)
- @uppy/companion: Provider user sessions (Mikael Finstad / #4619)
- meta: fix `js2ts` script on Node.js 20+ (Merlijn Vos / #4802)
- @uppy/companion-client: avoid unnecessary preflight requests (Antoine du Hamel / #4462)
- meta: Migrate to AWS-SDK V3 syntax (Artur Paikin / #4810)
- @uppy/utils: fix import in test files (Antoine du Hamel / #4806)
- @uppy/core: Fix onBeforeFileAdded with Golden Retriever (Merlijn Vos / #4799)
- @uppy/image-editor: respect `cropperOptions.initialAspectRatio` (Lucklj521 / #4805)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants