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

[low] deno std library throwing a warning with newer versions of deno #77

Open
jhheider opened this issue Sep 19, 2024 · 2 comments
Open

Comments

@jhheider
Copy link
Contributor

⚠️  Import assertions are deprecated. Use `with` keyword, instead of 'assert' keyword.
import data from "./_data.json" assert { type: "json" };
  at https://deno.land/[email protected]/console/unicode_width.ts:4:1

per deno.land:

The Standard Library has been moved to [JSR](https://jsr.io/@std). See [the blog post](https://deno.com/blog/std-on-jsr) for details.

@jhheider jhheider changed the title deno std library throwing a warning with newer versions of deno [low] deno std library throwing a warning with newer versions of deno Sep 19, 2024
@mxcl
Copy link
Member

mxcl commented Sep 25, 2024

is this shown at runtime or compile time? Specifically when is this warning shown?

@jhheider
Copy link
Contributor Author

runtime. see: https://github.com/pkgxdev/pantry/actions/runs/11036300859/job/30654439828

Run pkgxdev/brewkit/audit@v1
Run if ! pkgx --sync; then

Run echo "::group::fetch deno deps"
fetch deno deps
Run ${GITHUB_ACTION_PATH}/audit.ts '{"project":"cnquery.io","version":{"value":"11.23.1","raw":"11.23.1","tag":"v11.23.1"}}'
⚠️  Import assertions are deprecated. Use `with` keyword, instead of 'assert' keyword.

import data from "./_data.json" assert { type: "json" };

  at https://deno.land/[email protected]/console/unicode_width.ts:4:1

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

No branches or pull requests

2 participants