Skip to content

v5.0.0: Modernize dependency stack and migrate to ESLint flat config#106

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/check-existing-settings
Draft

v5.0.0: Modernize dependency stack and migrate to ESLint flat config#106
Copilot wants to merge 2 commits intomainfrom
copilot/check-existing-settings

Conversation

Copy link

Copilot AI commented Feb 25, 2026

PR #105 updates all major dependencies to current versions and migrates the ESLint configuration to the flat config format. This review applies those changes with one correction identified during review.

Dependency updates

  • ajv v6 → v8: extendRefs option removed; migrated to { strict: false, allErrors: true }. error.dataPatherror.instancePath in capabilities.js and dependencies.js
  • compare-versions v3 → v6: default export replaced with named export
    // before
    const compareVersions = require("compare-versions");
    compareVersions.compare(apiVersion, "3.8.0", ">=")
    
    // after
    const { compare } = require("compare-versions");
    compare(apiVersion, "3.8.0", ">=")
  • fs-extra v9 → v11, @babel/* updated to 7.29.x — no API changes required
  • Node.js engine: minimum bumped from >=12 to >=18

ESLint migration

  • Removes .eslintrc.js (legacy format); adds eslint.config.js (ESLint v9 flat config)
  • Switches from deprecated eslint-plugin-node to eslint-plugin-n
  • Fix applied: PR Update packages #105 incorrectly set sourceType: "module" for src/**/*.js in an override block; removed that block since all source files use CommonJS — the global sourceType: "script" is correct

Other cleanup

  • Removes unused const { file } = require('jszip') from src/utils.js
  • Trailing comma and quote consistency fixes throughout (style only)

Breaking changes

Only the Node.js minimum version requirement (>=18) is a breaking change for consumers. All plugin options, defaults, and output artifacts are unchanged.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

…gration

Co-authored-by: Demonkratiy <39551830+Demonkratiy@users.noreply.github.com>
Copilot AI changed the title [WIP] Review PR for impact on existing settings v5.0.0: Modernize dependency stack and migrate to ESLint flat config Feb 25, 2026
Copilot AI requested a review from Demonkratiy February 25, 2026 13:14
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.

2 participants