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

build(deps): bump browser-specs from 1.38.0 to 1.38.1 #3893

Merged
merged 1 commit into from
Jun 1, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 26, 2021

Bumps browser-specs from 1.38.0 to 1.38.1.

Release notes

Sourced from browser-specs's releases.

v1.38.1

Merged

Fixed

Commits

Changelog

Sourced from browser-specs's changelog.

1.38.1 - 2021-05-25

Merged

Fixed

Commits

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @peterbe.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript labels May 26, 2021
@peterbe
Copy link
Contributor

peterbe commented May 26, 2021

@dependabot squash and merge

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 26, 2021

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@peterbe
Copy link
Contributor

peterbe commented May 27, 2021

@Elchi3 CI broke. Do you think you can look into whether the test was bad or if we need to change some code?

@Elchi3
Copy link
Member

Elchi3 commented May 27, 2021

@peterbe looking into it

@Elchi3
Copy link
Member

Elchi3 commented May 27, 2021

Yeah, so some data changed in browser-specs and we have a BCD PR that changes spec_urls, too.

In the tests, I was checking for exactly this data: https://github.com/mdn/yari/blob/main/testing/tests/index.test.js#L1260
It is not mocked or anything.

If that line becomes: "https://tc39.es/ecma262/multipage/#sec-array.prototype.tolocalestring" and the BCD PR lands too then this is fine, but I wonder if it is stupid to have such a test.

mdn/browser-compat-data#10615 is that BCD PR

@Elchi3
Copy link
Member

Elchi3 commented May 27, 2021

So, this is unfortunate and it will only go green if we do all of this:

  1. We update https://github.com/mdn/yari/blob/main/testing/tests/index.test.js#L1260 to "https://tc39.es/ecma262/multipage/#sec-array.prototype.tolocalestring"
  2. We merge Switch ES spec URLs to multipage version browser-compat-data#10615
  3. We release BCD and include it in yari.
  4. We merge this PR.

Note that we usually don't mass change spec_url like done here. So, this is a one off thing but I hadn't realized it would be this complex with all the packages involved.

@Elchi3
Copy link
Member

Elchi3 commented May 27, 2021

I guess I was expecting that browser-specs keeps the single page ECMAScript version and provides the multipage version in addition, but given they replaced it, this became breaking for us. Lesson learned :)

So, the alternative route to go about this one is to ask browser-specs if they could keep the original URL for backwards compat. (and generally I think I consider the single page version relevant anyways)

@Elchi3
Copy link
Member

Elchi3 commented May 27, 2021

I filed w3c/browser-specs#301 to see if browser-specs maintainers would provide both spec versions and thus would avoid a breaking data change.

@peterbe
Copy link
Contributor

peterbe commented May 27, 2021

I struggle to keep up and fully understand what's going on here but I would definitely endorse the idea of not referring to real data in the tests. I'm not suggesting that we mock it but perhaps it's an option to simply not test the value but just check that it's anything "truthy".

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/browser-specs-1.38.1 branch from 01519cc to 1c114bc Compare May 28, 2021 07:02
@peterbe
Copy link
Contributor

peterbe commented May 28, 2021

@dependabot squash and merge

@Elchi3
Copy link
Member

Elchi3 commented May 28, 2021

Not ready to be merged yet. I'm going to work on a PR.

@Elchi3
Copy link
Member

Elchi3 commented May 31, 2021

This should pass if #3937 is merged.
On the BCD side, I've added tests that should guard us against outdated specification links: mdn/browser-compat-data#10681

@peterbe
Copy link
Contributor

peterbe commented Jun 1, 2021

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/browser-specs-1.38.1 branch from 1c114bc to 71bebef Compare June 1, 2021 11:24
@peterbe
Copy link
Contributor

peterbe commented Jun 1, 2021

@dependabot squash and merge

@dependabot dependabot bot merged commit 6c2b453 into main Jun 1, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/browser-specs-1.38.1 branch June 1, 2021 11:28
peterbe pushed a commit to peterbe/yari that referenced this pull request Jun 1, 2021
peterbe pushed a commit to peterbe/yari that referenced this pull request Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants