build: update all dependencies from open Dependabot PRs#88
Merged
maximizeIT merged 3 commits intomainfrom Mar 31, 2026
Merged
Conversation
- Bump jest from 29.7.0 to 30.2.0 (closes #82) - Bump babel-jest from 29.7.0 to 30.2.0 (closes #80) - Bump @babel/preset-env from 7.27.2 to 7.29.0 (closes #81) - Bump eslint from 8.57.1 to 10.0.0 (closes #79) - Bump jsdoc-to-markdown from 8.0.3 to 9.1.3 (closes #78) - Bump actions/setup-node from 1 to 6 (closes #77) - Bump actions/checkout from 2 to 6 (closes #76) - Replace eslint-plugin-node with eslint-plugin-n (maintained fork, required for eslint v10) - Migrate ESLint config from legacy .eslintrc to flat eslint.config.js - Remove deprecated .eslintignore (ignores moved to eslint.config.js) - Replace deprecated Jest toThrowError() with toThrow() (removed in jest v30) Co-authored-by: GitHub Copilot <copilot@noreply.github.com> Agent-Logs-Url: https://github.com/Staffbase/plugins-sdk-nodejs/sessions/cd46eacd-2fda-4844-9cbc-9e49d2786686 Co-authored-by: maximizeIT <8626039+maximizeIT@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
maximizeIT
March 31, 2026 06:25
View session
- Delete spurious README.MD (case-duplicate generated by buildDoc.js) - Fix docSrc/buildDoc.js to write to README.md instead of README.MD - Update copyright year 2023 → 2026 in license.tpl and regenerate README.md Co-authored-by: GitHub Copilot <copilot@noreply.github.com> Agent-Logs-Url: https://github.com/Staffbase/plugins-sdk-nodejs/sessions/519c6b97-6fe8-4eb9-874b-b94545645c43 Co-authored-by: maximizeIT <8626039+maximizeIT@users.noreply.github.com>
Ninerian
approved these changes
Mar 31, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR modernizes the project’s toolchain and automation while fixing README generation and updating the license year to avoid case-duplicate README.MD artifacts.
Changes:
- Updated dev tooling dependencies (Jest/Babel/ESLint) and adjusted tests accordingly (
toThrowError→toThrow). - Migrated ESLint configuration to flat config (
eslint.config.js) and simplified lint scripts. - Fixed doc generation output filename and updated license year (2023 → 2026) in templates and generated README.
Reviewed changes
Copilot reviewed 12 out of 13 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
src/tests/UtilFunc.test.js |
Updates Jest assertions to match newer Jest matcher usage. |
src/tests/SSOTokenData.test.js |
Updates Jest assertions for newer Jest compatibility. |
src/tests/SSOToken.test.js |
Updates Jest assertions for newer Jest compatibility. |
README.md |
Updates generated license year text. |
package.json |
Updates tooling dependencies and simplifies lint scripts. |
eslint.config.js |
Adds ESLint flat config and defines ignore patterns. |
docSrc/sections/license.tpl |
Updates license year used during README generation. |
docSrc/buildDoc.js |
Writes generated README to README.md (correct casing). |
.github/workflows/publish-npm.yml |
Updates GitHub Actions versions and Node setup used for publishing. |
.github/workflows/node.js.yml |
Updates GitHub Actions versions used in CI. |
.eslintrc |
Removes legacy ESLint config (replaced by flat config). |
.eslintignore |
Removes legacy ignore file (replaced by flat config ignores). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
README.MDfile (case-duplicate ofREADME.md, generated by buildDoc.js)docSrc/buildDoc.jsto write toREADME.mdinstead ofREADME.MDdocSrc/sections/license.tplREADME.mdvianpm run readmeREADME.mdexists with updated year