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

We actually need to disable sourceMaps when we compile them as well #1796

Merged
merged 2 commits into from
Jan 13, 2021

Conversation

mstoykov
Copy link
Contributor

No description provided.

na--
na-- previously approved these changes Jan 13, 2021
Copy link
Member

@na-- na-- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, why not update goja as well?

@mstoykov
Copy link
Contributor Author

I wanted to also enable some tc39 tests with a new version and do it in another PR. But I already started running the tests so I can add to this one if you want to :)

@na--
Copy link
Member

na-- commented Jan 13, 2021

However you prefer to do it, but 👍 from me for a goja update today

@codecov-io
Copy link

codecov-io commented Jan 13, 2021

Codecov Report

Merging #1796 (32577d1) into master (2904961) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1796      +/-   ##
==========================================
- Coverage   71.57%   71.53%   -0.05%     
==========================================
  Files         181      181              
  Lines       13939    13939              
==========================================
- Hits         9977     9971       -6     
- Misses       3331     3337       +6     
  Partials      631      631              
Flag Coverage Δ
ubuntu 71.45% <100.00%> (-0.07%) ⬇️
windows 70.11% <100.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
js/compiler/compiler.go 76.47% <100.00%> (ø)
lib/executor/vu_handle.go 93.33% <0.00%> (-1.91%) ⬇️
stats/cloud/collector.go 79.81% <0.00%> (-0.64%) ⬇️
js/runner.go 80.86% <0.00%> (-0.58%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2904961...32577d1. Read the comment docs.

@na--
Copy link
Member

na-- commented Jan 13, 2021

btw I have no idea how source maps work precisely, but would this change be too difficult to test?

@mstoykov
Copy link
Contributor Author

It literally cares about a comment at the end of a source file

//# sourceMappingURL=ajv.min.js.map

Copy link
Contributor

@imiric imiric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but this is breaking change, no? Sourcemaps were supported before?

@mstoykov
Copy link
Contributor Author

if they at any point worked in any capacity it wasn't intentional ;)
Given the issues listed (and now fixed) in dop251/goja#235 I would expect that they never did for us

@mstoykov mstoykov merged commit 3a17b27 into master Jan 13, 2021
@mstoykov mstoykov deleted the disableSourceMapsMore branch January 13, 2021 15:26
@mstoykov mstoykov added this to the v0.30.0 milestone Jan 13, 2021
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.

4 participants