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(deps): update e2e-tests to v8 [security] #39090

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 19, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@simonsmith/cypress-image-snapshot ^6.1.1 -> ^8.0.2 age adoption passing confidence

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:

  cy.get('h1').matchImageSnapshot('../../../ignore-relative-dirs')

The above will create an ignore-relative-dirs.png three levels up

Patches

Fixed in 8.0.2

Workarounds

Validate all the existing uses of matchImageSnapshot to ensure correct use of the filename argument. Example:

    // snapshot name will be the test title
    cy.matchImageSnapshot();

    // snapshot name will be the name passed in
    cy.matchImageSnapshot('login');

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
  • rename e2eSpecFolder -> e2eSpecDir (106af6c)

v8.0.0

Compare Source

Bug Fixes
  • requireSnapshots should work with retries (ebfc8be)
Features
  • normalise directory output for snapshots (1939e25)
BREAKING CHANGES
  • This uses the Cypress.spec.relative option to
    generate 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
  • add recording of snapshot result (488ae4b)
  • add semantic release (b1b063b)
  • allow default options to be passed into addMatchImageSnapshotCommand (405afcb)
BREAKING CHANGES
  • removed fork of original package

This is a rewrite of the original library, now with full support for
TypeScript and improved testing.

Notes:

  • The API for matchImageSnapshot remains the same, as well as all the
    import paths
  • The behavior of the plugin is exactly the same, as are the default
    options

TypeScript types are exported under @simonsmith/cypress-image-snapshot/types.
These should be used instead of the package on DefinitelyTyped

Removed:

  • The reporter is not supported in this version.

Configuration

📅 Schedule: Branch creation - "" in timezone GMT, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the topic: automation Related to Circle CI, Peril, Renovate, scripts/*, Github Workflows, Github Actions, or Slackbot label Sep 19, 2024
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Sep 19, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch 9 times, most recently from 135808f to c59e3ee Compare September 23, 2024 23:13
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from c59e3ee to e920315 Compare September 27, 2024 22:42
@renovate renovate bot changed the title fix(deps): update e2e-tests to v8 [security] fix(deps): update e2e-tests to v9 [security] Sep 27, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from e920315 to e273e9c Compare September 27, 2024 22:47
@renovate renovate bot changed the title fix(deps): update e2e-tests to v9 [security] fix(deps): update e2e-tests to v8 [security] Sep 27, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from e273e9c to ee36adc Compare October 1, 2024 22:38
@renovate renovate bot changed the title fix(deps): update e2e-tests to v8 [security] fix(deps): update e2e-tests to v9 [security] Oct 1, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from ee36adc to daee163 Compare October 1, 2024 22:42
@renovate renovate bot changed the title fix(deps): update e2e-tests to v9 [security] fix(deps): update e2e-tests to v8 [security] Oct 1, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from daee163 to d271f6b Compare October 3, 2024 23:50
@renovate renovate bot changed the title fix(deps): update e2e-tests to v8 [security] fix(deps): update e2e-tests to v9 [security] Oct 3, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from d271f6b to 920b5cc Compare October 4, 2024 01:08
@renovate renovate bot changed the title fix(deps): update e2e-tests to v9 [security] fix(deps): update e2e-tests to v8 [security] Oct 4, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from 920b5cc to a770d7e Compare October 7, 2024 21:58
@renovate renovate bot changed the title fix(deps): update e2e-tests to v8 [security] fix(deps): update e2e-tests to v9 [security] Oct 7, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from a770d7e to 6b9e57c Compare October 7, 2024 22:04
@renovate renovate bot changed the title fix(deps): update e2e-tests to v9 [security] fix(deps): update e2e-tests to v8 [security] Oct 7, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from 6b9e57c to 9b5a7cb Compare October 7, 2024 22:07
@renovate renovate bot changed the title fix(deps): update e2e-tests to v8 [security] fix(deps): update e2e-tests to v9 [security] Oct 7, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from 9b5a7cb to b5cb8f0 Compare October 8, 2024 00:14
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch 3 times, most recently from 3e6c56a to 2be7a84 Compare November 7, 2024 17:25
@renovate renovate bot changed the title fix(deps): update e2e-tests to v9 [security] fix(deps): update e2e-tests to v8 [security] Nov 7, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from 2be7a84 to 40f1b5c Compare November 7, 2024 18:57
@renovate renovate bot changed the title fix(deps): update e2e-tests to v8 [security] fix(deps): update e2e-tests to v9 [security] Nov 7, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from 40f1b5c to 2a9cb67 Compare November 7, 2024 22:46
@renovate renovate bot changed the title fix(deps): update e2e-tests to v9 [security] fix(deps): update e2e-tests to v8 [security] Nov 7, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from 2a9cb67 to 05f6342 Compare November 8, 2024 08:39
@renovate renovate bot changed the title fix(deps): update e2e-tests to v8 [security] fix(deps): update e2e-tests to v9 [security] Nov 8, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from 05f6342 to 47ecf4c Compare November 8, 2024 09:10
@renovate renovate bot changed the title fix(deps): update e2e-tests to v9 [security] fix(deps): update e2e-tests to v8 [security] Nov 8, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from 47ecf4c to 6bd698c Compare November 18, 2024 14:47
@renovate renovate bot changed the title fix(deps): update e2e-tests to v8 [security] fix(deps): update e2e-tests to v9 [security] Nov 18, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from 6bd698c to 347008c Compare November 18, 2024 16:35
@renovate renovate bot changed the title fix(deps): update e2e-tests to v9 [security] fix(deps): update e2e-tests to v8 [security] Nov 18, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from 347008c to 0b30db0 Compare November 18, 2024 17:27
@renovate renovate bot changed the title fix(deps): update e2e-tests to v8 [security] fix(deps): update e2e-tests to v9 [security] Nov 18, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from 0b30db0 to 0a0dfb8 Compare November 18, 2024 19:22
@renovate renovate bot changed the title fix(deps): update e2e-tests to v9 [security] fix(deps): update e2e-tests to v8 [security] Nov 18, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from 0a0dfb8 to 0b15231 Compare November 19, 2024 12:42
@renovate renovate bot changed the title fix(deps): update e2e-tests to v8 [security] fix(deps): update e2e-tests to v9 [security] Nov 19, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch 2 times, most recently from 218101d to f4d4cad Compare November 19, 2024 19:10
@renovate renovate bot changed the title fix(deps): update e2e-tests to v9 [security] fix(deps): update e2e-tests to v8 [security] Nov 19, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from f4d4cad to a610150 Compare November 21, 2024 19:18
@renovate renovate bot changed the title fix(deps): update e2e-tests to v8 [security] fix(deps): update e2e-tests to v9 [security] Nov 21, 2024
@renovate renovate bot force-pushed the renovate/npm-simonsmith-cypress-image-snapshot-vulnerability branch from a610150 to c0572d9 Compare November 21, 2024 23:03
@renovate renovate bot changed the title fix(deps): update e2e-tests to v9 [security] fix(deps): update e2e-tests to v8 [security] Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer topic: automation Related to Circle CI, Peril, Renovate, scripts/*, Github Workflows, Github Actions, or Slackbot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants