-
Notifications
You must be signed in to change notification settings - Fork 131
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
Typescript check not passing after Deno 1.13.2 #303
Comments
deno 1.15.1, same issue |
I can't seem to use it, because this error keeps coming up. Is the only workaround to downgrade to a version earlier than the above? |
now also in 1.16.0 we get:
i think its in the mongo module: │ ├─┬ https://deno.land/x/[email protected]/mod.ts (1002B) │ │ ├─┬ https://deno.land/x/[email protected]/lib/connectors/connector.ts (1.25KB) │ │ │ ├─┬ https://deno.land/x/[email protected]/lib/query-builder.ts (5.54KB) │ │ │ │ ├─┬ https://deno.land/x/[email protected]/deps.ts (1.35KB) │ │ │ │ │ ├─┬ https://deno.land/x/[email protected]/mod.ts (113B) │ │ │ │ │ │ ├─┬ https://deno.land/x/[email protected]/deps.ts (783B) │ │ │ │ │ │ │ ├─┬ https://deno.land/[email protected]/node/_crypto/pbkdf2.ts (4.18KB) │ │ │ │ │ │ │ │ ├── https://deno.land/[email protected]/hash/mod.ts * │ │ │ │ │ │ │ │ ├─┬ https://deno.land/[email protected]/node/buffer.ts (15.46KB) │ │ │ │ │ │ │ │ │ ├── https://deno.land/[email protected]/encoding/base64.ts * │ │ │ │ │ │ │ │ │ ├── https://deno.land/[email protected]/encoding/hex.ts * │ │ │ │ │ │ │ │ │ └─┬ https://deno.land/[email protected]/node/_utils.ts (5.74KB) │ │ │ │ │ │ │ │ │ ├─┬ https://deno.land/[email protected]/async/mod.ts (202B) │ │ │ │ │ │ │ │ │ │ ├── https://deno.land/[email protected]/async/deferred.ts * │ │ │ │ │ │ │ │ │ │ ├── https://deno.land/[email protected]/async/delay.ts (279B) │ │ │ │ │ │ │ │ │ │ ├─┬ https://deno.land/[email protected]/async/mux_async_iterator.ts (1.96KB) │ │ │ │ │ │ │ │ │ │ │ └── https://deno.land/[email protected]/async/deferred.ts * │ │ │ │ │ │ │ │ │ │ └── https://deno.land/[email protected]/async/pool.ts (1.58KB) |
you could use an import map like this: {
"imports": {
"https://deno.land/[email protected]/node/events.ts": "https://deno.land/[email protected]/node/events.ts",
"https://deno.land/[email protected]/async/pool.ts": "https://deno.land/[email protected]/async/pool.ts"
}
} |
I think I narowed-down the issue. Could we point to a previous fixed release instead? |
deno 1.16.1 Same issue |
update please |
Still happening.
import map didn't help for me unfortunately. What other people are doing?
Update: I decided to use raw sqlite package |
deno 1.16.2 Same problem. |
This pull #307 solves the compatibility issues with the latest deno (v.1.16.2). The problem was with the dex library as @lejacobroy pointed out above, postgres lib, mysql, mongodb and sqlite dependencies. I haven't tested the PR on serious projects. |
Until #307 gets merged, a workaround is importing the PR directly: import { Database } from "https://raw.githubusercontent.com/Zhomart/denodb/update-deps/mod.ts"; |
This should be fixed with #307! Please upgrade to Have a great day :) |
Environment
OS: Linux 5.10.70-1-MANJARO
Deno version: deno 1.14.0
V8 version: v8 9.4.146.15
TS version: typescript 4.4.2
Issue
Importing denodb causes TS check to not pass after deno 1.13.2.
code
outputs
I suppose this is caused by one of the dependencies that depends on the std library, maybe bumping the offending dependency would resolve this issue?
The text was updated successfully, but these errors were encountered: