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

🐛 Fix duplicate resource URL issues with snapshot method #849

Merged
merged 1 commit into from
Mar 28, 2022

Conversation

Robdel12
Copy link
Contributor

What is this?

The queue mapping was not using the normalized URL for the root resource. This meant if the URL included a hash or just a port it would send the same normalized URL twice (which the API will reject).

Will fix #641

The queue mapping was not using the normalized URL for the root resource. This
meant if the URL included a hash or just a port it would send the same
normalized URL twice (which the API will reject)
@Robdel12 Robdel12 added the 🐛 bug Something isn't working label Mar 28, 2022
@Robdel12 Robdel12 requested a review from wwilsman March 28, 2022 18:17
Copy link
Contributor

@wwilsman wwilsman left a comment

Choose a reason for hiding this comment

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

🎮

@Robdel12 Robdel12 merged commit a2d03ae into master Mar 28, 2022
@Robdel12 Robdel12 deleted the rd/duplicate-resource-urls branch March 28, 2022 18:57
@patricknelson
Copy link

I'm watching issue #641. I just cloned, yarn and yarn build this latest version and still get errors.

Basically, web fonts aren't loading at all. I'm guessing maybe this is a different problem? See:

[percy:core:discovery] Encountered an error processing resource: http://static.PRIMARY_LOCAL_DOMAIN/static/theme/fonts/helvetica-neue/light/688ab72b-4deb-4e15-a088-89166978d469.ttf (0ms)
[percy:core:discovery] Error: Protocol error (Network.getResponseBody): No resource with given identifier found
    at C:\Users\patnelson\Desktop\cli\packages\core\dist\session.js:58:16
    at new Promise (<anonymous>)
    at Session.send (C:\Users\patnelson\Desktop\cli\packages\core\dist\session.js:56:12)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Object.request.response.buffer (C:\Users\patnelson\Desktop\cli\packages\core\dist\network.js:273:20)
    at async Network.onRequestFinished (C:\Users\patnelson\Desktop\cli\packages\core\dist\discovery.js:82:32)
    at async Session._handleLoadingFinished (C:\Users\patnelson\Desktop\cli\packages\core\dist\network.js:296:5) (0ms)

Where PRIMARY_LOCAL_DOMAIN is a domain mapped to 127.0.0.1 (actual test going to that domain, subdomains also mapped to 127.0.0.1).

@Robdel12
Copy link
Contributor Author

Hey @patricknelson! If you could provide a reproduction that would be helpful. My guess would be there's an issue with the non-standard URL (no TLD). Once we have something we can look at with a reproduction we can figure out a fix 😃

@patricknelson
Copy link

Actually, I just swapped out PRIMARY_LOCAL_DOMAIN with an actual website.vm.something.net domain that we use internal for local development purposes that I didn't want to advertise to the public internet (where website and something represent specific things I'm hiding 😬).

However, I totally get the need for steps for reproduction. I'll see what I can do and try to submit a separate issue if I can. Already have a ticket open with support as well (613003).

@Robdel12
Copy link
Contributor Author

Gotcha, yeah scrubbing logs will confuse us 🤪 We see some interesting come through, so I wasn't going to assume it was scrubbed haha

And yeah, support tickets just make their way to me anyways. Feel free to share to directly with me, that way we can talk without a middle party :p

@patricknelson
Copy link

Trying to debug this on my own @Robdel12. Narrowed this down to some kind of problem with it not being able to load fonts on a separate domain, i.e. if testing example.com and loading fonts from static.example.com it will fail (even if the domain is allowed and all the CORS headers/etc are still set properly).

That's why I'd love to have access to the DevTools in the Chrome instance to see if maybe something is configured incorrectly on my end and, if not, I can provide an easier way to repro. It's complicated to reproduce because it would require you to properly setup multiple domains and ensure you have the correct headers and etc. Thanks!

@patricknelson
Copy link

patricknelson commented Mar 28, 2022

Quick update (so you don't waste time trying to answer):

  1. I hacked the code so that the --remote-debugging-port was a predictable 9222
  2. I did an early return on close in browser.js and in page.js to prevent the page from closing
  3. Went to chrome://inspect/#devices to inspect the page and found the problem

In this case the error was relating to CORS since we have a super restrictive policy on the allowed headers during OPTIONS preflight. But basically, x-vqa wasn't allowed by CORS:

Access to font at 'http://static.example.com/some-font-file.woff' from origin 'http://example.com' has been blocked by CORS policy: Request header field x-vqa is not allowed by Access-Control-Allow-Headers in preflight response.

Resolution: Maybe should submit a new issue to get detailed console log output, especially useful in situations like these during --debug in order more easily surface errors like these (especially CORS which can be tricky!).

bors added a commit to rust-lang/crates.io that referenced this pull request Apr 6, 2022
Update dependency @percy/cli to v1.0.4

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [`@percy/cli](https://togithub.com/percy/cli)` | [`1.0.0-beta.76` -> `1.0.4`](https://renovatebot.com/diffs/npm/`@percy%2fcli/1.0.0-beta.76/1.0.4)` | [![age](https://badges.renovateapi.com/packages/npm/`@percy%2fcli/1.0.4/age-slim)](https://docs.renovatebot.com/merge-confidence/)` | [![adoption](https://badges.renovateapi.com/packages/npm/`@percy%2fcli/1.0.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)` | [![passing](https://badges.renovateapi.com/packages/npm/`@percy%2fcli/1.0.4/compatibility-slim/1.0.0-beta.76)](https://docs.renovatebot.com/merge-confidence/)` | [![confidence](https://badges.renovateapi.com/packages/npm/`@percy%2fcli/1.0.4/confidence-slim/1.0.0-beta.76)](https://docs.renovatebot.com/merge-confidence/)` |

---

### Release Notes

<details>
<summary>percy/cli</summary>

### [`v1.0.4`](https://togithub.com/percy/cli/releases/v1.0.4)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.3...v1.0.4)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   ✅ More test adjustments by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#865

##### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump tsd from 0.19.1 to 0.20.0 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#859
-   ⬆️ Bump ajv from 8.10.0 to 8.11.0 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#847
-   ⬆️ Bump minimist from 1.2.5 to 1.2.6 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#844
-   ⬆️ Bump globby from 11.0.4 to 13.1.1 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#758

**Full Changelog**: percy/cli@v1.0.3...v1.0.4

### [`v1.0.3`](https://togithub.com/percy/cli/releases/v1.0.3)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.2...v1.0.3)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   🐛 Audit package file exports by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#863

**Full Changelog**: percy/cli@v1.0.2...v1.0.3

### [`v1.0.2`](https://togithub.com/percy/cli/releases/v1.0.2)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.1...v1.0.2)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   ✅ Include all core test helpers in packaged files by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#862

**Full Changelog**: percy/cli@v1.0.1...v1.0.2

### [`v1.0.1`](https://togithub.com/percy/cli/releases/v1.0.1)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.0...v1.0.1)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   🐛 Remove relative path from package files by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#858

**Full Changelog**: percy/cli@v1.0.0...v1.0.1

### [`v1.0.0`](https://togithub.com/percy/cli/releases/v1.0.0)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.0-beta.76...v1.0.0)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 💥 Breaking Changes

-   ♻️ Move packages to ESM by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#852
-   💥 New minimum Node version of 14 to align with currently supported LTS releases

##### ✨ Enhancements

-   ✨ Use default widths instead of throwing an error when missing by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#808
-   ♻️ Improve build failure handling by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#805
-   ✨ Minor [`@&#8203;percy/config](https://togithub.com/percy/config)` improvements by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#804
-   ✨ Accept alternate core snapshot syntaxes by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#809
-   ✨ Introduce the ability to abort requests from specificed hostnames (`disallowedHostnames`) by [`@&#8203;Robdel12](https://togithub.com/Robdel12)` in [percy/cli#823
-   ♻️ Update package exports and refactor test helpers by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#830
-   ✨ Add sdk-utils waitForPercyIdle helper by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#831
-   ✨ Throw an error when a static server directory does not exist by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#832
-   ✨ Allow alternate snapshot syntaxes to be cancelable by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#833
-   ✨ Allow a function to gather snapshots using alternate syntaxes by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#834
-   ✨ Automatically include package information with CLI commands by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#850

##### 🐛 Bug Fixes

-   🐛 Fix core snapshot method compatibility with cli-snapshot command by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#818
-   🐛 Insert serialized CSSOM `style` tag after CSSOM `ownerNode` by [`@&#8203;Robdel12](https://togithub.com/Robdel12)` in [percy/cli#843
-   🐛 Fix duplicate resource URL issues with `snapshot` method by [`@&#8203;Robdel12](https://togithub.com/Robdel12)` in [percy/cli#849
-   🐛 Wrap `serializeVideos` in try/catch to catch security errors by [`@&#8203;Robdel12](https://togithub.com/Robdel12)` in [percy/cli#848
-   🐛 Fix supressed validation error causing options to not be scrubbed by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#853

##### 🏗 Maintenance

-   ✅ Update install unit tests to use mock filesystem by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#807
-   ♻️ Move browser timeout default to other launch option defaults by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#806
-   ♻️ Update cli-snapshot command to use new core snapshot syntaxes by [`@&#8203;wwilsman](https://togithub.com/wwilsman)` in [percy/cli#819

##### ⬆️⬇️ Dependency Updates

-   ⬆️👷 Bump actions/setup-node from 2 to 3 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#799
-   ⬆️ Bump [`@&#8203;rollup/plugin-babel](https://togithub.com/rollup/plugin-babel)` from 5.3.0 to 5.3.1 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#797
-   ⬆️ Bump [`@&#8203;rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs)` from 21.0.1 to 21.0.2 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#798
-   ⬆️ Bump karma from 6.3.16 to 6.3.17 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#800
-   ⬆️ Bump [`@&#8203;babel/core](https://togithub.com/babel/core)` from 7.17.2 to 7.17.5 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#787
-   ⬆️ Bump [`@&#8203;babel/cli](https://togithub.com/babel/cli)` from 7.17.3 to 7.17.6 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#801
-   ⬆️👷 Bump actions/checkout from 2 to 3 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#813
-   ⬆️ Bump rollup from 2.67.3 to 2.70.0 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#811
-   ⬆️ Bump ajv from 8.9.0 to 8.10.0 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#764
-   ⬆️ Bump karma-chrome-launcher from 3.1.0 to 3.1.1 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#827
-   ⬆️ Bump rollup from 2.70.0 to 2.70.1 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#826
-   ⬆️ Bump mime-types from 2.1.34 to 2.1.35 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#825
-   ⬆️👷 Bump actions/cache from 2 to 3 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#838
-   ⬆️ Bump mime-types from 2.1.34 to 2.1.35 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#837
-   ⬆️ Bump [`@&#8203;babel/core](https://togithub.com/babel/core)` from 7.17.5 to 7.17.8 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#835
-   ⬆️ Bump [`@&#8203;babel/register](https://togithub.com/babel/register)` from 7.17.0 to 7.17.7 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#836
-   ⬆️ Bump [`@&#8203;rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs)` from 21.0.2 to 21.0.3 by [`@&#8203;dependabot](https://togithub.com/dependabot)` in [percy/cli#846

**Full Changelog**: percy/cli@v1.0.0-beta.76...v1.0.0

</details>

---

### Configuration

📅 **Schedule**: "before 3am on Monday" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/rust-lang/crates.io).
kodiakhq bot pushed a commit to carbon-design-system/carbon-for-ibm-dotcom-nextjs-test that referenced this pull request Apr 28, 2022
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@percy/dom](https://togithub.com/percy/cli) | [`1.0.0-beta.74` -> `1.1.0`](https://renovatebot.com/diffs/npm/@percy%2fdom/1.0.0-beta.74/1.1.0) | [![age](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.1.0/compatibility-slim/1.0.0-beta.74)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.1.0/confidence-slim/1.0.0-beta.74)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>percy/cli</summary>

### [`v1.1.0`](https://togithub.com/percy/cli/releases/v1.1.0)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.8...v1.1.0)

#### What's Changed

##### ✨ Enhancements

-   ✨ Update asset discovery browser to Chromium v96.0.4664.0 by [@&#8203;Robdel12](https://togithub.com/Robdel12) in [percy/cli#896

##### 🐛 Bug Fixes

-   🐛 Fix Chrome Revision script by [@&#8203;Robdel12](https://togithub.com/Robdel12) in [percy/cli#895

##### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump jasmine from 4.0.2 to 4.1.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#891
-   ⬆️ Bump karma from 6.3.17 to 6.3.18 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#888
-   ⬆️ Bump [@&#8203;rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs) from 21.0.3 to 21.1.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#889
-   ⬆️ Bump [@&#8203;rollup/plugin-node-resolve](https://togithub.com/rollup/plugin-node-resolve) from 13.1.3 to 13.2.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#890
-   ⬆️ Bump rollup from 2.70.1 to 2.70.2 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#892
-   ⬆️ Bump karma-jasmine from 4.0.2 to 5.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#887
-   ⬆️ Bump yaml from 2.0.0 to 2.0.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#893

**Full Changelog**: percy/cli@v1.0.8...v1.1.0

### [`v1.0.8`](https://togithub.com/percy/cli/releases/v1.0.8)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.7...v1.0.8)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   🐛 Make config normalize skip option behave as expected by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#885

**Full Changelog**: percy/cli@v1.0.7...v1.0.8

### [`v1.0.7`](https://togithub.com/percy/cli/releases/v1.0.7)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.6...v1.0.7)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   🐛 Check for alternate casing when determining dom snapshot syntax by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#883

##### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump yaml from 1.10.2 to 2.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#871

**Full Changelog**: percy/cli@v1.0.6...v1.0.7

### [`v1.0.6`](https://togithub.com/percy/cli/releases/v1.0.6)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.5...v1.0.6)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### ✨ Enhancements

-   ✨[@&#8203;percy/config](https://togithub.com/percy/config) util improvements by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#877
-   ✨ Autoload CLI plugin from the current working directory by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#878

##### 🐛 Bug Fixes

-   🐛 Fix readme generation script by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#868

##### 🏗 Maintenance

-   🔨 Repo script fixups by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#879

##### ⬆️⬇️ Dependency Updates

-   ⬆️👷 Bump actions/stale from 4 to 5 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#876
-   ⬆️ Bump karma-jasmine from 4.0.1 to 4.0.2 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#873
-   ⬆️👷 Bump actions/download-artifact from 2 to 3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#875
-   ⬆️👷 Bump actions/upload-artifact from 2 to 3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#874
-   ⬆️ Bump [@&#8203;babel/core](https://togithub.com/babel/core) from 7.17.8 to 7.17.9 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#872
-   ⬆️ Bump eslint-plugin-import from 2.25.4 to 2.26.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#870

**Full Changelog**: percy/cli@v1.0.5...v1.0.6

### [`v1.0.5`](https://togithub.com/percy/cli/releases/v1.0.5)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.4...v1.0.5)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   🐛 Core snapshot validation bug fixes by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#866

**Full Changelog**: percy/cli@v1.0.4...v1.0.5

### [`v1.0.4`](https://togithub.com/percy/cli/releases/v1.0.4)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.3...v1.0.4)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   ✅ More test adjustments by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#865

##### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump tsd from 0.19.1 to 0.20.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#859
-   ⬆️ Bump ajv from 8.10.0 to 8.11.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#847
-   ⬆️ Bump minimist from 1.2.5 to 1.2.6 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#844
-   ⬆️ Bump globby from 11.0.4 to 13.1.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#758

**Full Changelog**: percy/cli@v1.0.3...v1.0.4

### [`v1.0.3`](https://togithub.com/percy/cli/releases/v1.0.3)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.2...v1.0.3)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   🐛 Audit package file exports by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#863

**Full Changelog**: percy/cli@v1.0.2...v1.0.3

### [`v1.0.2`](https://togithub.com/percy/cli/releases/v1.0.2)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.1...v1.0.2)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   ✅ Include all core test helpers in packaged files by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#862

**Full Changelog**: percy/cli@v1.0.1...v1.0.2

### [`v1.0.1`](https://togithub.com/percy/cli/releases/v1.0.1)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.0...v1.0.1)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 🐛 Bug Fixes

-   🐛 Remove relative path from package files by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#858

**Full Changelog**: percy/cli@v1.0.0...v1.0.1

### [`v1.0.0`](https://togithub.com/percy/cli/releases/v1.0.0)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.0-beta.76...v1.0.0)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### What's Changed

##### 💥 Breaking Changes

-   ♻️ Move packages to ESM by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#852
-   💥 New minimum Node version of 14 to align with currently supported LTS releases

##### ✨ Enhancements

-   ✨ Use default widths instead of throwing an error when missing by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#808
-   ♻️ Improve build failure handling by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#805
-   ✨ Minor [@&#8203;percy/config](https://togithub.com/percy/config) improvements by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#804
-   ✨ Accept alternate core snapshot syntaxes by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#809
-   ✨ Introduce the ability to abort requests from specificed hostnames (`disallowedHostnames`) by [@&#8203;Robdel12](https://togithub.com/Robdel12) in [percy/cli#823
-   ♻️ Update package exports and refactor test helpers by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#830
-   ✨ Add sdk-utils waitForPercyIdle helper by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#831
-   ✨ Throw an error when a static server directory does not exist by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#832
-   ✨ Allow alternate snapshot syntaxes to be cancelable by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#833
-   ✨ Allow a function to gather snapshots using alternate syntaxes by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#834
-   ✨ Automatically include package information with CLI commands by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#850

##### 🐛 Bug Fixes

-   🐛 Fix core snapshot method compatibility with cli-snapshot command by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#818
-   🐛 Insert serialized CSSOM `style` tag after CSSOM `ownerNode` by [@&#8203;Robdel12](https://togithub.com/Robdel12) in [percy/cli#843
-   🐛 Fix duplicate resource URL issues with `snapshot` method by [@&#8203;Robdel12](https://togithub.com/Robdel12) in [percy/cli#849
-   🐛 Wrap `serializeVideos` in try/catch to catch security errors by [@&#8203;Robdel12](https://togithub.com/Robdel12) in [percy/cli#848
-   🐛 Fix supressed validation error causing options to not be scrubbed by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#853

##### 🏗 Maintenance

-   ✅ Update install unit tests to use mock filesystem by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#807
-   ♻️ Move browser timeout default to other launch option defaults by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#806
-   ♻️ Update cli-snapshot command to use new core snapshot syntaxes by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#819

##### ⬆️⬇️ Dependency Updates

-   ⬆️👷 Bump actions/setup-node from 2 to 3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#799
-   ⬆️ Bump [@&#8203;rollup/plugin-babel](https://togithub.com/rollup/plugin-babel) from 5.3.0 to 5.3.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#797
-   ⬆️ Bump [@&#8203;rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs) from 21.0.1 to 21.0.2 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#798
-   ⬆️ Bump karma from 6.3.16 to 6.3.17 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#800
-   ⬆️ Bump [@&#8203;babel/core](https://togithub.com/babel/core) from 7.17.2 to 7.17.5 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#787
-   ⬆️ Bump [@&#8203;babel/cli](https://togithub.com/babel/cli) from 7.17.3 to 7.17.6 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#801
-   ⬆️👷 Bump actions/checkout from 2 to 3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#813
-   ⬆️ Bump rollup from 2.67.3 to 2.70.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#811
-   ⬆️ Bump ajv from 8.9.0 to 8.10.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#764
-   ⬆️ Bump karma-chrome-launcher from 3.1.0 to 3.1.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#827
-   ⬆️ Bump rollup from 2.70.0 to 2.70.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#826
-   ⬆️ Bump mime-types from 2.1.34 to 2.1.35 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#825
-   ⬆️👷 Bump actions/cache from 2 to 3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#838
-   ⬆️ Bump mime-types from 2.1.34 to 2.1.35 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#837
-   ⬆️ Bump [@&#8203;babel/core](https://togithub.com/babel/core) from 7.17.5 to 7.17.8 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#835
-   ⬆️ Bump [@&#8203;babel/register](https://togithub.com/babel/register) from 7.17.0 to 7.17.7 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#836
-   ⬆️ Bump [@&#8203;rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs) from 21.0.2 to 21.0.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#846

**Full Changelog**: percy/cli@v1.0.0-beta.76...v1.0.0

### [`v1.0.0-beta.76`](https://togithub.com/percy/cli/releases/v1.0.0-beta.76)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.0-beta.75...v1.0.0-beta.76)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### ✨ Enhancements

-   ♻️ Core server improvements by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#781
-   ✨ Automatically handle json bodies in client request util by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#780
-   ✨ Serialize current video frame into a `poster` on the `<video>` by [@&#8203;Robdel12](https://togithub.com/Robdel12) in [percy/cli#794

#### 🐛 Bug Fixes

-   🐛 Add percy config mapping for cli-exec port flag by [@&#8203;wwilsman](https://togithub.com/wwilsman) in [percy/cli#793

#### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump ws from 8.4.2 to 8.5.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#775
-   ⬆️ Bump karma from 6.3.15 to 6.3.16 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#777
-   ⬆️ Bump [@&#8203;babel/core](https://togithub.com/babel/core) from 7.17.0 to 7.17.2 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#776
-   ⬆️ Bump follow-redirects from 1.14.7 to 1.14.8 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#778
-   ⬆️ Bump rollup from 2.67.1 to 2.67.2 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#779
-   ⬆️ Bump [@&#8203;babel/cli](https://togithub.com/babel/cli) from 7.17.0 to 7.17.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#789
-   ⬆️ Bump rollup from 2.67.2 to 2.67.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#788

**Full Changelog**: percy/cli@v1.0.0-beta.75...v1.0.0-beta.76

### [`v1.0.0-beta.75`](https://togithub.com/percy/cli/releases/v1.0.0-beta.75)

[Compare Source](https://togithub.com/percy/cli/compare/v1.0.0-beta.74...v1.0.0-beta.75)

<!-- Release notes generated using configuration in .github/release.yml at master -->

#### 🐛 Bug Fixes

-   🐛 Update `bin/run` to not use an esm dynamic import by [@&#8203;Robdel12](https://togithub.com/Robdel12) in [percy/cli#769

#### ⬆️⬇️ Dependency Updates

-   ⬆️ Bump image-size from 1.0.0 to 1.0.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#731
-   ⬆️ Bump karma from 6.3.10 to 6.3.12 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#741
-   ⬆️ Bump node-fetch from 2.6.1 to 2.6.7 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#740
-   ⬆️ Bump [@&#8203;babel/preset-env](https://togithub.com/babel/preset-env) from 7.16.8 to 7.16.11 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#747
-   ⬆️ Bump ajv from 8.8.2 to 8.9.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#749
-   ⬆️ Bump [@&#8203;babel/cli](https://togithub.com/babel/cli) from 7.16.7 to 7.16.8 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#750
-   ⬆️ Bump jasmine from 4.0.1 to 4.0.2 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#751
-   ⬆️ Bump [@&#8203;babel/register](https://togithub.com/babel/register) from 7.16.7 to 7.16.9 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#730
-   ⬆️ Bump rollup from 2.63.0 to 2.67.1 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#759
-   ⬆️ Bump karma from 6.3.12 to 6.3.15 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#760
-   ⬆️ Bump trim-off-newlines from 1.0.1 to 1.0.3 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#737
-   ⬆️ Bump follow-redirects from 1.13.2 to 1.14.7 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#719
-   ⬆️ Bump [@&#8203;babel/cli](https://togithub.com/babel/cli) from 7.16.8 to 7.17.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#763
-   ⬆️ Bump karma-rollup-preprocessor from 7.0.7 to 7.0.8 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#762
-   ⬆️ Bump nock from 13.2.2 to 13.2.4 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#761
-   ⬆️ Bump [@&#8203;babel/register](https://togithub.com/babel/register) from 7.16.9 to 7.17.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#766
-   ⬆️ Bump [@&#8203;babel/core](https://togithub.com/babel/core) from 7.16.7 to 7.17.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#765
-   ⬆️ Bump [@&#8203;babel/eslint-parser](https://togithub.com/babel/eslint-parser) from 7.16.5 to 7.17.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [percy/cli#767

**Full Changelog**: percy/cli@v1.0.0-beta.74...v1.0.0-beta.75

</details>

---

### Configuration

📅 **Schedule**: "every weekend" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom-nextjs-test).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Attempted to upload multiple resources with the same resource-url, error processing resource?
3 participants