From 3f185ff8001cd5d65fb9418c526f95d7c531dfda Mon Sep 17 00:00:00 2001 From: Peter Petrov Date: Mon, 7 Oct 2024 17:16:35 +0300 Subject: [PATCH] Backport changes in JS Packages (#39664) * Update versions/changelog * Update lock file --- pnpm-lock.yaml | 1 + .../js-packages/critical-css-gen/CHANGELOG.md | 16 +++++++++++++++- .../changelog/add-playwright-endpoint | 4 ---- .../changelog/fix-xss-vulnerability | 4 ---- .../changelog/update-default-entry-point | 4 ---- .../js-packages/critical-css-gen/package.json | 2 +- .../i18n-loader-webpack-plugin/CHANGELOG.md | 5 +++++ .../changelog/renovate-wordpress-monorepo | 4 ---- .../i18n-loader-webpack-plugin/package.json | 2 +- projects/js-packages/webpack-config/CHANGELOG.md | 4 ++++ .../changelog/renovate-wordpress-monorepo | 4 ---- projects/js-packages/webpack-config/package.json | 2 +- 12 files changed, 28 insertions(+), 24 deletions(-) delete mode 100644 projects/js-packages/critical-css-gen/changelog/add-playwright-endpoint delete mode 100644 projects/js-packages/critical-css-gen/changelog/fix-xss-vulnerability delete mode 100644 projects/js-packages/critical-css-gen/changelog/update-default-entry-point delete mode 100644 projects/js-packages/i18n-loader-webpack-plugin/changelog/renovate-wordpress-monorepo delete mode 100644 projects/js-packages/webpack-config/changelog/renovate-wordpress-monorepo diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f1a618bb84940..1da82302f6c76 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9720,6 +9720,7 @@ packages: eslint@8.57.0: resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true espree@9.6.1: diff --git a/projects/js-packages/critical-css-gen/CHANGELOG.md b/projects/js-packages/critical-css-gen/CHANGELOG.md index b43f3b87f0bd5..429481e6c094b 100644 --- a/projects/js-packages/critical-css-gen/CHANGELOG.md +++ b/projects/js-packages/critical-css-gen/CHANGELOG.md @@ -5,8 +5,22 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## 0.1.0 - 2024-09-24 +## [1.0.0] - 2024-10-07 + +### Security + +- Security: Fix XSS vulnerability. [#39507] ### Added +- Add /playwright entry point for BrowserInterfacePlaywright. [#39509] + +### Changed + +- Change default entry point of package to include BrowserInterfaceIframe instead of BrowserInterfacePlaywright. [#39509] + +## 0.1.0 - 2024-09-24 +### Added - Initial version. [#38429] + +[1.0.0]: https://github.com/Automattic/jetpack-critical-css-gen/compare/v0.1.0...v1.0.0 diff --git a/projects/js-packages/critical-css-gen/changelog/add-playwright-endpoint b/projects/js-packages/critical-css-gen/changelog/add-playwright-endpoint deleted file mode 100644 index 6d610624f1ac8..0000000000000 --- a/projects/js-packages/critical-css-gen/changelog/add-playwright-endpoint +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: added - -Add /playwright entry point for BrowserInterfacePlaywright. diff --git a/projects/js-packages/critical-css-gen/changelog/fix-xss-vulnerability b/projects/js-packages/critical-css-gen/changelog/fix-xss-vulnerability deleted file mode 100644 index 9343c331808dd..0000000000000 --- a/projects/js-packages/critical-css-gen/changelog/fix-xss-vulnerability +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: security - -Security: Fix XSS vulnerability. diff --git a/projects/js-packages/critical-css-gen/changelog/update-default-entry-point b/projects/js-packages/critical-css-gen/changelog/update-default-entry-point deleted file mode 100644 index e8a166bfd75be..0000000000000 --- a/projects/js-packages/critical-css-gen/changelog/update-default-entry-point +++ /dev/null @@ -1,4 +0,0 @@ -Significance: major -Type: changed - -Change default entry point of package to include BrowserInterfaceIframe instead of BrowserInterfacePlaywright. diff --git a/projects/js-packages/critical-css-gen/package.json b/projects/js-packages/critical-css-gen/package.json index 3c4b979158dc8..1e7886679a3fe 100644 --- a/projects/js-packages/critical-css-gen/package.json +++ b/projects/js-packages/critical-css-gen/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "@automattic/jetpack-critical-css-gen", - "version": "0.1.0", + "version": "1.0.0", "description": "A flexible Critical CSS Generator that supports multiple URLs and viewports, with both server-side and client-side generation capabilities.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/critical-css-gen/#readme", "bugs": { diff --git a/projects/js-packages/i18n-loader-webpack-plugin/CHANGELOG.md b/projects/js-packages/i18n-loader-webpack-plugin/CHANGELOG.md index 57aee6f6ed074..ffc383512f946 100644 --- a/projects/js-packages/i18n-loader-webpack-plugin/CHANGELOG.md +++ b/projects/js-packages/i18n-loader-webpack-plugin/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.0.59] - 2024-10-07 +### Changed +- Updated package dependencies. [#39594] + ## [2.0.58] - 2024-09-10 ### Changed - Updated package dependencies. [#39302] @@ -261,6 +265,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release. +[2.0.59]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.58...v2.0.59 [2.0.58]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.57...v2.0.58 [2.0.57]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.56...v2.0.57 [2.0.56]: https://github.com/Automattic/i18n-loader-webpack-plugin/compare/v2.0.55...v2.0.56 diff --git a/projects/js-packages/i18n-loader-webpack-plugin/changelog/renovate-wordpress-monorepo b/projects/js-packages/i18n-loader-webpack-plugin/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/i18n-loader-webpack-plugin/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/i18n-loader-webpack-plugin/package.json b/projects/js-packages/i18n-loader-webpack-plugin/package.json index d41dd8387e9e0..f6eca5e5cf947 100644 --- a/projects/js-packages/i18n-loader-webpack-plugin/package.json +++ b/projects/js-packages/i18n-loader-webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/i18n-loader-webpack-plugin", - "version": "2.0.58", + "version": "2.0.59", "description": "A Webpack plugin to load WordPress i18n when Webpack lazy-loads a bundle.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/i18n-loader-webpack-plugin/#readme", "bugs": { diff --git a/projects/js-packages/webpack-config/CHANGELOG.md b/projects/js-packages/webpack-config/CHANGELOG.md index 16ddaf42fd89d..e1b8b8b4bb234 100644 --- a/projects/js-packages/webpack-config/CHANGELOG.md +++ b/projects/js-packages/webpack-config/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 3.4.3 - 2024-10-07 +### Changed +- Updated package dependencies. [#39594] + ## 3.4.2 - 2024-09-26 ### Changed - Updated package dependencies. [#39534] diff --git a/projects/js-packages/webpack-config/changelog/renovate-wordpress-monorepo b/projects/js-packages/webpack-config/changelog/renovate-wordpress-monorepo deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/js-packages/webpack-config/changelog/renovate-wordpress-monorepo +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/js-packages/webpack-config/package.json b/projects/js-packages/webpack-config/package.json index 3935fdae594c1..987e11a987bb9 100644 --- a/projects/js-packages/webpack-config/package.json +++ b/projects/js-packages/webpack-config/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-webpack-config", - "version": "3.4.2", + "version": "3.4.3", "description": "Library of pieces for webpack config in Jetpack projects.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/webpack-config/#readme", "bugs": {