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

validateRestrictions is undefined #5508

Open
2 tasks done
TheDutchCoder opened this issue Nov 11, 2024 · 0 comments
Open
2 tasks done

validateRestrictions is undefined #5508

TheDutchCoder opened this issue Nov 11, 2024 · 0 comments
Labels

Comments

@TheDutchCoder
Copy link

Initial checklist

  • I understand this is a bug report and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Link to runnable example

No response

Steps to reproduce

I'm updating our uppy-related dependencies:

from:

    "@uppy/aws-s3": "^3.6.2",
    "@uppy/core": "^3.13.1",
    "@uppy/thumbnail-generator": "^3.1.0",

to:

    "@uppy/aws-s3": "^4.1.1",
    "@uppy/core": "^4.2.3",
    "@uppy/thumbnail-generator": "^4.0.1",

And when I upload a file and run uppy.validateRestrictions({}) I get an error this.uppy.validateRestrictions is not a function (this is in Vue, and this.uppy is indeed the Uppy instance, I've verified that.

I see no migration notes or deprecation notes on this, so I'm assuming it's a real issue.

Expected behavior

validateRestrictions to exist on the Uppy instance.

Actual behavior

validateRestrictions is undefined on the Uppy instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant