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

Deprecation warning on latest Sveltekit build : "The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0." #486

Closed
MarArMar opened this issue Sep 23, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@MarArMar
Copy link

MarArMar commented Sep 23, 2024

Thanks you for this awesome lib that I am very pleased to use and is very helpful 👍

Description

Using "sveltekit-superforms": "^2.19.0" ; "@sveltejs/kit": "^2.5.28", ; "svelte": "^4.2.19",

On Sveltekit build, I see this deprecation warning , seems to be for "yup-to-json-schema" :

"transforming (296) ../../node_modules/sveltekit-superforms/dist/adapters/yup-to-json-schema/converters/index.jsDeprecation Warning: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0."

More info: https://sass-lang.com/d/legacy-js-api

@MarArMar MarArMar added the bug Something isn't working label Sep 23, 2024
@MarArMar MarArMar changed the title Deprecation warning on latest Sveltekit build : "transforming (296) ../../node_modules/sveltekit-superforms/dist/adapters/yup-to-json-schema/converters/index.jsDeprecation Warning: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0." Deprecation warning on latest Sveltekit build : "The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0." Sep 23, 2024
@ciscoheat
Copy link
Owner

Thank you, hopefully it's easy to fix for the next release. Glad you like Superforms. :)

@MarArMar
Copy link
Author

MarArMar commented Oct 2, 2024

@ciscoheat Yeah Superforms rocks !!! Thanks for this awesome lib 👌

@ciscoheat
Copy link
Owner

This may be a configuration issue not related to Superforms, not sure yet. https://sass-lang.com/documentation/breaking-changes/legacy-js-api/

@MarArMar
Copy link
Author

MarArMar commented Oct 5, 2024

Ah ok, from one of the libs it uses ? Ok thanks for the info

If that's the case I could open an issue there and refer this one and close this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants