Skip to content

edit test#1461

Open
mihail-moonz wants to merge 45 commits intoGoogleChromeLabs:devfrom
mihail-moonz:dev
Open

edit test#1461
mihail-moonz wants to merge 45 commits intoGoogleChromeLabs:devfrom
mihail-moonz:dev

Conversation

@mihail-moonz
Copy link
Copy Markdown

No description provided.

Copilot AI and others added 30 commits January 23, 2026 12:08
… and documentation

- Updated all dependencies to 2026 versions (Rollup 4.x, TypeScript 5.7, Preact 10.24, PostCSS 8.x, etc.)
- Modernized TypeScript configuration (ES2022, automatic JSX, isolatedModules)
- Updated GitHub Actions workflow (v4 actions, caching, matrix builds, testing)
- Created WordPress integration module with compression, thumbnails, and batch processing APIs
- Added Vitest testing infrastructure with example tests
- Added Vite support for faster development (optional)
- Modernized all documentation (README, CONTRIBUTING, new guides)

Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
… system

- Keep Rollup at 2.79.2 (build system needs significant refactoring for v4+)
- Keep Preact at 10.5.15 (v10.24+ breaks existing components)
- Update TypeScript to 5.3.3 (latest compatible version)
- Keep dedent at 0.7.0 (v1+ uses .mts files incompatible with current setup)
- Update del to 6.1.1 (compatible with current build)
- Update PostCSS to 8.4.49
- Update all other dependencies to latest compatible versions
- Note: Full Rollup 4.x migration requires significant refactoring of custom plugins

Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
…odule placeholder status

- Update @rollup/plugin-commonjs, node-resolve, replace to Rollup 2.x compatible versions
- Update @web/rollup-plugin-import-meta-assets to compatible version
- Build now completes successfully in 8.9s
- All tests passing (5/5)
- Add clear documentation that WordPress module is a placeholder/interface structure
- Address code review feedback

Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
- Update happy-dom from 15.11.7 to 20.0.0 (fixes VM Context Escape RCE vulnerability)
- Add comprehensive MODERNIZATION_SUMMARY.md documenting all changes
- Build still working: 8.8s
- Tests still passing: 5/5 in 5ms
- Security: Clean (no known vulnerabilities in added dependencies)

Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
…lity

- Update happy-dom from 20.0.0 to 20.0.2 (patched version)
- Fixes vulnerability: disallow-code-generation-from-strings bypass
- All tests still passing: 5/5 in 4ms
- Advisory database scan: Clean (no vulnerabilities)

Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
…ject

Modernize Squoosh: 2026 dependencies, WordPress integration, and testing infrastructure
… fixes, memory management, caching, and performance tracking

Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
…onstant for max image dimension

Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
…system

Add input validation, fix worker race conditions, and implement memory-aware caching
…improve error handling in index.tsx, and update .gitignore

Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
…ype safety, add comments

Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
Fix Vite dev server 404 by adding index.html and improving configuration
Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
…rror

Add preventAssignment option to @rollup/plugin-replace
Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
Fix Vite dev server with custom import plugins and ES module compatibility
Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
Copilot AI and others added 5 commits January 24, 2026 11:43
Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
[WIP] Fix Rollup build error after updating Vitest
@google-cla
Copy link
Copy Markdown

google-cla bot commented Jan 24, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

mihail-moonz and others added 10 commits January 24, 2026 15:06
Fix Rollup chunk editing conflict on conditional dynamic import
…nEvent polyfill

Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
…) in polyfill

Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
Fix CI/CD failures: missing coverage dependency and test environment polyfill
Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
Co-authored-by: mihail-moonz <235478520+mihail-moonz@users.noreply.github.com>
…r-handling

Fix TypeScript build error handling to prevent process crash
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