Skip to content

Conversation

@dxdye
Copy link

@dxdye dxdye commented Nov 10, 2024

Issue

#46
This package is not compatible with Deno 2.0, I made a couple changes, which make it work again.
I do some doc on this branch in #46 - maybe have a look at this..
Initially I just wanted to replace the window Variable, with globalThis which is the new Standard in Deno 2.0.
The tests did not ran through - until now, after I've commented out some tests, which involve using Opine as dependency. Also there some whitespaces, seem to appear where they shouldn't (in http headers).

May need approval for workflows to run through, again.
The tests should now run through

Details

  • I changed the window global variable to the new globalThis.
  • added some import flags to Makefile
  • added needed override statements to test and others.

CheckList

  • has Issue Id
  • UPDATE: test now running through - however please consider that temporarly Opine is not supported

@dxdye dxdye changed the title refactor: rename window to globalThis Make Deno 2.0 compatible Nov 10, 2024
@dxdye dxdye marked this pull request as draft November 10, 2024 09:50
@dxdye
Copy link
Author

dxdye commented Nov 10, 2024

Considering to remove Opine tests, since its deps do not work with Deno 2.0

@dxdye dxdye closed this Nov 10, 2024
mainly removing the tests which handle opine.
there seem to be problems, with the headers after the upgrade to Deno 2.0
@dxdye dxdye reopened this Nov 10, 2024
@dxdye
Copy link
Author

dxdye commented Nov 10, 2024

I've thrown out several tests, mainly because Opine, which seems to play a crucial role in testing is deprecated/ not executable in Deno 2.0 because of deprecated import assertions. Maybe I'll open a pull request, which addresses this issue in Opine' s repo..

Once the dep is fixed, I maybe able to run all tasks

arnabp added a commit to arnabp/superdeno that referenced this pull request Dec 9, 2024
@joao-gabriel-gois
Copy link

joao-gabriel-gois commented Apr 17, 2025

Hello guys, there is any updates about merging this pull request?

I still facing this issue.

Captura de tela de 2025-04-17 20-25-02

@jlp-craigmorten jlp-craigmorten mentioned this pull request May 18, 2025
2 tasks
@jlp-craigmorten
Copy link
Collaborator

Superceded by #47

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

Successfully merging this pull request may close these issues.

3 participants