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

removed regextra library to reduce dependencies #865

Merged
merged 3 commits into from Apr 8, 2022

Conversation

ChrisDryden
Copy link
Contributor

We currently have three seperate security advisories for this package due to the sub packages of regextras. I noticed that there is only one use of the regextras package and it could be replaced with only a few lines and would signifigantly reduce the size of the package and the impact of the downstream dependencies.

@brettz9
Copy link
Collaborator

brettz9 commented Apr 7, 2022

Ok, but can we see about using matchAll instead of exec? Node 12 is being end-of-lifed by the end of this month, so I think we can move to drop support ourselves for Node 12 now, and the feature would then be available for use by our targeted versions.

@ChrisDryden
Copy link
Contributor Author

Sounds good to me, thanks for the fast response! Updating it now

@brettz9
Copy link
Collaborator

brettz9 commented Apr 7, 2022

and so that the tests pass, feel free to add the Node version bump to engines and travis...

@ChrisDryden
Copy link
Contributor Author

Removed the node12 support and made the matchAll changes. One of the four builds is failing and it appears to be unrelated to the changes, would it be possible to take a quick look or rerun the CI?

@brettz9
Copy link
Collaborator

brettz9 commented Apr 7, 2022

I've filed gajus/eslint-plugin-canonical#4 as such a fix should get our tests working again.

@brettz9 brettz9 merged commit be3af9d into gajus:master Apr 8, 2022
@brettz9
Copy link
Collaborator

brettz9 commented Apr 8, 2022

I discovered that we could probably live with matchAll with Node 12, as it was only buggy apparently by not throwing when a non-global regex was supplied, but I still think we may as well, allowing us to use other Node 14+-only features now.

Thanks for the PR!

@gajus
Copy link
Owner

gajus commented Apr 8, 2022

🎉 This PR is included in version 39.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gajus gajus added the released label Apr 8, 2022
crapStone pushed a commit to Calciumdibromid/CaBr2 that referenced this pull request Apr 9, 2022
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | devDependencies | major | [`38.1.6` -> `39.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-jsdoc/38.1.6/39.0.0) |

---

### Release Notes

<details>
<summary>gajus/eslint-plugin-jsdoc</summary>

### [`v39.0.0`](https://github.com/gajus/eslint-plugin-jsdoc/releases/v39.0.0)

[Compare Source](gajus/eslint-plugin-jsdoc@v38.1.6...v39.0.0)

##### chore

-   drop Node 12 from `engines` ([be3af9d](gajus/eslint-plugin-jsdoc@be3af9d)), closes [#&#8203;865](gajus/eslint-plugin-jsdoc#865)

##### BREAKING CHANGES

-   Node 12 is soon entering EOL.

Also:

</details>

---

### Configuration

📅 **Schedule**: 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.

---

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

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

Co-authored-by: cabr2-bot <cabr2.help@gmail.com>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1293
Reviewed-by: crapStone <crapstone@noreply.codeberg.org>
Co-authored-by: Calciumdibromid Bot <cabr2_bot@noreply.codeberg.org>
Co-committed-by: Calciumdibromid Bot <cabr2_bot@noreply.codeberg.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants