You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Deno 2.0 was released a couple of weeks ago, I made some changes to the code, which make it compatible to this version.
Feel free to review the PR and comment on what is needed for it work.
Ran some tests locally - still working on it..
UPDATE:
There are deps I can't fix, mainly because opine imports stuff, which Deno 2.0 can't process anymore. Even if this is fixed, probably other stuff won't work. Since opine also is not maintained anymore, I will probably create a seperate repository with this as source, where I will have it fixed with hard deps I modify..
Todo
fix error: Import assertions are deprecated. Use with keyword, instead of 'assert' keyword. probably in superagent or express import, which imports 'mime-db'
error get thrown in:
import db from "https://raw.githubusercontent.com/jshttp/mime-db/v1.52.0/db.json" assert { type: "json" };
at https://deno.land/x/[email protected]/mod.ts:32:1
UPDATE: oak seems to be the trouble maker..
UPDATE: it's not oak - it's opine which is not maintained anymore - however please consider to remove or alter the deprecated https://deno.land/x/[email protected]/mod.ts. Maybe use import * as mod from "https://deno.land/[email protected]/media_types/mod.ts";
fix testing Readme.md examples
The text was updated successfully, but these errors were encountered:
Issue
Setup:
Details
Since Deno 2.0 was released a couple of weeks ago, I made some changes to the code, which make it compatible to this version.
Feel free to review the PR and comment on what is needed for it work.
Ran some tests locally - still working on it..
UPDATE:
There are deps I can't fix, mainly because
opine
imports stuff, which Deno 2.0 can't process anymore. Even if this is fixed, probably other stuff won't work. Sinceopine
also is not maintained anymore, I will probably create a seperate repository with this as source, where I will have it fixed with hard deps I modify..Todo
error: Import assertions are deprecated. Use
withkeyword, instead of 'assert' keyword.
probably insuperagent
orexpress
import, which imports 'mime-db'error get thrown in:
UPDATE:
oak
seems to be the trouble maker..UPDATE: it's not
oak
- it'sopine
which is not maintained anymore - however please consider to remove or alter the deprecatedhttps://deno.land/x/[email protected]/mod.ts
. Maybe useimport * as mod from "https://deno.land/[email protected]/media_types/mod.ts";
The text was updated successfully, but these errors were encountered: