Skip to content

Tests: Switch to an updated fork of promises-aplus-tests#5559

Merged
mgol merged 1 commit intojquery:mainfrom
mgol:promises-aplus-fork
Sep 30, 2024
Merged

Tests: Switch to an updated fork of promises-aplus-tests#5559
mgol merged 1 commit intojquery:mainfrom
mgol:promises-aplus-fork

Conversation

@mgol
Copy link
Member

@mgol mgol commented Sep 26, 2024

Summary

The upstream package has been unmaintained for years, with dependencies with long-reported security issues. Switching to a fork allows to resolve all the security reports against the jQuery development environment.

The fork is maintained by @mgol and has the following changes:

  1. The underscore dependency has been removed.
  2. sinon has been updated from v1 to v19.
  3. mocha has been updated from v2 to v10.

Changes to the source are minimal; it will be easy to rebase the fixes if the upstream package is ever updated.

In addition to the above, the q dependency has been removed. It's been added in gh-1996 but never really used.

Checklist

The upstream package has been unmaintained for years, with dependencies
with long-reported security issues. Switching to a fork allows to resolve
all the security reports against the jQuery development environment.

The fork is maintained by @mgol and has the following changes:
1. The `underscore` dependency has been removed.
2. `sinon` has been updated from v1 to v19.
3. `mocha` has been updated from v2 to v10.

Changes to the source are minimal; it will be easy to rebase the fixes
if the upstream package is ever updated.

In addition to the above, the `q` dependency has been removed.
It's been added in jquerygh-1996 but never really used.
@mgol mgol added the Tests label Sep 26, 2024
@mgol mgol self-assigned this Sep 26, 2024
@mgol mgol marked this pull request as ready for review September 26, 2024 09:41
@mgol mgol added Needs review Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. labels Sep 26, 2024
Copy link
Member

@timmywil timmywil left a comment

Choose a reason for hiding this comment

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

Thanks!

@timmywil timmywil removed the Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. label Sep 30, 2024
@mgol mgol removed the Needs review label Sep 30, 2024
@mgol mgol merged commit 559bc5a into jquery:main Sep 30, 2024
@mgol mgol deleted the promises-aplus-fork branch September 30, 2024 16:48
@mgol mgol added this to the 3.7.2 milestone Sep 30, 2024
mgol added a commit that referenced this pull request Sep 30, 2024
The upstream package has been unmaintained for years, with dependencies
with long-reported security issues. Switching to a fork allows to resolve
all the security reports against the jQuery development environment.

The fork is maintained by @mgol and has the following changes:
1. The `underscore` dependency has been removed.
2. `sinon` has been updated from v1 to v19.
3. `mocha` has been updated from v2 to v10.

Changes to the source are minimal; it will be easy to rebase the fixes
if the upstream package is ever updated.

In addition to the above, the `q` dependency has been removed.
It's been added in gh-1996 but never really used.

Closes gh-5559

(cherry picked from commit 559bc5a)
@mgol
Copy link
Member Author

mgol commented Sep 30, 2024

Landed on main in 559bc5a and on 3.x-stable in 92a437b.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

2 participants