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

[Snyk] Upgrade testcafe from 1.8.3 to 1.16.1 #103

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

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade testcafe from 1.8.3 to 1.16.1.

merge advice
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 82 versions ahead of your current version.
  • The recommended version was released 21 days ago, on 2021-10-05.

The recommended version fixes:

Severity Issue PriorityScore (*) Exploit Maturity
Regular Expression Denial of Service (ReDoS)
SNYK-JS-WS-1296835
586/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Release notes
Package name: testcafe
  • 1.16.1 - 2021-10-05

    What’s Changed

  • 1.16.1-alpha.1 - 2021-10-04

    What’s Changed

  • 1.16.0 - 2021-09-08

    v1.16.0 (2021-09-08)

    Enhancements

    Support for JavaScript configuration files

    You can now store TestCafe settings in a js file. Configuration properties in JavaScript files can reference JavaScript methods, functions and variables, which makes it easy to create dynamic configuration files.

    Just export the JSON name/value pairs in the file:

    module.exports = {
        skipJsErrors: true,
        hostname: "localhost",
        // other settings
    }

    Support for custom user variables in the configuration file

    TestCafe v1.16.0 and later supports configuration files with variable declarations. Users can reference variables from a configuration file in the tests that utilize that configuration file. To enable access to configuration file variables, import the userVariables object from the testcafe module at the beginning of the test script.

    This capability can come in handy if there's a single piece of data you want to use in multiple tests — for example, the website's URL. That way, if your website moves to a new domain name, you don't have to change your tests one by one.

    If you previously used environment variables to achieve the same goal, you might prefer the new method — it significantly simplifies the setup process, and allows you to commit the data to a version control system.

    Define your custom variables with the userVariables JSON object:

    {
      "userVariables": {
        "url": "http://devexpress.github.io/testcafe/example",
      }
    }

    Reference this variable in your test:

    import { userVariables } from 'testcafe';

    fixture Test user variables
    .page(userVariables.url);

    test('Type text', async t => {
    await t
    .typeText('#developer-name', 'John Smith')
    .click('#submit-button');
    });

    Other enhancements

    • New option that disables thumbnail generation for test screenshots (PR by @ taki-fw).
    • New embedding-utils API method that retrieves information about skipped tests (PR by @ flora8984461).
    • The Runner.filter function supports asynchronous arguments (PR by @ eignatyev).
    • You can import the test and fixture objects directly from the testcafe module (PR #6338).

    Bug Fixes

    • TestCafe does not keep track of file changes in live mode (#6481).
  • 1.16.0-rc.2 - 2021-09-02

    What’s Changed

  • 1.16.0-rc.1 - 2021-08-30
    Read more
  • 1.15.3 - 2021-08-19

    What’s Changed

  • 1.15.3-rc.1 - 2021-08-18
    Read more
  • 1.15.2 - 2021-08-11
    Read more
  • 1.15.2-rc.1 - 2021-08-03
    Read more
  • 1.15.1 - 2021-07-28
    Read more
  • 1.15.1-rc.2 - 2021-07-27
  • 1.15.1-rc.1 - 2021-07-21
  • 1.15.0 - 2021-07-08
  • 1.15.0-rc.4 - 2021-07-07
  • 1.15.0-rc.3 - 2021-06-30
  • 1.15.0-rc.2 - 2021-06-17
  • 1.15.0-rc.1 - 2021-06-07
  • 1.15.0-alpha.4 - 2021-06-03
  • 1.15.0-alpha.3 - 2021-05-26
  • 1.15.0-alpha.2 - 2021-05-06
  • 1.15.0-alpha.1 - 2021-04-28
  • 1.14.2 - 2021-05-12
  • 1.14.1 - 2021-05-12
  • 1.14.0 - 2021-04-07
  • 1.14.0-rc.1 - 2021-04-05
  • 1.13.0 - 2021-03-22
  • 1.13.0-rc.1 - 2021-03-18
  • 1.12.1-alpha.1 - 2021-03-04
  • 1.12.0 - 2021-03-04
  • 1.12.0-rc.1 - 2021-03-02
  • 1.11.1-alpha.1 - 2021-02-19
  • 1.11.0 - 2021-02-15
  • 1.11.0-rc.2 - 2021-02-11
  • 1.11.0-rc.1 - 2021-02-10
  • 1.10.2-alpha.3 - 2021-02-05
  • 1.10.2-alpha.2 - 2021-01-31
  • 1.10.2-alpha.1 - 2021-01-19
  • 1.10.1 - 2020-12-24
  • 1.10.1-rc.1 - 2020-12-22
  • 1.10.0 - 2020-12-15
  • 1.10.0-rc.8 - 2020-12-15
  • 1.10.0-rc.7 - 2020-12-11
  • 1.10.0-rc.6 - 2020-12-07
  • 1.10.0-rc.5 - 2020-12-02
  • 1.10.0-rc.4 - 2020-11-27
  • 1.10.0-rc.3 - 2020-11-27
  • 1.10.0-rc.2 - 2020-11-24
  • 1.10.0-rc.1 - 2020-11-13
  • 1.9.5-rc.1 - 2020-10-26
  • 1.9.4 - 2020-10-02
  • 1.9.4-rc.2 - 2020-09-25
  • 1.9.4-rc.1 - 2020-09-23
  • 1.9.3 - 2020-09-17
  • 1.9.3-rc.1 - 2020-09-16
  • 1.9.2 - 2020-09-03
  • 1.9.2-rc.2 - 2020-09-02
  • 1.9.2-rc.1 - 2020-09-01
  • 1.9.1 - 2020-08-12
  • 1.9.1-rc.1 - 2020-08-11
  • 1.9.0 - 2020-08-06
  • 1.9.0-rc.2 - 2020-08-05
  • 1.9.0-rc.1 - 2020-08-03
  • 1.9.0-alpha.2 - 2020-07-16
  • 1.9.0-alpha.1 - 2020-07-14
  • 1.8.8 - 2020-07-06
  • 1.8.8-alpha.3 - 2020-07-06
  • 1.8.8-alpha.2 - 2020-07-03
  • 1.8.8-alpha.1 - 2020-06-30
  • 1.8.7 - 2020-06-23
  • 1.8.7-rc.3 - 2020-06-23
  • 1.8.7-rc.2 - 2020-06-22
  • 1.8.7-rc.1 - 2020-06-22
  • 1.8.7-alpha.1 - 2020-06-09
  • 1.8.6 - 2020-06-01
  • 1.8.6-alpha.2 - 2020-05-28
  • 1.8.6-alpha.1 - 2020-05-22
  • 1.8.5 - 2020-05-19
  • 1.8.5-alpha.3 - 2020-05-15
  • 1.8.5-alpha.2 - 2020-04-28
  • 1.8.5-alpha.1 - 2020-04-22
  • 1.8.4 - 2020-04-08
  • 1.8.4-rc.1 - 2020-04-07
  • 1.8.3 - 2020-03-17
from testcafe GitHub release notes
Commit messages
Package name: testcafe
  • 1ad59b9 release: v1.16.1 (#6589)
  • da531e1 release: added the v1.16.1 changelog (#6588)
  • 9f1b142 release: bumped version, added missing @ babel/plugin-proposal-private-methods package (#6586)
  • c1bd426 feat: added the new 'reportWarnings' method for reporter (#6531)
  • d0e3e60 fix importing tests (#6560)
  • 8b930f4 fix: support beforeInput event in Firefox (closes #6504) (#6557)
  • dd174b6 test: fix docker test (#6552)
  • 1c8ef84 Refactor the page unload barrier + add server's unload barrier (#6565)
  • 8d7cddf Update stale.yml
  • ca67d91 refactor: hack for 'import { test, fixture } from "testcafe"' instruction support (#6547)
  • d1d18dc refactor: hack for supporting 'import { t } from testcafe' in the experimental debug mode. (#6542)
  • c347f57 Shared script execution barrier (#6544)
  • 31b7ab3 Shared request barrier (#6541)
  • 0536725 Update label-actions.yml
  • 237527a Update bug-report.md
  • 4949216 refactor: fix selector evaluation for esnext tests (#6511)
  • 489bcff add port argument support for experimental debug (closes #6522) (#6525)
  • f60518b fix: the reporter.reportTestActionDone doesn't work with raw API tests (#6443)
  • 96566ef chore: fix test after Chrome and Node updates (#6527)
  • 127787f Improve iframe switching via CDP (#6500)
  • adbfbb7 feat: added more detailed information of report when running a *.testcafe fixture file using CLI (#6484)
  • 1179ab3 Add a public CLI & API flag to allow testing CDP (close #6507) (#6509)
  • 057ae45 test for 1921 case, hammerhead Update dependency eslint to v7.13.0 pubkey/rxdb#2675 (#6432)
  • bbd8563 release: v1.16.0 (#6515)

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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.

1 participant