Giter VIP home page Giter VIP logo

Comments (9)

lydell avatar lydell commented on June 8, 2024 2

@jdalton I guess you need to find that time to dig in. I'm just the random guy who links to specs.

from convert-source-map.

jdalton avatar jdalton commented on June 8, 2024 2

Ok so it turns out the vscode issue isn't related to convert-source-map though it couldn't hurt to patch this. I haven't forgotten I'm on the hook : )

from convert-source-map.

lydell avatar lydell commented on June 8, 2024 1

#48 (comment)

Let’s close this until somebody needs it.

Guess that time is now.

from convert-source-map.

jdalton avatar jdalton commented on June 8, 2024

Worth noting devs tools in Electron and at least Chrome 61 with node --inspect
work with these data:application/json style sourceMappingURLs.

from convert-source-map.

thlorenz avatar thlorenz commented on June 8, 2024

Not entirely sure what the fix should be .. hoping someone will provide a PR with a fix that doesn't break any tests to make sure all is still backwards compat.

from convert-source-map.

lydell avatar lydell commented on June 8, 2024

Easy. Just follow RFC 2397:

The [data] URLs are of the form:

data:[<mediatype>][;base64],<data>

The is an Internet media type specification (with optional parameters.) The appearance of ";base64" means that the data is encoded as base64. Without ";base64", the data (as a sequence of octets) is represented using ASCII encoding for octets inside the range of safe URL characters and using the standard %xx hex encoding of URLs for octets outside that range. If is omitted, it defaults to text/plain;charset=US-ASCII. As a shorthand, "text/plain" can be omitted but the charset parameter supplied.

from convert-source-map.

thlorenz avatar thlorenz commented on June 8, 2024

Easy. Just follow RFC 2397:

Would love a PR @lydell as I'm not gonna be able to address ATM due to time constraints :)

from convert-source-map.

thlorenz avatar thlorenz commented on June 8, 2024

Or maybe @jdalton wants to pick it up since this is affecting VSCode ...
LMK if so, I made you collab in the mean time

from convert-source-map.

jdalton avatar jdalton commented on June 8, 2024

Rock 🀘 !

If @lydell wants to lead, I can review. Else I can find some time to dig in.

from convert-source-map.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.