Visitar URL original
javascript.operators.import_meta.resolve - latest Node also returns a string · Issue #24054 · mdn/browser-compat-data · GitHub
Skip to content

javascript.operators.import_meta.resolve - latest Node also returns a string #24054

Closed

Description

@Josh-Cena

What type of issue is this?

Incorrect support data (example: BrowserX says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

Says "Returns a URL object instead of a string" which is no longer true with latest Node

What browsers does this problem apply to, if applicable?

Node.js

What did you expect to see?

Version information for when it starts returning strings

Did you test this? If so, how?

console.log(typeof import.meta.resolve("./worker.js"));

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

nodejs/node#49698

I don't know which Node versions it corresponds to exactly; the history in Node docs didn't list this change.

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import.meta/resolve

MDN metadata

MDN page report details
  • Query: javascript.operators.import_meta.resolve
  • Report started: 2024-08-06T23:12:42.961Z

Activity

  1. added
    data:jsCompatibility data for JavaScript features. https://developer.mozilla.org/docs/Web/JavaScript
    on Aug 7, 2024
  2. CodeWitchBella commented on Oct 24, 2024

    @CodeWitchBella

    According to this comment on node.js issue it got fixed in 20.8.0. It's also in the changelog and here are the commit and PR in which it landed.

  3. skyclouds2001 commented on Nov 10, 2024

    @skyclouds2001
    Contributor

    per nodejs/node#49698, it is also backlog to v18.19.0

  4. skyclouds2001 commented on Nov 10, 2024

    @skyclouds2001
    Contributor
  5. added a commit that references this issue on Nov 10, 2024
    643bd7c
  6. added a commit that references this issue on Nov 16, 2024
    bd1ae82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    data:jsCompatibility data for JavaScript features. https://developer.mozilla.org/docs/Web/JavaScript

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions