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

[Bug]: mysql dependency breaks after new deno_std release 0.160.1 #160

Closed
mechanoid opened this issue Oct 27, 2022 · 3 comments · Fixed by #161
Closed

[Bug]: mysql dependency breaks after new deno_std release 0.160.1 #160

mechanoid opened this issue Oct 27, 2022 · 3 comments · Fixed by #161
Labels
bug Something isn't working

Comments

@mechanoid
Copy link

Operating System

macOS Ventura 13.0

Deno version

1.26.2

Nessie version

2.0.9

Bug description

deno_std@0.160.1 was released today, and the mysql driver depends on god_crypto, that had incorporated the std lib without version reference. The mysql driver has an issue for that and already implemented a fix (see denodrivers/mysql#131) which is not yet released as far as I can see.

This results in an error like:

Warning Implicitly using latest version (0.161.0) for https://deno.land/std/hash/mod.ts
error: Module not found "https://deno.land/std/hash/mod.ts".
    at https://deno.land/x/god_crypto@v0.2.0/src/eme_oaep.ts:1:28

Would be great if nessie can be updated short after the mysql patch has been delivered.

Thanks a lot in advance!

Steps to reproduce

  1. install nessie
  2. run nessie

Aditional information

No response

@mechanoid mechanoid added the bug Something isn't working label Oct 27, 2022
@mechanoid
Copy link
Author

mechanoid commented Oct 28, 2022

thx @pandres95 !

This allows to reference your fork for now

import { ... } from "https://raw.githubusercontent.com/bloque-app/deno-nessie/4061847ac25849a19a2438f560bf7dede79fec54/mod.ts"  

or via jsdelivr if you don't like referencing github without CDN

import { ... } from "https://cdn.jsdelivr.net/gh/bloque-app/deno-nessie@4061847ac25849a19a2438f560bf7dede79fec54/mod.ts"

The updated mysql driver works fine for me 🥳

@halvardssm
Copy link
Owner

Hey @pandres95 @mechanoid ! New version has been released 2.0.10 🎉

@mechanoid
Copy link
Author

@halvardssm super cool, thx a lot 🙇‍♂️

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

Successfully merging a pull request may close this issue.

2 participants