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

Outdated dependencies #150

Closed
sh0tx420 opened this issue Dec 14, 2021 · 0 comments · Fixed by #152
Closed

Outdated dependencies #150

sh0tx420 opened this issue Dec 14, 2021 · 0 comments · Fixed by #152
Assignees
Labels
bug Something isn't working dependencies

Comments

@sh0tx420
Copy link

sh0tx420 commented Dec 14, 2021

Issue

Setup:

  • Deno Version: v1.16.4 + various older versions
  • v8 Version: 9.7.106.15
  • Typescript Version: 4.4.2
  • Opine Version: 2.0.0

Details

The dependencies are outdated. Latest std version is 0.117.0. The old std version's code in the async module causes the first error, but it is probably fixed in the latest version. Not sure about the other dependencies however.

Edit: apparently it's trying to download 2 different versions of ipaddr.js? with 2.0.1 being the latest

Error log:

Check file:///<path>/src/main.js
error: TS2339 [ERROR]: Property 'getIterator' does not exist on type 'ReadableStream<R>'.
  return res.readable.getIterator();
                      ~~~~~~~~~~~
    at https://deno.land/std@0.69.0/async/pool.ts:45:23

TS2300 [ERROR]: Duplicate identifier 'Address'.
    export = Address;
             ~~~~~~~
    at https://cdn.esm.sh/v58/ipaddr.js@2.0.0/lib/ipaddr.js.d.ts:66:14

    'Address' was also declared here.
        export = Address;
                 ~~~~~~~
        at https://cdn.skypack.dev/-/ipaddr.js@v2.0.1-Gb4sD7xwOvS6n7C0Ihjk/dist=es2019,mode=types/lib/ipaddr.js.d.ts:67:14

TS2300 [ERROR]: Duplicate identifier 'Address'.
    export = Address;
             ~~~~~~~
    at https://cdn.skypack.dev/-/ipaddr.js@v2.0.1-Gb4sD7xwOvS6n7C0Ihjk/dist=es2019,mode=types/lib/ipaddr.js.d.ts:67:14

    'Address' was also declared here.
        export = Address;
                 ~~~~~~~
        at https://cdn.esm.sh/v58/ipaddr.js@2.0.0/lib/ipaddr.js.d.ts:66:14

Found 3 errors.
@asos-craigmorten asos-craigmorten added bug Something isn't working dependencies labels Dec 16, 2021
@cmorten cmorten self-assigned this Dec 18, 2021
@cmorten cmorten mentioned this issue Dec 18, 2021
2 tasks
cmorten added a commit that referenced this issue Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants