-
Notifications
You must be signed in to change notification settings - Fork 15
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
chore(*): Update dependency @simonsmith/cypress-image-snapshot to v8 [SECURITY] #3049
chore(*): Update dependency @simonsmith/cypress-image-snapshot to v8 [SECURITY] #3049
Conversation
@Mergifyio rebase |
✅ Branch has been successfully rebased |
c9c39b8
to
abd887f
Compare
@Mergifyio rebase |
✅ Branch has been successfully rebased |
abd887f
to
2830751
Compare
2830751
to
2295f7d
Compare
The workflow of e2e tests are not updated. docker-compose -> docker compose
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
It is dropped in the newest version.
/update-e2e-snapshot |
Update E2E Snapshot Triggered! |
acm-statistics
|
Project |
acm-statistics
|
Branch Review |
refs/heads/renovate/npm-simonsmith-cypress-image-snapshot-vulnerability
|
Run status |
|
Run duration | 06m 22s |
Commit |
|
Committer | null |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
1
|
|
0
|
|
54
|
View all changes introduced in this branch ↗︎ |
Move the snapshots. After upgrading the plugin, the snapshots are in another location.
df69106
to
6e44246
Compare
This PR contains the following updates:
6.1.1
->8.0.2
GitHub Vulnerability Alerts
CVE-2023-38695
Impact
It's possible for a user to pass a relative file path for the snapshot name and reach outside of the project directory into the machine running the test. Example:
The above will create an
ignore-relative-dirs.png
three levels upPatches
Fixed in
8.0.2
Workarounds
Validate all the existing uses of
matchImageSnapshot
to ensure correct use of the filename argument. Example:References
https://github.com/simonsmith/cypress-image-snapshot/issues/15
Release Notes
simonsmith/cypress-image-snapshot (@simonsmith/cypress-image-snapshot)
v8.0.2
Compare Source
Bug Fixes
v8.0.1
Compare Source
Bug Fixes
v8.0.0
Compare Source
Bug Fixes
Features
BREAKING CHANGES
Cypress.spec.relative
option togenerate the snapshot directory and changes the folder structure.
It should now match the directory structure found in the
cypress/e2e/
directory
Updating to this change may mean committing new snapshot paths and
removing old ones in your project (especially with component testing)
See the section "Snapshot paths" in the README for more information
v7.0.0
Compare Source
Bug Fixes
Features
BREAKING CHANGES
This is a rewrite of the original library, now with full support for
TypeScript and improved testing.
Notes:
matchImageSnapshot
remains the same, as well as all theimport paths
options
TypeScript types are exported under
@simonsmith/cypress-image-snapshot/types
.These should be used instead of the package on DefinitelyTyped
Removed:
reporter
is not supported in this version.Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.