Comments (9)
@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.
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.
Letβs close this until somebody needs it.
Guess that time is now.
from convert-source-map.
Worth noting devs tools in Electron and at least Chrome 61 with node --inspect
work with these data:application/json
style sourceMappingURL
s.
from convert-source-map.
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.
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.
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.
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.
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)
- SourceMappingURL causing failure on Safari HOT 10
- Fail toComment with included content. HOT 1
- Tests fail due to charset issue HOT 8
- Update inline-source-map to 0.6 HOT 1
- What is the correct way to remove a property? HOT 2
- VM6510:1 Uncaught SyntaxError: Unexpected token u HOT 1
- Error when running angular2-seed build process?? HOT 1
- Support non-base64 encoded json? HOT 4
- Unclosed block error in map-file-comment-double-slash.css HOT 1
- Rogue sourceMappingURL comment trips up devtools HOT 1
- source-map file name with query parameter, causes source-map not found HOT 6
- Reduce package size HOT 10
- Protect against template strings HOT 16
- sourceMappingURL inside string literal
- Module not found: Error: Can't resolve 'fs'
- Braking typescript/nyc coverage report HOT 1
- Extract string methods, browser support
- Safe to remove safe-buffer HOT 1
- memory consumption for 1.9.0 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from convert-source-map.