From 8789c367057b6b919de7ab734954e9a40ce90f37 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Fri, 25 Aug 2023 15:23:53 -0400 Subject: [PATCH 01/57] [not verified] Enable block registration by specifying block.json path --- projects/packages/blocks/src/class-blocks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/packages/blocks/src/class-blocks.php b/projects/packages/blocks/src/class-blocks.php index ca7ba94133908..e917ec66954b8 100644 --- a/projects/packages/blocks/src/class-blocks.php +++ b/projects/packages/blocks/src/class-blocks.php @@ -46,7 +46,7 @@ public static function jetpack_register_block( $slug, $args = array() ) { _doing_it_wrong( 'jetpack_register_block', 'Prefix the block with jetpack/ ', 'Jetpack 9.0.0' ); $slug = 'jetpack/' . $slug; } - + $block_type = $slug; // If the path to block.json is passed, find the slug in the file then create a block type From 72db3ec40ed9bbd85602beec7113b5966cd53c46 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Tue, 29 Aug 2023 18:07:48 -0400 Subject: [PATCH 02/57] [not verified] Add test for registering block by its metadata file --- projects/packages/blocks/src/class-blocks.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/packages/blocks/src/class-blocks.php b/projects/packages/blocks/src/class-blocks.php index e917ec66954b8..5d6bce3f877d4 100644 --- a/projects/packages/blocks/src/class-blocks.php +++ b/projects/packages/blocks/src/class-blocks.php @@ -40,9 +40,13 @@ class Blocks { * @return WP_Block_Type|false The registered block type on success, or false on failure. */ public static function jetpack_register_block( $slug, $args = array() ) { +<<<<<<< HEAD // Slug doesn't start with `jetpack/`, isn't an absolute path, or doesn't contain a slash // (synonym of a namespace) at all. if ( 0 !== strpos( $slug, 'jetpack/' ) && 0 !== strpos( $slug, '/' ) && ! strpos( $slug, '/' ) ) { +======= + if ( 0 !== strpos( $slug, 'jetpack/' ) && 0 !== strpos( $slug, '/' ) ) { +>>>>>>> 8eba989a7a ([not verified] Add test for registering block by its metadata file) _doing_it_wrong( 'jetpack_register_block', 'Prefix the block with jetpack/ ', 'Jetpack 9.0.0' ); $slug = 'jetpack/' . $slug; } From 1ccb7fb1c1f912c8360293ad755eae54b9dd154b Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Tue, 5 Sep 2023 14:51:43 -0400 Subject: [PATCH 03/57] [not verified] Fix failing test --- projects/packages/blocks/src/class-blocks.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/projects/packages/blocks/src/class-blocks.php b/projects/packages/blocks/src/class-blocks.php index 5d6bce3f877d4..e917ec66954b8 100644 --- a/projects/packages/blocks/src/class-blocks.php +++ b/projects/packages/blocks/src/class-blocks.php @@ -40,13 +40,9 @@ class Blocks { * @return WP_Block_Type|false The registered block type on success, or false on failure. */ public static function jetpack_register_block( $slug, $args = array() ) { -<<<<<<< HEAD // Slug doesn't start with `jetpack/`, isn't an absolute path, or doesn't contain a slash // (synonym of a namespace) at all. if ( 0 !== strpos( $slug, 'jetpack/' ) && 0 !== strpos( $slug, '/' ) && ! strpos( $slug, '/' ) ) { -======= - if ( 0 !== strpos( $slug, 'jetpack/' ) && 0 !== strpos( $slug, '/' ) ) { ->>>>>>> 8eba989a7a ([not verified] Add test for registering block by its metadata file) _doing_it_wrong( 'jetpack_register_block', 'Prefix the block with jetpack/ ', 'Jetpack 9.0.0' ); $slug = 'jetpack/' . $slug; } From beea761be79654390ccdb6fec850555da82ab71e Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Fri, 25 Aug 2023 16:13:00 -0400 Subject: [PATCH 04/57] [not verified] Refactor: register business hours block with block.json path --- .../blocks/business-hours/block.json | 59 +++++++++ .../blocks/business-hours/business-hours.php | 28 ++-- .../extensions/blocks/business-hours/edit.js | 2 +- .../blocks/business-hours/editor.js | 15 ++- .../extensions/blocks/business-hours/icon.js | 16 +++ .../extensions/blocks/business-hours/index.js | 120 ------------------ 6 files changed, 99 insertions(+), 141 deletions(-) create mode 100644 projects/plugins/jetpack/extensions/blocks/business-hours/icon.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/business-hours/index.js diff --git a/projects/plugins/jetpack/extensions/blocks/business-hours/block.json b/projects/plugins/jetpack/extensions/blocks/business-hours/block.json index 1ac12411ff9da..bcaa5dc475a62 100644 --- a/projects/plugins/jetpack/extensions/blocks/business-hours/block.json +++ b/projects/plugins/jetpack/extensions/blocks/business-hours/block.json @@ -84,5 +84,64 @@ ] } }, + "example": { + "attributes": { + "days": [ + { + "name": "Sun", + "hours": [] + }, + { + "name": "Mon", + "hours": [ + { + "opening": "09:00", + "closing": "17:00" + } + ] + }, + { + "name": "Tue", + "hours": [ + { + "opening": "09:00", + "closing": "17:00" + } + ] + }, + { + "name": "Wed", + "hours": [ + { + "opening": "09:00", + "closing": "17:00" + } + ] + }, + { + "name": "Thu", + "hours": [ + { + "opening": "09:00", + "closing": "17:00" + } + ] + }, + { + "name": "Fri", + "hours": [ + { + "opening": "09:00", + "closing": "17:00" + } + ] + }, + { + "name": "Sat", + "hours": [] + } + ] + } + }, "editorScript": "file:../editor.js" } diff --git a/projects/plugins/jetpack/extensions/blocks/business-hours/business-hours.php b/projects/plugins/jetpack/extensions/blocks/business-hours/business-hours.php index 2540e5b764d64..6f909953f7409 100644 --- a/projects/plugins/jetpack/extensions/blocks/business-hours/business-hours.php +++ b/projects/plugins/jetpack/extensions/blocks/business-hours/business-hours.php @@ -12,8 +12,14 @@ use Automattic\Jetpack\Blocks; use Jetpack_Gutenberg; -const FEATURE_NAME = 'business-hours'; -const BLOCK_NAME = 'jetpack/' . FEATURE_NAME; +/** + * Returns the path to the directory containing the block.json file. + * + * @return string + */ +function get_block_path() { + return dirname( JETPACK__PLUGIN_FILE ) . '/_inc/blocks/business-hours'; +} /** * Registers the block for use in Gutenberg @@ -22,23 +28,9 @@ */ function register_block() { Blocks::jetpack_register_block( - BLOCK_NAME, + get_block_path(), array( 'render_callback' => __NAMESPACE__ . '\render', - 'supports' => array( - 'color' => array( - 'gradients' => true, - ), - 'spacing' => array( - 'margin' => true, - 'padding' => true, - ), - 'typography' => array( - 'fontSize' => true, - 'lineHeight' => true, - ), - 'align' => array( 'wide', 'full' ), - ), ) ); } @@ -172,7 +164,7 @@ function render( $attributes ) { $content .= ''; - Jetpack_Gutenberg::load_assets_as_required( FEATURE_NAME ); + Jetpack_Gutenberg::load_assets_as_required( get_block_path() ); /** * Allows folks to filter the HTML content for the Business Hours block diff --git a/projects/plugins/jetpack/extensions/blocks/business-hours/edit.js b/projects/plugins/jetpack/extensions/blocks/business-hours/edit.js index 0c35aa9920378..51cf087060b69 100644 --- a/projects/plugins/jetpack/extensions/blocks/business-hours/edit.js +++ b/projects/plugins/jetpack/extensions/blocks/business-hours/edit.js @@ -6,7 +6,7 @@ import { __ } from '@wordpress/i18n'; import classNames from 'classnames'; import DayEdit from './components/day-edit'; import DayPreview from './components/day-preview'; -import { icon } from '.'; +import icon from './icon'; export const defaultLocalization = { days: { diff --git a/projects/plugins/jetpack/extensions/blocks/business-hours/editor.js b/projects/plugins/jetpack/extensions/blocks/business-hours/editor.js index d7ec194d817a1..6e732a3620e9d 100644 --- a/projects/plugins/jetpack/extensions/blocks/business-hours/editor.js +++ b/projects/plugins/jetpack/extensions/blocks/business-hours/editor.js @@ -1,4 +1,15 @@ import registerJetpackBlock from '../../shared/register-jetpack-block'; -import { name, settings } from '.'; +import metadata from './block.json'; +import BusinessHours from './edit'; +import { blockIconProp as icon } from './icon'; -registerJetpackBlock( name, settings ); +import './editor.scss'; +import './style.scss'; + +registerJetpackBlock( metadata.name, { + // The icon needs to be redefined on the front end as a React component, since a string is + // interpreted as a dashicon. It also allows us to define the icon color dynamically. + icon, + edit: props => , + save: () => null, +} ); diff --git a/projects/plugins/jetpack/extensions/blocks/business-hours/icon.js b/projects/plugins/jetpack/extensions/blocks/business-hours/icon.js new file mode 100644 index 0000000000000..58a9196ffb3ec --- /dev/null +++ b/projects/plugins/jetpack/extensions/blocks/business-hours/icon.js @@ -0,0 +1,16 @@ +import { getIconColor } from '../../shared/block-icons'; +import metadata from './block.json'; + +// Generate the icon as a React component from the SVG markup defined in block.json. +// This avoids duplication of the SVG markup. +// Note: using an `img` tag and passing the SVG markup as a data URI doesn't allow +// us to dynamically set the icon color later on. +/* eslint-disable-next-line react/no-danger */ +const icon = ; + +export default icon; + +export const blockIconProp = { + src: icon, + foreground: getIconColor(), +}; diff --git a/projects/plugins/jetpack/extensions/blocks/business-hours/index.js b/projects/plugins/jetpack/extensions/blocks/business-hours/index.js deleted file mode 100644 index c3f69e755bc31..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/business-hours/index.js +++ /dev/null @@ -1,120 +0,0 @@ -import { Path } from '@wordpress/components'; -import { __, _x } from '@wordpress/i18n'; -import './editor.scss'; -import './style.scss'; -import { getIconColor } from '../../shared/block-icons'; -import renderMaterialIcon from '../../shared/render-material-icon'; -import BusinessHours from './edit'; - -/** - * Block Registrations: - */ - -const defaultDays = [ - { - name: 'Sun', - hours: [], // Closed by default - }, - { - name: 'Mon', - hours: [ - { - opening: '09:00', - closing: '17:00', - }, - ], - }, - { - name: 'Tue', - hours: [ - { - opening: '09:00', - closing: '17:00', - }, - ], - }, - { - name: 'Wed', - hours: [ - { - opening: '09:00', - closing: '17:00', - }, - ], - }, - { - name: 'Thu', - hours: [ - { - opening: '09:00', - closing: '17:00', - }, - ], - }, - { - name: 'Fri', - hours: [ - { - opening: '09:00', - closing: '17:00', - }, - ], - }, - { - name: 'Sat', - hours: [], // Closed by default - }, -]; - -export const name = 'business-hours'; - -export const icon = renderMaterialIcon( - -); - -export const settings = { - title: __( 'Business Hours', 'jetpack' ), - description: __( 'Display opening hours for your business.', 'jetpack' ), - icon: { - src: icon, - foreground: getIconColor(), - }, - category: 'grow', - supports: { - html: true, - color: { - gradients: true, - }, - spacing: { - margin: true, - padding: true, - }, - typography: { - fontSize: true, - lineHeight: true, - }, - align: [ 'wide', 'full' ], - }, - keywords: [ - _x( 'opening hours', 'block search term', 'jetpack' ), - _x( 'closing time', 'block search term', 'jetpack' ), - _x( 'schedule', 'block search term', 'jetpack' ), - _x( 'working day', 'block search term', 'jetpack' ), - ], - attributes: { - days: { - type: 'array', - default: defaultDays, - }, - }, - - edit: props => , - - save: () => null, - - example: { - attributes: { - days: defaultDays, - }, - }, -}; From 9c7ca33400e5954b49458e00060d9642f9fbed99 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Mon, 28 Aug 2023 15:05:01 -0400 Subject: [PATCH 05/57] [not verified] Make block CSS right-to-left compatible --- .../plugins/jetpack/extensions/blocks/business-hours/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/plugins/jetpack/extensions/blocks/business-hours/style.scss b/projects/plugins/jetpack/extensions/blocks/business-hours/style.scss index 1fc272a79e0d7..442472ab8f138 100644 --- a/projects/plugins/jetpack/extensions/blocks/business-hours/style.scss +++ b/projects/plugins/jetpack/extensions/blocks/business-hours/style.scss @@ -8,7 +8,7 @@ dt { font-weight: bold; - margin-right: 0.5em; + margin-inline-end: 0.5em; min-width: 30%; vertical-align: top; } From e80fb89d95db6f69e16d064541df610b9a57c393 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Wed, 30 Aug 2023 13:40:17 -0400 Subject: [PATCH 06/57] [not verified] Remove hardcoded editorScript value in business hours block.json --- .../jetpack/extensions/blocks/business-hours/block.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/plugins/jetpack/extensions/blocks/business-hours/block.json b/projects/plugins/jetpack/extensions/blocks/business-hours/block.json index bcaa5dc475a62..76dbbc84b2781 100644 --- a/projects/plugins/jetpack/extensions/blocks/business-hours/block.json +++ b/projects/plugins/jetpack/extensions/blocks/business-hours/block.json @@ -142,6 +142,5 @@ } ] } - }, - "editorScript": "file:../editor.js" + } } From f6e7572c8c6424d0ac3d780f9c81b0b8f219c03c Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 31 Aug 2023 14:49:00 -0400 Subject: [PATCH 07/57] [not verified] Move code to get block metadata path in Blocks --- projects/packages/blocks/src/class-blocks.php | 16 ++++++++++++++++ .../blocks/business-hours/business-hours.php | 13 ++----------- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/projects/packages/blocks/src/class-blocks.php b/projects/packages/blocks/src/class-blocks.php index e917ec66954b8..584e1a7a3fbe7 100644 --- a/projects/packages/blocks/src/class-blocks.php +++ b/projects/packages/blocks/src/class-blocks.php @@ -352,4 +352,20 @@ public static function is_standalone_block() { */ return apply_filters( 'jetpack_is_standalone_block', $is_standalone_block ); } + + /** + * Returns the path to the directory (in the build folder) containing the block.json metadata + * file of a block. + * + * @since 1.4.23 + * + * @param string $block_src_dir The path to the folder containing the block source code. + * + * @return string + */ + public static function get_path_to_block_metadata( $block_src_dir ) { + $dir = basename( $block_src_dir ); + + return dirname( JETPACK__PLUGIN_FILE ) . "/_inc/blocks/$dir"; + } } diff --git a/projects/plugins/jetpack/extensions/blocks/business-hours/business-hours.php b/projects/plugins/jetpack/extensions/blocks/business-hours/business-hours.php index 6f909953f7409..6e76a276e7b8c 100644 --- a/projects/plugins/jetpack/extensions/blocks/business-hours/business-hours.php +++ b/projects/plugins/jetpack/extensions/blocks/business-hours/business-hours.php @@ -12,15 +12,6 @@ use Automattic\Jetpack\Blocks; use Jetpack_Gutenberg; -/** - * Returns the path to the directory containing the block.json file. - * - * @return string - */ -function get_block_path() { - return dirname( JETPACK__PLUGIN_FILE ) . '/_inc/blocks/business-hours'; -} - /** * Registers the block for use in Gutenberg * This is done via an action so that we can disable @@ -28,7 +19,7 @@ function get_block_path() { */ function register_block() { Blocks::jetpack_register_block( - get_block_path(), + Blocks::get_path_to_block_metadata( __DIR__ ), array( 'render_callback' => __NAMESPACE__ . '\render', ) @@ -164,7 +155,7 @@ function render( $attributes ) { $content .= ''; - Jetpack_Gutenberg::load_assets_as_required( get_block_path() ); + Jetpack_Gutenberg::load_assets_as_required( Blocks::get_path_to_block_metadata( __DIR__ ) ); /** * Allows folks to filter the HTML content for the Business Hours block From d7dbfd2ca02da98412d441031237623683afabc7 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 31 Aug 2023 16:06:36 -0400 Subject: [PATCH 08/57] [not verified] Move logic to render a block icon on the client --- .../extensions/blocks/business-hours/edit.js | 5 ++- .../blocks/business-hours/editor.js | 8 ++--- .../shared/get-block-icon-from-metadata.js | 32 +++++++++++++++++++ .../shared/register-jetpack-block.js | 22 +++++++++++++ 4 files changed, 60 insertions(+), 7 deletions(-) create mode 100644 projects/plugins/jetpack/extensions/shared/get-block-icon-from-metadata.js diff --git a/projects/plugins/jetpack/extensions/blocks/business-hours/edit.js b/projects/plugins/jetpack/extensions/blocks/business-hours/edit.js index 51cf087060b69..14e7aa21a9470 100644 --- a/projects/plugins/jetpack/extensions/blocks/business-hours/edit.js +++ b/projects/plugins/jetpack/extensions/blocks/business-hours/edit.js @@ -4,9 +4,12 @@ import { getSettings } from '@wordpress/date'; import { Component } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; import classNames from 'classnames'; +import getBlockIconFromMetadata from '../../shared/get-block-icon-from-metadata'; +import metadata from './block.json'; import DayEdit from './components/day-edit'; import DayPreview from './components/day-preview'; -import icon from './icon'; + +const icon = getBlockIconFromMetadata( metadata ); export const defaultLocalization = { days: { diff --git a/projects/plugins/jetpack/extensions/blocks/business-hours/editor.js b/projects/plugins/jetpack/extensions/blocks/business-hours/editor.js index 6e732a3620e9d..62eec0bf1f673 100644 --- a/projects/plugins/jetpack/extensions/blocks/business-hours/editor.js +++ b/projects/plugins/jetpack/extensions/blocks/business-hours/editor.js @@ -1,15 +1,11 @@ -import registerJetpackBlock from '../../shared/register-jetpack-block'; +import { registerJetpackBlockFromMetadata } from '../../shared/register-jetpack-block'; import metadata from './block.json'; import BusinessHours from './edit'; -import { blockIconProp as icon } from './icon'; import './editor.scss'; import './style.scss'; -registerJetpackBlock( metadata.name, { - // The icon needs to be redefined on the front end as a React component, since a string is - // interpreted as a dashicon. It also allows us to define the icon color dynamically. - icon, +registerJetpackBlockFromMetadata( metadata, { edit: props => , save: () => null, } ); diff --git a/projects/plugins/jetpack/extensions/shared/get-block-icon-from-metadata.js b/projects/plugins/jetpack/extensions/shared/get-block-icon-from-metadata.js new file mode 100644 index 0000000000000..6ddf1dcbcc78c --- /dev/null +++ b/projects/plugins/jetpack/extensions/shared/get-block-icon-from-metadata.js @@ -0,0 +1,32 @@ +/* eslint-disable jsdoc/no-undefined-types */ +import { getIconColor } from './block-icons'; + +/** + * Generate the icon as a React component from the SVG markup defined in block.json. This avoids + * duplication of the SVG markup. + * + * @param {object} metadata - Block.json content + * @returns {React.Component} Icon component + */ +export default function getBlockIconFromMetadata( metadata ) { + // Note: using an `img` tag and passing the SVG markup as a data URI doesn't allow + // us to dynamically set the icon color later on. + /* eslint-disable-next-line react/no-danger */ + return ; +} + +/** + * A block icon needs to be redefined on the front end as a React component, since a string - even + * SVG markup - is interpreted as a dashicon. This function returns the object that must be passed + * to the `icon` attribute when registering the block in the front end. It also sets the color + * of the icon. + * + * @param {object} metadata - Block.json content + * @returns {object} Icon property for client registration + */ +export function getClientBlockIconProp( metadata ) { + return { + src: getBlockIconFromMetadata( metadata ), + foreground: getIconColor(), + }; +} diff --git a/projects/plugins/jetpack/extensions/shared/register-jetpack-block.js b/projects/plugins/jetpack/extensions/shared/register-jetpack-block.js index 1912002a7b39f..6f5dc0766f7fb 100644 --- a/projects/plugins/jetpack/extensions/shared/register-jetpack-block.js +++ b/projects/plugins/jetpack/extensions/shared/register-jetpack-block.js @@ -5,6 +5,7 @@ import { } from '@automattic/jetpack-shared-extension-utils'; import { registerBlockType } from '@wordpress/blocks'; import { addFilter } from '@wordpress/hooks'; +import { getClientBlockIconProp } from './get-block-icon-from-metadata'; const JETPACK_PREFIX = 'jetpack/'; @@ -57,3 +58,24 @@ export default function registerJetpackBlock( name, settings, childBlocks = [], return result; } + +/** + * Wrapper around registerJetpackBlock to register a block by specifying its metadata. + * + * @param {object }metadata - Metadata of the block (content of block.json) + * @param {object} settings - See registerJetpackBlock. + * @param {object} childBlocks - See registerJetpackBlock. + * @param {boolean} prefix - See registerJetpackBlock. + * @returns {object|boolean} Either false if the block is not available, or the results of `registerBlockType` + */ +export function registerJetpackBlockFromMetadata( metadata, settings, childBlocks, prefix ) { + return registerJetpackBlock( + metadata.name, + { + ...settings, + icon: getClientBlockIconProp( metadata ), + }, + childBlocks, + prefix + ); +} From 38301f351cd272e03ed48dcd683f18e881605369 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 31 Aug 2023 16:10:25 -0400 Subject: [PATCH 09/57] [not verified] Remove deprecated file --- .../extensions/blocks/business-hours/icon.js | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 projects/plugins/jetpack/extensions/blocks/business-hours/icon.js diff --git a/projects/plugins/jetpack/extensions/blocks/business-hours/icon.js b/projects/plugins/jetpack/extensions/blocks/business-hours/icon.js deleted file mode 100644 index 58a9196ffb3ec..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/business-hours/icon.js +++ /dev/null @@ -1,16 +0,0 @@ -import { getIconColor } from '../../shared/block-icons'; -import metadata from './block.json'; - -// Generate the icon as a React component from the SVG markup defined in block.json. -// This avoids duplication of the SVG markup. -// Note: using an `img` tag and passing the SVG markup as a data URI doesn't allow -// us to dynamically set the icon color later on. -/* eslint-disable-next-line react/no-danger */ -const icon = ; - -export default icon; - -export const blockIconProp = { - src: icon, - foreground: getIconColor(), -}; From 046eb0f980d7c4d9c2ffdf26e898fd6b3e5442b5 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 31 Aug 2023 16:35:34 -0400 Subject: [PATCH 10/57] [not verified] Add changelogs --- .../changelog/refactor-business-hours-block-regsitration | 4 ++++ .../changelog/refactor-business-hours-block-regsitration | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 projects/packages/blocks/changelog/refactor-business-hours-block-regsitration create mode 100644 projects/plugins/jetpack/changelog/refactor-business-hours-block-regsitration diff --git a/projects/packages/blocks/changelog/refactor-business-hours-block-regsitration b/projects/packages/blocks/changelog/refactor-business-hours-block-regsitration new file mode 100644 index 0000000000000..a58e02297fc4c --- /dev/null +++ b/projects/packages/blocks/changelog/refactor-business-hours-block-regsitration @@ -0,0 +1,4 @@ +Significance: minor +Type: added + +Add function to get path to block metadata file diff --git a/projects/plugins/jetpack/changelog/refactor-business-hours-block-regsitration b/projects/plugins/jetpack/changelog/refactor-business-hours-block-regsitration new file mode 100644 index 0000000000000..2f043a5dc713a --- /dev/null +++ b/projects/plugins/jetpack/changelog/refactor-business-hours-block-regsitration @@ -0,0 +1,4 @@ +Significance: patch +Type: enhancement + +Refactor Business Hours block registration to avoid duplication From 032a67474f211fc204affba2c088954386058c33 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Tue, 5 Sep 2023 16:52:28 -0400 Subject: [PATCH 11/57] [not verified] Fix failing JS test --- .../extensions/blocks/business-hours/test/validate.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/projects/plugins/jetpack/extensions/blocks/business-hours/test/validate.js b/projects/plugins/jetpack/extensions/blocks/business-hours/test/validate.js index b72589b60b8dc..2582ec88de967 100644 --- a/projects/plugins/jetpack/extensions/blocks/business-hours/test/validate.js +++ b/projects/plugins/jetpack/extensions/blocks/business-hours/test/validate.js @@ -1,5 +1,7 @@ -import { name, settings } from '../'; import runBlockFixtureTests from '../../../shared/test/block-fixtures'; +import metadata from '../block.json'; -const blocks = [ { name: `jetpack/${ name }`, settings } ]; -runBlockFixtureTests( `jetpack/${ name }`, blocks, __dirname ); +const { name } = metadata; +const blocks = [ { name, settings: metadata } ]; + +runBlockFixtureTests( name, blocks, __dirname ); From b7d1b6586e608bb881527f220767230a8fb0d2e1 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Wed, 6 Sep 2023 12:31:11 -0400 Subject: [PATCH 12/57] [not verified] Pass package build dir to get_path_to_block_metadata --- projects/packages/blocks/src/class-blocks.php | 25 ++++++++++++------- .../packages/blocks/tests/php/test-blocks.php | 24 ++++++++++++++++++ 2 files changed, 40 insertions(+), 9 deletions(-) diff --git a/projects/packages/blocks/src/class-blocks.php b/projects/packages/blocks/src/class-blocks.php index 584e1a7a3fbe7..b9f24565ee7cd 100644 --- a/projects/packages/blocks/src/class-blocks.php +++ b/projects/packages/blocks/src/class-blocks.php @@ -11,6 +11,7 @@ namespace Automattic\Jetpack; +use Automattic\Jetpack\Constants as Jetpack_Constants; use Jetpack_Gutenberg; /** @@ -46,7 +47,7 @@ public static function jetpack_register_block( $slug, $args = array() ) { _doing_it_wrong( 'jetpack_register_block', 'Prefix the block with jetpack/ ', 'Jetpack 9.0.0' ); $slug = 'jetpack/' . $slug; } - + $block_type = $slug; // If the path to block.json is passed, find the slug in the file then create a block type @@ -354,18 +355,24 @@ public static function is_standalone_block() { } /** - * Returns the path to the directory (in the build folder) containing the block.json metadata - * file of a block. + * Returns the path to the directory containing the block.json metadata file of a block, given its + * source code directory and, optionally, the directory that holds the blocks built files of + * the package. * - * @since 1.4.23 + * @since $$next-version$$ * - * @param string $block_src_dir The path to the folder containing the block source code. + * @param string $block_src_dir The path to the folder containing the block source code. + * Typically this is done by passing __DIR__ as the argument. + * @param string $package_dist_dir Optional. A full path to the directory containing the blocks + * built files of the package. Default empty. * - * @return string + * @return string The path to the directory. */ - public static function get_path_to_block_metadata( $block_src_dir ) { - $dir = basename( $block_src_dir ); + public static function get_path_to_block_metadata( $block_src_dir, $package_dist_dir = '' ) { + $dir = basename( $block_src_dir ); + $dist_path = empty( $package_dist_dir ) ? dirname( Jetpack_Constants::get_constant( 'JETPACK__PLUGIN_FILE' ) ) . '/_inc/blocks/' : $package_dist_dir; + $dist_path = substr( $dist_path, -1, 1 ) === '/' ? $dist_path : $dist_path . '/'; - return dirname( JETPACK__PLUGIN_FILE ) . "/_inc/blocks/$dir"; + return $dist_path . $dir; } } diff --git a/projects/packages/blocks/tests/php/test-blocks.php b/projects/packages/blocks/tests/php/test-blocks.php index be4455f7c5c0d..5f9a0404cf72c 100644 --- a/projects/packages/blocks/tests/php/test-blocks.php +++ b/projects/packages/blocks/tests/php/test-blocks.php @@ -425,4 +425,28 @@ public function test_get_block_feature_from_metadata() { $this->assertEquals( $result, $feature ); } + + /** + * Test getting the path to a block's metadata file. + * + * @since $$next-version$$ + * + * @covers Automattic\Jetpack\Blocks::get_path_to_block_metadata + */ + public function test_get_path_to_block_metadata() { + Constants::set_constant( 'JETPACK__PLUGIN_FILE', '/a/b/c/index.php' ); + + $block_src_dir = '/extensions/blocks/test-block'; + + $result = Blocks::get_path_to_block_metadata( $block_src_dir ); + $this->assertEquals( '/a/b/c/_inc/blocks/test-block', $result ); + + $result = Blocks::get_path_to_block_metadata( $block_src_dir, '/dist' ); + $this->assertEquals( '/dist/test-block', $result ); + + $result = Blocks::get_path_to_block_metadata( $block_src_dir, '/dist/' ); + $this->assertEquals( '/dist/test-block', $result ); + + Constants::clear_constants(); + } } From 6be9ca954199855ac2d5f3243327d8e95a3dd40c Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Wed, 6 Sep 2023 15:18:12 -0400 Subject: [PATCH 13/57] [not verified] Move block icon helpers to shared-extension-utils package --- .../shared-extension-utils/index.js | 1 + .../src}/get-block-icon-from-metadata.js | 12 ++++----- .../src/get-icon-color.js | 25 +++++++++++++++++++ .../extensions/blocks/business-hours/edit.js | 4 +-- .../shared/register-jetpack-block.js | 4 +-- 5 files changed, 36 insertions(+), 10 deletions(-) rename projects/{plugins/jetpack/extensions/shared => js-packages/shared-extension-utils/src}/get-block-icon-from-metadata.js (71%) create mode 100644 projects/js-packages/shared-extension-utils/src/get-icon-color.js diff --git a/projects/js-packages/shared-extension-utils/index.js b/projects/js-packages/shared-extension-utils/index.js index 6fd084df774d8..208811fe80d33 100644 --- a/projects/js-packages/shared-extension-utils/index.js +++ b/projects/js-packages/shared-extension-utils/index.js @@ -17,3 +17,4 @@ export { default as isCurrentUserConnected } from './src/is-current-user-connect export { default as useAnalytics } from './src/hooks/use-analytics'; export { default as useModuleStatus } from './src/hooks/use-module-status'; export { default as JetpackEditorPanelLogo } from './src/components/jetpack-editor-panel-logo'; +export { getBlockIconComponent, getBlockIconProp } from './src/get-block-icon-from-metadata'; diff --git a/projects/plugins/jetpack/extensions/shared/get-block-icon-from-metadata.js b/projects/js-packages/shared-extension-utils/src/get-block-icon-from-metadata.js similarity index 71% rename from projects/plugins/jetpack/extensions/shared/get-block-icon-from-metadata.js rename to projects/js-packages/shared-extension-utils/src/get-block-icon-from-metadata.js index 6ddf1dcbcc78c..4b111ea8ac8bc 100644 --- a/projects/plugins/jetpack/extensions/shared/get-block-icon-from-metadata.js +++ b/projects/js-packages/shared-extension-utils/src/get-block-icon-from-metadata.js @@ -1,14 +1,14 @@ /* eslint-disable jsdoc/no-undefined-types */ -import { getIconColor } from './block-icons'; +import { getIconColor } from './get-icon-color'; /** - * Generate the icon as a React component from the SVG markup defined in block.json. This avoids - * duplication of the SVG markup. + * Generate an icon as a React component from the SVG markup defined in a block.json metadata file. + * This prevents us from duplicating the markup in various places. * * @param {object} metadata - Block.json content * @returns {React.Component} Icon component */ -export default function getBlockIconFromMetadata( metadata ) { +export function getBlockIconComponent( metadata ) { // Note: using an `img` tag and passing the SVG markup as a data URI doesn't allow // us to dynamically set the icon color later on. /* eslint-disable-next-line react/no-danger */ @@ -24,9 +24,9 @@ export default function getBlockIconFromMetadata( metadata ) { * @param {object} metadata - Block.json content * @returns {object} Icon property for client registration */ -export function getClientBlockIconProp( metadata ) { +export function getBlockIconProp( metadata ) { return { - src: getBlockIconFromMetadata( metadata ), + src: getBlockIconComponent( metadata ), foreground: getIconColor(), }; } diff --git a/projects/js-packages/shared-extension-utils/src/get-icon-color.js b/projects/js-packages/shared-extension-utils/src/get-icon-color.js new file mode 100644 index 0000000000000..3702e18185769 --- /dev/null +++ b/projects/js-packages/shared-extension-utils/src/get-icon-color.js @@ -0,0 +1,25 @@ +import colorStudio from '@automattic/color-studio'; +import { isAtomicSite, isSimpleSite } from './site-type-utils'; + +/** + * Constants + */ +const PALETTE = colorStudio.colors; +const COLOR_JETPACK = PALETTE[ 'Jetpack Green 40' ]; + +/** + * Returns the icon color for Jetpack blocks. + * + * Green in the Jetpack context, otherwise black for Simple sites or Atomic sites. + * + * @returns {string} HEX color for block editor icons + */ +export default function getIconColor() { + if ( isAtomicSite() || isSimpleSite() ) { + // Return null to match core block styling + return null; + } + + // Jetpack Green + return COLOR_JETPACK; +} diff --git a/projects/plugins/jetpack/extensions/blocks/business-hours/edit.js b/projects/plugins/jetpack/extensions/blocks/business-hours/edit.js index 14e7aa21a9470..6be3ba315abe9 100644 --- a/projects/plugins/jetpack/extensions/blocks/business-hours/edit.js +++ b/projects/plugins/jetpack/extensions/blocks/business-hours/edit.js @@ -1,15 +1,15 @@ +import { getBlockIconComponent } from '@automattic/jetpack-shared-extension-utils'; import apiFetch from '@wordpress/api-fetch'; import { Placeholder } from '@wordpress/components'; import { getSettings } from '@wordpress/date'; import { Component } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; import classNames from 'classnames'; -import getBlockIconFromMetadata from '../../shared/get-block-icon-from-metadata'; import metadata from './block.json'; import DayEdit from './components/day-edit'; import DayPreview from './components/day-preview'; -const icon = getBlockIconFromMetadata( metadata ); +const icon = getBlockIconComponent( metadata ); export const defaultLocalization = { days: { diff --git a/projects/plugins/jetpack/extensions/shared/register-jetpack-block.js b/projects/plugins/jetpack/extensions/shared/register-jetpack-block.js index 6f5dc0766f7fb..a70e01cc545ec 100644 --- a/projects/plugins/jetpack/extensions/shared/register-jetpack-block.js +++ b/projects/plugins/jetpack/extensions/shared/register-jetpack-block.js @@ -2,10 +2,10 @@ import { getJetpackExtensionAvailability, withHasWarningIsInteractiveClassNames, requiresPaidPlan, + getBlockIconComponent, } from '@automattic/jetpack-shared-extension-utils'; import { registerBlockType } from '@wordpress/blocks'; import { addFilter } from '@wordpress/hooks'; -import { getClientBlockIconProp } from './get-block-icon-from-metadata'; const JETPACK_PREFIX = 'jetpack/'; @@ -73,7 +73,7 @@ export function registerJetpackBlockFromMetadata( metadata, settings, childBlock metadata.name, { ...settings, - icon: getClientBlockIconProp( metadata ), + icon: getBlockIconComponent( metadata ), }, childBlocks, prefix From 5f99e40b14a4193396d2cc11bfca6128dfcf3243 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Wed, 6 Sep 2023 15:27:09 -0400 Subject: [PATCH 14/57] [not verified] changelog --- .../changelog/refactor-business-hours-block-regsitration | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 projects/js-packages/shared-extension-utils/changelog/refactor-business-hours-block-regsitration diff --git a/projects/js-packages/shared-extension-utils/changelog/refactor-business-hours-block-regsitration b/projects/js-packages/shared-extension-utils/changelog/refactor-business-hours-block-regsitration new file mode 100644 index 0000000000000..c5a4318826eae --- /dev/null +++ b/projects/js-packages/shared-extension-utils/changelog/refactor-business-hours-block-regsitration @@ -0,0 +1,4 @@ +Significance: minor +Type: added + +Helpers functions for block icons From 3bfaa9fc215fdc11fc85a637aca3dc48b263d8c4 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Wed, 6 Sep 2023 15:56:43 -0400 Subject: [PATCH 15/57] [not verified] Add missing import --- projects/packages/blocks/tests/php/test-blocks.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/packages/blocks/tests/php/test-blocks.php b/projects/packages/blocks/tests/php/test-blocks.php index 5f9a0404cf72c..46e91e719d388 100644 --- a/projects/packages/blocks/tests/php/test-blocks.php +++ b/projects/packages/blocks/tests/php/test-blocks.php @@ -9,6 +9,7 @@ namespace Automattic\Jetpack; +use Automattic\Jetpack\Constants as Jetpack_Constants; use Brain\Monkey; use PHPUnit\Framework\TestCase; @@ -434,7 +435,7 @@ public function test_get_block_feature_from_metadata() { * @covers Automattic\Jetpack\Blocks::get_path_to_block_metadata */ public function test_get_path_to_block_metadata() { - Constants::set_constant( 'JETPACK__PLUGIN_FILE', '/a/b/c/index.php' ); + Jetpack_Constants::set_constant( 'JETPACK__PLUGIN_FILE', '/a/b/c/index.php' ); $block_src_dir = '/extensions/blocks/test-block'; @@ -447,6 +448,6 @@ public function test_get_path_to_block_metadata() { $result = Blocks::get_path_to_block_metadata( $block_src_dir, '/dist/' ); $this->assertEquals( '/dist/test-block', $result ); - Constants::clear_constants(); + Jetpack_Constants::clear_constants(); } } From fe0408f3a726906f84816d1c6f8b8a5f68d1f307 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Wed, 6 Sep 2023 16:03:03 -0400 Subject: [PATCH 16/57] [not verified] Update package version --- projects/js-packages/shared-extension-utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/js-packages/shared-extension-utils/package.json b/projects/js-packages/shared-extension-utils/package.json index 828dd7d93ced7..8562e4cebe67a 100644 --- a/projects/js-packages/shared-extension-utils/package.json +++ b/projects/js-packages/shared-extension-utils/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/jetpack-shared-extension-utils", - "version": "0.11.4", + "version": "0.12.0-alpha", "description": "Utility functions used by the block editor extensions", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/shared-extension-utils/#readme", "bugs": { From b592181f249b47c3259d508bca66def10f617fa9 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Wed, 6 Sep 2023 16:33:16 -0400 Subject: [PATCH 17/57] [not verified] Add missing color-studio dependency to shared-extension-utils --- pnpm-lock.yaml | 3 +++ .../shared-extension-utils/package.json | 17 +++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3102b692af8bc..c3189d8ccaaa6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -929,6 +929,9 @@ importers: projects/js-packages/shared-extension-utils: dependencies: + '@automattic/color-studio': + specifier: 2.5.0 + version: 2.5.0 '@automattic/jetpack-analytics': specifier: workspace:* version: link:../analytics diff --git a/projects/js-packages/shared-extension-utils/package.json b/projects/js-packages/shared-extension-utils/package.json index 8562e4cebe67a..ca81620227a5a 100644 --- a/projects/js-packages/shared-extension-utils/package.json +++ b/projects/js-packages/shared-extension-utils/package.json @@ -17,6 +17,7 @@ "test": "jest" }, "dependencies": { + "@automattic/color-studio": "2.5.0", "@automattic/jetpack-analytics": "workspace:*", "@automattic/jetpack-components": "workspace:*", "@automattic/jetpack-connection": "workspace:*", @@ -29,20 +30,20 @@ "lodash": "4.17.21" }, "devDependencies": { + "@automattic/jetpack-webpack-config": "workspace:*", "@babel/core": "7.22.11", + "@babel/plugin-transform-react-jsx": "7.22.5", "@babel/preset-react": "7.22.5", + "@testing-library/dom": "8.19.1", + "@testing-library/react": "13.4.0", + "@testing-library/user-event": "14.4.3", + "@wordpress/babel-plugin-import-jsx-pragma": "4.24.0", "babel-jest": "29.3.1", "jest": "29.3.1", "jest-environment-jsdom": "29.3.1", - "react": "18.2.0", - "react-dom": "18.2.0", "jetpack-js-tools": "workspace:*", - "@automattic/jetpack-webpack-config": "workspace:*", - "@wordpress/babel-plugin-import-jsx-pragma": "4.24.0", - "@testing-library/dom": "8.19.1", - "@testing-library/react": "13.4.0", - "@testing-library/user-event": "14.4.3", - "@babel/plugin-transform-react-jsx": "7.22.5" + "react": "18.2.0", + "react-dom": "18.2.0" }, "engines": { "node": "^18.13.0", From 10e28776b2637f32ebd12da9f2e7b80b53d09c54 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Wed, 6 Sep 2023 16:44:51 -0400 Subject: [PATCH 18/57] [not verified] Add missing jetpack-constants dep to blocks package --- projects/packages/blocks/composer.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/projects/packages/blocks/composer.json b/projects/packages/blocks/composer.json index cdd02e3e09c1d..833a9e52cc360 100644 --- a/projects/packages/blocks/composer.json +++ b/projects/packages/blocks/composer.json @@ -3,11 +3,13 @@ "description": "Register and manage blocks within a plugin. Used to manage block registration, enqueues, and more.", "type": "jetpack-library", "license": "GPL-2.0-or-later", - "require": {}, + "require": { + "automattic/jetpack-constants": "^1.6@dev" + }, "require-dev": { "automattic/wordbless": "dev-master", "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0", + "yoast/phpunit-polyfills": "1.0.4", "automattic/jetpack-changelogger": "@dev" }, "suggest": { From 33b4fadc49008e26b0d6cc77f07822dd389bf3b5 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Wed, 6 Sep 2023 20:55:18 -0400 Subject: [PATCH 19/57] [not verified] Remove call to realpath from get_block_metadata_from_file --- projects/packages/blocks/src/class-blocks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/packages/blocks/src/class-blocks.php b/projects/packages/blocks/src/class-blocks.php index b9f24565ee7cd..c6b6f2ece8fa8 100644 --- a/projects/packages/blocks/src/class-blocks.php +++ b/projects/packages/blocks/src/class-blocks.php @@ -131,7 +131,7 @@ function () use ( $feature_name, $method_name ) { public static function get_block_metadata_from_file( $filename ) { $metadata = array(); $needle = '/block.json'; - $filename = $needle === substr( $filename, -strlen( $needle ) ) ? $filename : realpath( $filename . $needle ); + $filename = $needle === substr( $filename, -strlen( $needle ) ) ? $filename : $filename . $needle; if ( file_exists( $filename ) ) { try { From 354b15ec629443016c1828825efa694feff8da6c Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Wed, 6 Sep 2023 20:58:36 -0400 Subject: [PATCH 20/57] [not verified] Fix monorepo package version refs --- .../changelog/refactor-business-hours-block-regsitration#2 | 4 ++++ projects/packages/blocks/composer.json | 2 +- .../changelog/refactor-business-hours-block-regsitration#2 | 5 +++++ projects/plugins/jetpack/composer.lock | 7 +++++-- 4 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 projects/packages/blocks/changelog/refactor-business-hours-block-regsitration#2 create mode 100644 projects/plugins/jetpack/changelog/refactor-business-hours-block-regsitration#2 diff --git a/projects/packages/blocks/changelog/refactor-business-hours-block-regsitration#2 b/projects/packages/blocks/changelog/refactor-business-hours-block-regsitration#2 new file mode 100644 index 0000000000000..c47cb18e82997 --- /dev/null +++ b/projects/packages/blocks/changelog/refactor-business-hours-block-regsitration#2 @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Updated package dependencies. diff --git a/projects/packages/blocks/composer.json b/projects/packages/blocks/composer.json index 833a9e52cc360..5205136884a1e 100644 --- a/projects/packages/blocks/composer.json +++ b/projects/packages/blocks/composer.json @@ -4,7 +4,7 @@ "type": "jetpack-library", "license": "GPL-2.0-or-later", "require": { - "automattic/jetpack-constants": "^1.6@dev" + "automattic/jetpack-constants": "@dev" }, "require-dev": { "automattic/wordbless": "dev-master", diff --git a/projects/plugins/jetpack/changelog/refactor-business-hours-block-regsitration#2 b/projects/plugins/jetpack/changelog/refactor-business-hours-block-regsitration#2 new file mode 100644 index 0000000000000..a1c1831fa1ef7 --- /dev/null +++ b/projects/plugins/jetpack/changelog/refactor-business-hours-block-regsitration#2 @@ -0,0 +1,5 @@ +Significance: patch +Type: other +Comment: Updated composer.lock. + + diff --git a/projects/plugins/jetpack/composer.lock b/projects/plugins/jetpack/composer.lock index 6d4b6765759ad..97b624167a7cf 100644 --- a/projects/plugins/jetpack/composer.lock +++ b/projects/plugins/jetpack/composer.lock @@ -526,13 +526,16 @@ "dist": { "type": "path", "url": "../../packages/blocks", - "reference": "aa5b7af0bd7d9ae4b54ed9c4664ddc6927ce0c7d" + "reference": "3bffdec35d950eedb81aeeb2ed85fe9027b1e302" + }, + "require": { + "automattic/jetpack-constants": "@dev" }, "require-dev": { "automattic/jetpack-changelogger": "@dev", "automattic/wordbless": "dev-master", "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" + "yoast/phpunit-polyfills": "1.0.4" }, "suggest": { "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." From 873b12c7407e2ed07479be4d3d5c2538eea022d7 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Wed, 6 Sep 2023 21:12:10 -0400 Subject: [PATCH 21/57] [not verified] Pass path to source block.json to jetpack_register_block --- .../jetpack/extensions/blocks/business-hours/business-hours.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/plugins/jetpack/extensions/blocks/business-hours/business-hours.php b/projects/plugins/jetpack/extensions/blocks/business-hours/business-hours.php index 6e76a276e7b8c..f9c51049a19cf 100644 --- a/projects/plugins/jetpack/extensions/blocks/business-hours/business-hours.php +++ b/projects/plugins/jetpack/extensions/blocks/business-hours/business-hours.php @@ -19,7 +19,7 @@ */ function register_block() { Blocks::jetpack_register_block( - Blocks::get_path_to_block_metadata( __DIR__ ), + __DIR__, array( 'render_callback' => __NAMESPACE__ . '\render', ) From 8a056973ff4b233e709942363c998c6a66b40c16 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 7 Sep 2023 14:32:21 -0400 Subject: [PATCH 22/57] [not verified] Fix wrong getIconColor import --- .../shared-extension-utils/src/get-block-icon-from-metadata.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/js-packages/shared-extension-utils/src/get-block-icon-from-metadata.js b/projects/js-packages/shared-extension-utils/src/get-block-icon-from-metadata.js index 4b111ea8ac8bc..ae0e239998ed6 100644 --- a/projects/js-packages/shared-extension-utils/src/get-block-icon-from-metadata.js +++ b/projects/js-packages/shared-extension-utils/src/get-block-icon-from-metadata.js @@ -1,5 +1,5 @@ /* eslint-disable jsdoc/no-undefined-types */ -import { getIconColor } from './get-icon-color'; +import getIconColor from './get-icon-color'; /** * Generate an icon as a React component from the SVG markup defined in a block.json metadata file. From 9a2f37d810e60b50e15fa0244b881888a289f36f Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 7 Sep 2023 15:45:37 -0400 Subject: [PATCH 23/57] Falls back to reading block.json in source directory --- projects/packages/blocks/src/class-blocks.php | 13 ++++++++----- .../plugins/jetpack/class.jetpack-gutenberg.php | 10 +++++++--- .../blocks/business-hours/business-hours.php | 2 +- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/projects/packages/blocks/src/class-blocks.php b/projects/packages/blocks/src/class-blocks.php index c6b6f2ece8fa8..aaafc2d893c8a 100644 --- a/projects/packages/blocks/src/class-blocks.php +++ b/projects/packages/blocks/src/class-blocks.php @@ -28,7 +28,7 @@ class Blocks { * * @since 1.1.0 * - * @param string $slug Slug of the block or absolute path to the directory containing the block.json file. + * @param string $slug Slug of the block or absolute path to the block source code directory. * @param array $args { * Arguments that are passed into register_block_type. * See register_block_type for full list of arguments. @@ -50,13 +50,16 @@ public static function jetpack_register_block( $slug, $args = array() ) { $block_type = $slug; - // If the path to block.json is passed, find the slug in the file then create a block type - // object to register the block. + // If a path is passed, find the slug in the file then create a block type object to register + // the block. // Note: passing the path directly to register_block_type seems to loose the interactivity of // the block once in the editor once it's out of focus. if ( '/' === substr( $slug, 0, 1 ) ) { - $metadata = self::get_block_metadata_from_file( $slug ); - $name = self::get_block_name_from_metadata( $metadata ); + // Test if build directory exists. Fall back to reading block.json from source directory. + $build_dir = realpath( self::get_path_to_block_metadata( $slug ) ); + $path = false === $build_dir ? $slug : $build_dir; + $metadata = self::get_block_metadata_from_file( $path ); + $name = self::get_block_name_from_metadata( $metadata ); if ( ! empty( $name ) ) { $slug = $name; diff --git a/projects/plugins/jetpack/class.jetpack-gutenberg.php b/projects/plugins/jetpack/class.jetpack-gutenberg.php index 3e8038921152a..1fcd597fa7d11 100644 --- a/projects/plugins/jetpack/class.jetpack-gutenberg.php +++ b/projects/plugins/jetpack/class.jetpack-gutenberg.php @@ -466,7 +466,7 @@ public static function should_load() { /** * Only enqueue block assets when needed. * - * @param string $type Slug of the block or absolute path to the directory containing the block.json file. + * @param string $type Slug of the block or absolute path to the block source code directory. * @param array $script_dependencies Script dependencies. Will be merged with automatically * detected script dependencies from the webpack build. * @@ -478,9 +478,13 @@ public static function load_assets_as_required( $type, $script_dependencies = ar return; } - // Retrieve the feature from block.json if its path is passed. + // Retrieve the feature from block.json if a path is passed. if ( '/' === substr( $type, 0, 1 ) ) { - $feature = Blocks::get_block_feature_from_metadata( Blocks::get_block_metadata_from_file( $type ) ); + // Test if build directory exists. Fall back to reading block.json from source directory. + $build_dir = realpath( Blocks::get_path_to_block_metadata( $type ) ); + $path = false === $build_dir ? $type : $build_dir; + + $feature = Blocks::get_block_feature_from_metadata( Blocks::get_block_metadata_from_file( $path ) ); if ( ! empty( $feature ) ) { $type = $feature; diff --git a/projects/plugins/jetpack/extensions/blocks/business-hours/business-hours.php b/projects/plugins/jetpack/extensions/blocks/business-hours/business-hours.php index f9c51049a19cf..e83f91e8267cb 100644 --- a/projects/plugins/jetpack/extensions/blocks/business-hours/business-hours.php +++ b/projects/plugins/jetpack/extensions/blocks/business-hours/business-hours.php @@ -155,7 +155,7 @@ function render( $attributes ) { $content .= ''; - Jetpack_Gutenberg::load_assets_as_required( Blocks::get_path_to_block_metadata( __DIR__ ) ); + Jetpack_Gutenberg::load_assets_as_required( __DIR__ ); /** * Allows folks to filter the HTML content for the Business Hours block From 756c086a5c7702942e5e16a6198210396c6757f4 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Fri, 8 Sep 2023 12:28:33 -0400 Subject: [PATCH 24/57] Remove color studio dep in shared-extensions-util --- pnpm-lock.yaml | 3 --- projects/js-packages/shared-extension-utils/package.json | 1 - .../shared-extension-utils/src/get-icon-color.js | 6 ++---- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c3189d8ccaaa6..3102b692af8bc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -929,9 +929,6 @@ importers: projects/js-packages/shared-extension-utils: dependencies: - '@automattic/color-studio': - specifier: 2.5.0 - version: 2.5.0 '@automattic/jetpack-analytics': specifier: workspace:* version: link:../analytics diff --git a/projects/js-packages/shared-extension-utils/package.json b/projects/js-packages/shared-extension-utils/package.json index ca81620227a5a..1e8e0e2f8dfba 100644 --- a/projects/js-packages/shared-extension-utils/package.json +++ b/projects/js-packages/shared-extension-utils/package.json @@ -17,7 +17,6 @@ "test": "jest" }, "dependencies": { - "@automattic/color-studio": "2.5.0", "@automattic/jetpack-analytics": "workspace:*", "@automattic/jetpack-components": "workspace:*", "@automattic/jetpack-connection": "workspace:*", diff --git a/projects/js-packages/shared-extension-utils/src/get-icon-color.js b/projects/js-packages/shared-extension-utils/src/get-icon-color.js index 3702e18185769..9160bc6e36e4d 100644 --- a/projects/js-packages/shared-extension-utils/src/get-icon-color.js +++ b/projects/js-packages/shared-extension-utils/src/get-icon-color.js @@ -1,11 +1,9 @@ -import colorStudio from '@automattic/color-studio'; import { isAtomicSite, isSimpleSite } from './site-type-utils'; /** * Constants */ -const PALETTE = colorStudio.colors; -const COLOR_JETPACK = PALETTE[ 'Jetpack Green 40' ]; +const JETPACK_GREEN_40 = '#069e08'; /** * Returns the icon color for Jetpack blocks. @@ -21,5 +19,5 @@ export default function getIconColor() { } // Jetpack Green - return COLOR_JETPACK; + return JETPACK_GREEN_40; } From 4565eb72c4c967b71d33d9ebc1a310d4ae92ba7e Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Fri, 8 Sep 2023 12:30:20 -0400 Subject: [PATCH 25/57] Bump yoast/phpunit-polyfills version in blocks package --- projects/packages/blocks/composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/packages/blocks/composer.json b/projects/packages/blocks/composer.json index 5205136884a1e..357754b45f982 100644 --- a/projects/packages/blocks/composer.json +++ b/projects/packages/blocks/composer.json @@ -9,7 +9,7 @@ "require-dev": { "automattic/wordbless": "dev-master", "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.0.4", + "yoast/phpunit-polyfills": "1.1.0", "automattic/jetpack-changelogger": "@dev" }, "suggest": { From 539cb97d2e4c2deb98e74f30ec69d1171ef9a890 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Fri, 8 Sep 2023 12:51:53 -0400 Subject: [PATCH 26/57] Update composer.lock in Jetpack plugin --- projects/plugins/jetpack/composer.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/plugins/jetpack/composer.lock b/projects/plugins/jetpack/composer.lock index 97b624167a7cf..20d4f4c16c480 100644 --- a/projects/plugins/jetpack/composer.lock +++ b/projects/plugins/jetpack/composer.lock @@ -526,7 +526,7 @@ "dist": { "type": "path", "url": "../../packages/blocks", - "reference": "3bffdec35d950eedb81aeeb2ed85fe9027b1e302" + "reference": "041d4fb9a3a42e0f1826cd3fd0f2e81413b0c5a8" }, "require": { "automattic/jetpack-constants": "@dev" @@ -535,7 +535,7 @@ "automattic/jetpack-changelogger": "@dev", "automattic/wordbless": "dev-master", "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.0.4" + "yoast/phpunit-polyfills": "1.1.0" }, "suggest": { "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." From 47d7aa26c1aa683e17d40904152cb594d1910bd0 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Fri, 8 Sep 2023 20:46:20 -0400 Subject: [PATCH 27/57] Remove unhelpful changelogs --- .../changelog/refactor-business-hours-block-regsitration#2 | 4 ---- .../changelog/refactor-business-hours-block-regsitration#2 | 5 ----- 2 files changed, 9 deletions(-) delete mode 100644 projects/packages/blocks/changelog/refactor-business-hours-block-regsitration#2 delete mode 100644 projects/plugins/jetpack/changelog/refactor-business-hours-block-regsitration#2 diff --git a/projects/packages/blocks/changelog/refactor-business-hours-block-regsitration#2 b/projects/packages/blocks/changelog/refactor-business-hours-block-regsitration#2 deleted file mode 100644 index c47cb18e82997..0000000000000 --- a/projects/packages/blocks/changelog/refactor-business-hours-block-regsitration#2 +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: changed - -Updated package dependencies. diff --git a/projects/plugins/jetpack/changelog/refactor-business-hours-block-regsitration#2 b/projects/plugins/jetpack/changelog/refactor-business-hours-block-regsitration#2 deleted file mode 100644 index a1c1831fa1ef7..0000000000000 --- a/projects/plugins/jetpack/changelog/refactor-business-hours-block-regsitration#2 +++ /dev/null @@ -1,5 +0,0 @@ -Significance: patch -Type: other -Comment: Updated composer.lock. - - From 7b0f5c369e46192d6918506f48430a4794ae08d3 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Fri, 8 Sep 2023 22:13:14 -0400 Subject: [PATCH 28/57] Add fallback logic to get_path_to_block_metadata --- projects/packages/blocks/src/class-blocks.php | 15 ++++---- .../{ => _inc/blocks/test-block}/block.json | 0 .../tests/php/fixtures/test-block/block.json | 14 ++++++++ .../packages/blocks/tests/php/test-blocks.php | 35 +++++++++++++------ .../jetpack/class.jetpack-gutenberg.php | 7 ++-- 5 files changed, 46 insertions(+), 25 deletions(-) rename projects/packages/blocks/tests/php/fixtures/{ => _inc/blocks/test-block}/block.json (100%) create mode 100644 projects/packages/blocks/tests/php/fixtures/test-block/block.json diff --git a/projects/packages/blocks/src/class-blocks.php b/projects/packages/blocks/src/class-blocks.php index aaafc2d893c8a..ab1430ccce2af 100644 --- a/projects/packages/blocks/src/class-blocks.php +++ b/projects/packages/blocks/src/class-blocks.php @@ -55,11 +55,8 @@ public static function jetpack_register_block( $slug, $args = array() ) { // Note: passing the path directly to register_block_type seems to loose the interactivity of // the block once in the editor once it's out of focus. if ( '/' === substr( $slug, 0, 1 ) ) { - // Test if build directory exists. Fall back to reading block.json from source directory. - $build_dir = realpath( self::get_path_to_block_metadata( $slug ) ); - $path = false === $build_dir ? $slug : $build_dir; - $metadata = self::get_block_metadata_from_file( $path ); - $name = self::get_block_name_from_metadata( $metadata ); + $metadata = self::get_block_metadata_from_file( self::get_path_to_block_metadata( $slug ) ); + $name = self::get_block_name_from_metadata( $metadata ); if ( ! empty( $name ) ) { $slug = $name; @@ -360,7 +357,7 @@ public static function is_standalone_block() { /** * Returns the path to the directory containing the block.json metadata file of a block, given its * source code directory and, optionally, the directory that holds the blocks built files of - * the package. + * the package. If the directory doesn't exist, falls back to the source directory. * * @since $$next-version$$ * @@ -373,9 +370,9 @@ public static function is_standalone_block() { */ public static function get_path_to_block_metadata( $block_src_dir, $package_dist_dir = '' ) { $dir = basename( $block_src_dir ); - $dist_path = empty( $package_dist_dir ) ? dirname( Jetpack_Constants::get_constant( 'JETPACK__PLUGIN_FILE' ) ) . '/_inc/blocks/' : $package_dist_dir; - $dist_path = substr( $dist_path, -1, 1 ) === '/' ? $dist_path : $dist_path . '/'; + $dist_path = empty( $package_dist_dir ) ? dirname( Jetpack_Constants::get_constant( 'JETPACK__PLUGIN_FILE' ) ) . '/_inc/blocks' : $package_dist_dir; + $result = realpath( "$dist_path/$dir" ); - return $dist_path . $dir; + return false === $result ? $block_src_dir : $result; } } diff --git a/projects/packages/blocks/tests/php/fixtures/block.json b/projects/packages/blocks/tests/php/fixtures/_inc/blocks/test-block/block.json similarity index 100% rename from projects/packages/blocks/tests/php/fixtures/block.json rename to projects/packages/blocks/tests/php/fixtures/_inc/blocks/test-block/block.json diff --git a/projects/packages/blocks/tests/php/fixtures/test-block/block.json b/projects/packages/blocks/tests/php/fixtures/test-block/block.json new file mode 100644 index 0000000000000..84ca1e7c2dc91 --- /dev/null +++ b/projects/packages/blocks/tests/php/fixtures/test-block/block.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "name": "jetpack/test-block", + "title": "Test Block", + "description": "", + "keywords": [], + "version": "", + "textdomain": "jetpack", + "category": "", + "icon": "", + "supports": {}, + "editorScript": "" +} diff --git a/projects/packages/blocks/tests/php/test-blocks.php b/projects/packages/blocks/tests/php/test-blocks.php index 46e91e719d388..781441c55a9d1 100644 --- a/projects/packages/blocks/tests/php/test-blocks.php +++ b/projects/packages/blocks/tests/php/test-blocks.php @@ -340,7 +340,7 @@ public function test_jetpack_register_block_with_existing_editor_style() { * @covers Automattic\Jetpack\Blocks::get_block_metadata_from_file */ public function test_jetpack_register_block_from_metadata_file() { - $result = Blocks::jetpack_register_block( __DIR__ . '/fixtures/block.json' ); + $result = Blocks::jetpack_register_block( __DIR__ . '/fixtures/test-block/block.json' ); $this->assertInstanceOf( 'WP_Block_Type', $result ); } @@ -353,7 +353,7 @@ public function test_jetpack_register_block_from_metadata_file() { * @covers Automattic\Jetpack\Blocks::get_block_metadata_from_file */ public function test_get_block_metadata_from_file() { - $result = Blocks::get_block_metadata_from_file( __DIR__ . '/fixtures/block.json' ); + $result = Blocks::get_block_metadata_from_file( __DIR__ . '/fixtures/test-block/block.json' ); // phpcs:ignore MediaWiki.PHPUnit.SpecificAssertions.assertIsArray -- assertIsArray not supported by all PHP versions we support. $this->assertTrue( is_array( $result ) ); @@ -368,7 +368,7 @@ public function test_get_block_metadata_from_file() { * @covers Automattic\Jetpack\Blocks::get_block_metadata_from_file */ public function test_get_block_metadata_from_folder() { - $result = Blocks::get_block_metadata_from_file( __DIR__ . '/fixtures/' ); + $result = Blocks::get_block_metadata_from_file( __DIR__ . '/fixtures/test-block' ); // phpcs:ignore MediaWiki.PHPUnit.SpecificAssertions.assertIsArray -- assertIsArray not supported by all PHP versions we support. $this->assertTrue( is_array( $result ) ); @@ -435,18 +435,31 @@ public function test_get_block_feature_from_metadata() { * @covers Automattic\Jetpack\Blocks::get_path_to_block_metadata */ public function test_get_path_to_block_metadata() { - Jetpack_Constants::set_constant( 'JETPACK__PLUGIN_FILE', '/a/b/c/index.php' ); + $base_dir = __DIR__ . '/fixtures'; + $block_dir = $base_dir . '/test-block'; - $block_src_dir = '/extensions/blocks/test-block'; + // Existing build folder - $result = Blocks::get_path_to_block_metadata( $block_src_dir ); - $this->assertEquals( '/a/b/c/_inc/blocks/test-block', $result ); + Jetpack_Constants::set_constant( 'JETPACK__PLUGIN_FILE', $base_dir . '/jetpack.php' ); - $result = Blocks::get_path_to_block_metadata( $block_src_dir, '/dist' ); - $this->assertEquals( '/dist/test-block', $result ); + $result = Blocks::get_path_to_block_metadata( $block_dir ); + $this->assertEquals( $base_dir . '/_inc/blocks/test-block', $result ); - $result = Blocks::get_path_to_block_metadata( $block_src_dir, '/dist/' ); - $this->assertEquals( '/dist/test-block', $result ); + $result = Blocks::get_path_to_block_metadata( $block_dir, $base_dir . '/_inc/blocks/' ); + $this->assertEquals( $base_dir . '/_inc/blocks/test-block', $result ); + + $result = Blocks::get_path_to_block_metadata( $block_dir, $base_dir . '/_inc/blocks' ); + $this->assertEquals( $base_dir . '/_inc/blocks/test-block', $result ); + + // Invalid build folder + + Jetpack_Constants::set_constant( 'JETPACK__PLUGIN_FILE', '/a/b/c/jetpack.php' ); + + $result = Blocks::get_path_to_block_metadata( $block_dir ); + $this->assertEquals( $block_dir, $result ); + + $result = Blocks::get_path_to_block_metadata( $block_dir, '/dist' ); + $this->assertEquals( $block_dir, $result ); Jetpack_Constants::clear_constants(); } diff --git a/projects/plugins/jetpack/class.jetpack-gutenberg.php b/projects/plugins/jetpack/class.jetpack-gutenberg.php index 1fcd597fa7d11..fbf72f1aca1bc 100644 --- a/projects/plugins/jetpack/class.jetpack-gutenberg.php +++ b/projects/plugins/jetpack/class.jetpack-gutenberg.php @@ -480,11 +480,8 @@ public static function load_assets_as_required( $type, $script_dependencies = ar // Retrieve the feature from block.json if a path is passed. if ( '/' === substr( $type, 0, 1 ) ) { - // Test if build directory exists. Fall back to reading block.json from source directory. - $build_dir = realpath( Blocks::get_path_to_block_metadata( $type ) ); - $path = false === $build_dir ? $type : $build_dir; - - $feature = Blocks::get_block_feature_from_metadata( Blocks::get_block_metadata_from_file( $path ) ); + $metadata = Blocks::get_block_metadata_from_file( Blocks::get_path_to_block_metadata( $type ) ); + $feature = Blocks::get_block_feature_from_metadata( $metadata ); if ( ! empty( $feature ) ) { $type = $feature; From 1ff4dec8200c295e716181da511c7ab7ac21de6c Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Mon, 28 Aug 2023 14:03:37 -0400 Subject: [PATCH 29/57] [not verified] Fix package versions --- projects/plugins/jetpack/composer.lock | 10643 +++++++++++------------ 1 file changed, 4868 insertions(+), 5775 deletions(-) diff --git a/projects/plugins/jetpack/composer.lock b/projects/plugins/jetpack/composer.lock index 20d4f4c16c480..fd3cf314df72b 100644 --- a/projects/plugins/jetpack/composer.lock +++ b/projects/plugins/jetpack/composer.lock @@ -1,5777 +1,4870 @@ { - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "b9bcfa2ce9f5709c3acfe034384c8885", - "packages": [ - { - "name": "automattic/jetpack-a8c-mc-stats", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/a8c-mc-stats", - "reference": "323066aa932363ae466ae3531a3294cd87b76784" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-a8c-mc-stats", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.4.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Used to record internal usage stats for Automattic. Not visible to site owners.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-abtest", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/abtest", - "reference": "927b858bd00d90ac0951f21c5481b6147ba09854" - }, - "require": { - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-error": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-abtest", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-abtest/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.10.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Provides an interface to the WP.com A/B tests.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-action-bar", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/action-bar", - "reference": "02fd9ecfa27a7f80f40ec47fec385e8408994329" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-constants": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "mirror-repo": "Automattic/jetpack-action-bar", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-action-bar/compare/v${old}...v${new}" - }, - "autotagger": true, - "branch-alias": { - "dev-trunk": "0.1.x-dev" - }, - "textdomain": "jetpack-action-bar" - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "build-production": [ - "pnpm run build-production" - ], - "build-development": [ - "pnpm run build" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "An easy way for visitors to follow, like, and comment on your site.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-admin-ui", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/admin-ui", - "reference": "043cf5470fb67474cbde3a6d8351ee5ecca51efd" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/jetpack-logo": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-admin-ui", - "textdomain": "jetpack-admin-ui", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-admin-ui/compare/${old}...${new}" - }, - "branch-alias": { - "dev-trunk": "0.2.x-dev" - }, - "version-constants": { - "::PACKAGE_VERSION": "src/class-admin-menu.php" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Generic Jetpack wp-admin UI elements", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-assets", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/assets", - "reference": "3e2ee0c78d91409302ac2228532b9725d187c89c" - }, - "require": { - "automattic/jetpack-constants": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "brain/monkey": "2.6.1", - "wikimedia/testing-access-wrapper": "^1.0 || ^2.0", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-assets", - "textdomain": "jetpack-assets", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-assets/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.18.x-dev" - } - }, - "autoload": { - "files": [ - "actions.php" - ], - "classmap": [ - "src/" - ] - }, - "scripts": { - "build-development": [ - "pnpm run build" - ], - "build-production": [ - "pnpm run build-production" - ], - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-js": [ - "pnpm run test" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Asset management utilities for Jetpack ecosystem packages", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-autoloader", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/autoloader", - "reference": "0770a6f80877d30c1d1767d4395af6e17f8768be" - }, - "require": { - "composer-plugin-api": "^1.1 || ^2.0" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "type": "composer-plugin", - "extra": { - "autotagger": true, - "class": "Automattic\\Jetpack\\Autoloader\\CustomAutoloaderPlugin", - "mirror-repo": "Automattic/jetpack-autoloader", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-autoloader/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "2.11.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/AutoloadGenerator.php" - ], - "psr-4": { - "Automattic\\Jetpack\\Autoloader\\": "src" - } - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Creates a custom autoloader for a plugin or theme.", - "keywords": [ - "autoload", - "autoloader", - "composer", - "jetpack", - "plugin", - "wordpress" - ], - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-backup", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/backup", - "reference": "fe1b66a0332a2c838bfe27175c0c4d9482d52d2e" - }, - "require": { - "automattic/jetpack-admin-ui": "@dev", - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-autoloader": "@dev", - "automattic/jetpack-composer-plugin": "@dev", - "automattic/jetpack-config": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-identity-crisis": "@dev", - "automattic/jetpack-status": "@dev", - "automattic/jetpack-sync": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-backup", - "textdomain": "jetpack-backup-pkg", - "version-constants": { - "::PACKAGE_VERSION": "src/class-package-version.php" - }, - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-backup/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.17.x-dev" - } - }, - "autoload": { - "files": [ - "actions.php" - ], - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-js": [ - "pnpm run test" - ], - "test-php": [ - "@composer phpunit" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "build-development": [ - "pnpm run build" - ], - "build-production": [ - "pnpm run build-production-concurrently" - ], - "watch": [ - "Composer\\Config::disableProcessTimeout", - "pnpm run watch" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Tools to assist with backing up Jetpack sites.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-blaze", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/blaze", - "reference": "1ed5f1ec93e20e373beaf86551366e837360a83d" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-plans": "@dev", - "automattic/jetpack-redirect": "@dev", - "automattic/jetpack-status": "@dev", - "automattic/jetpack-sync": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-blaze", - "changelogger": { - "link-template": "https://github.com/automattic/jetpack-blaze/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.10.x-dev" - }, - "textdomain": "jetpack-blaze", - "version-constants": { - "::PACKAGE_VERSION": "src/class-dashboard.php" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "build-production": [ - "pnpm run build-production" - ], - "build-development": [ - "pnpm run build" - ], - "watch": [ - "Composer\\Config::disableProcessTimeout", - "pnpm run watch" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Attract high-quality traffic to your site using Blaze.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-blocks", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/blocks", - "reference": "041d4fb9a3a42e0f1826cd3fd0f2e81413b0c5a8" - }, - "require": { - "automattic/jetpack-constants": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-blocks", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-blocks/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.5.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Register and manage blocks within a plugin. Used to manage block registration, enqueues, and more.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-boost-core", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/boost-core", - "reference": "a9bc537a11dd4c65e13369579fecd51a5b108b22" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "mirror-repo": "Automattic/jetpack-boost-core", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-boost-core/compare/v${old}...v${new}" - }, - "autotagger": true, - "branch-alias": { - "dev-trunk": "0.1.x-dev" - }, - "textdomain": "jetpack-boost-core" - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "build-production": [ - "echo 'Add your build step to composer.json, please!'" - ], - "build-development": [ - "echo 'Add your build step to composer.json, please!'" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Core functionality for boost and relevant packages to depend on", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-boost-speed-score", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/boost-speed-score", - "reference": "a24c57f4e9670a96fea65d286c00d229bde44833" - }, - "require": { - "automattic/jetpack-boost-core": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "brain/monkey": "^2.6", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "mirror-repo": "Automattic/jetpack-boost-speed-score", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-boost-speed-score/compare/v${old}...v${new}" - }, - "autotagger": true, - "branch-alias": { - "dev-trunk": "0.2.x-dev" - }, - "textdomain": "jetpack-boost-speed-score", - "version-constants": { - "::PACKAGE_VERSION": "src/class-speed-score.php" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "autoload-dev": { - "psr-4": { - "Automattic\\Jetpack\\Boost_Speed_Score\\Tests\\": "./tests/php" - } - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "build-production": [ - "echo 'Add your build step to composer.json, please!'" - ], - "build-development": [ - "echo 'Add your build step to composer.json, please!'" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "A package that handles the API to generate the speed score.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-compat", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/compat", - "reference": "efed5add55337c6f88c2d496b03468c7fb48ffd8" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-compat", - "textdomain": "jetpack-compat", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-compat/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.7.x-dev" - } - }, - "autoload": { - "files": [ - "functions.php" - ], - "classmap": [ - "legacy" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Compatibility layer with previous versions of Jetpack", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-composer-plugin", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/composer-plugin", - "reference": "c5173c994ce10010ef82aaf94b4aae9accb7bd02" - }, - "require": { - "composer-plugin-api": "^2.1.0" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "composer/composer": "^2.2 || ^2.4", - "yoast/phpunit-polyfills": "1.1.0" - }, - "type": "composer-plugin", - "extra": { - "plugin-modifies-install-path": true, - "class": "Automattic\\Jetpack\\Composer\\Plugin", - "mirror-repo": "Automattic/jetpack-composer-plugin", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-composer-plugin/compare/v${old}...v${new}" - }, - "autotagger": true, - "branch-alias": { - "dev-trunk": "1.1.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "A custom installer plugin for Composer to move Jetpack packages out of `vendor/` so WordPress's translation infrastructure will find their strings.", - "keywords": [ - "composer", - "i18n", - "jetpack", - "plugin" - ], - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-config", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/config", - "reference": "6a05cd2a4f161c97adb8c7ac698d7bb1e2397594" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-config", - "textdomain": "jetpack-config", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-config/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.15.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Jetpack configuration package that initializes other packages and configures Jetpack's functionality. Can be used as a base for all variants of Jetpack package usage.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-connection", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/connection", - "reference": "3e9d40adbe49f562b5b22ce9b463a00196a61f00" - }, - "require": { - "automattic/jetpack-a8c-mc-stats": "@dev", - "automattic/jetpack-admin-ui": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-redirect": "@dev", - "automattic/jetpack-roles": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-connection", - "textdomain": "jetpack-connection", - "version-constants": { - "::PACKAGE_VERSION": "src/class-package-version.php" - }, - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-connection/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.57.x-dev" - } - }, - "autoload": { - "classmap": [ - "legacy", - "src/", - "src/webhooks" - ] - }, - "scripts": { - "build-production": [ - "pnpm run build-production" - ], - "build-development": [ - "pnpm run build" - ], - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Everything needed to connect to the Jetpack infrastructure", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-constants", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/constants", - "reference": "17a0eb51bb039041e3f37c6cd76b5c9bc0110fde" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-constants", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-constants/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.6.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "A wrapper for defining constants in a more testable way.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-device-detection", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/device-detection", - "reference": "fef1f53b844143c5358061d969d7472bb321af18" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-device-detection", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-device-detection/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.4.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "A way to detect device types based on User-Agent header.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-error", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/error", - "reference": "b2883221ca1decbbb5d0b39f9f8cdc76e869448f" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-error", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-error/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.3.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Jetpack Error - a wrapper around WP_Error.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-forms", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/forms", - "reference": "49262f20846dd58b8c7d71423f52491379afa76e" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-blocks": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/wordbless": "^0.4.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-forms", - "changelogger": { - "link-template": "https://github.com/automattic/jetpack-forms/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.21.x-dev" - }, - "textdomain": "jetpack-forms", - "version-constants": { - "::PACKAGE_VERSION": "src/class-jetpack-forms.php" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "build-production": [ - "pnpm run build-production" - ], - "build-development": [ - "pnpm run build" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "watch": [ - "Composer\\Config::disableProcessTimeout", - "pnpm run watch" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Jetpack Forms", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-google-fonts-provider", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/google-fonts-provider", - "reference": "72bc00c2292da37a578ec11b140982ba756492da" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-google-fonts-provider", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-google-fonts-provider/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.5.x-dev" - }, - "textdomain": "jetpack-google-fonts-provider" - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "WordPress Webfonts provider for Google Fonts", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-identity-crisis", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/identity-crisis", - "reference": "bdb1408d3bb21f92d0d920bc6c7fa417238af18f" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-logo": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-identity-crisis", - "textdomain": "jetpack-idc", - "version-constants": { - "::PACKAGE_VERSION": "src/class-identity-crisis.php" - }, - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-identity-crisis/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.10.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "build-development": [ - "pnpm run build" - ], - "build-production": [ - "NODE_ENV='production' pnpm run build" - ], - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "watch": [ - "Composer\\Config::disableProcessTimeout", - "pnpm run watch" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Identity Crisis.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-image-cdn", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/image-cdn", - "reference": "8f0e7e98f7416857ceb9aff528869d90164e4985" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "mirror-repo": "Automattic/jetpack-image-cdn", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-image-cdn/compare/v${old}...v${new}" - }, - "autotagger": true, - "branch-alias": { - "dev-trunk": "0.2.x-dev" - }, - "textdomain": "jetpack-image-cdn", - "version-constants": { - "::PACKAGE_VERSION": "src/class-image-cdn.php" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "build-production": [ - "pnpm run build-production" - ], - "build-development": [ - "pnpm run build" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Serve images through Jetpack's powerful CDN", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-import", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/import", - "reference": "342e240002782ee069e2871d3ad73e5c010eac35" - }, - "require": { - "automattic/jetpack-connection": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "mirror-repo": "Automattic/jetpack-import", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-import/compare/v${old}...v${new}" - }, - "autotagger": true, - "branch-alias": { - "dev-trunk": "0.7.x-dev" - }, - "textdomain": "jetpack-import", - "version-constants": { - "::PACKAGE_VERSION": "src/class-main.php" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "build-production": [ - "echo 'Add your build step to composer.json, please!'" - ], - "build-development": [ - "echo 'Add your build step to composer.json, please!'" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Set of REST API routes used in WPCOM Unified Importer.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-ip", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/ip", - "reference": "5ac9a7f37b867264b745c581597351ff389e6640" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-ip", - "changelogger": { - "link-template": "https://github.com/automattic/jetpack-ip/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.1.x-dev" - }, - "textdomain": "jetpack-ip", - "version-constants": { - "::PACKAGE_VERSION": "src/class-utils.php" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Utilities for working with IP addresses.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-jitm", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/jitm", - "reference": "3b5f4e2030b1dd42dfc17a85a457da86a124b208" - }, - "require": { - "automattic/jetpack-a8c-mc-stats": "@dev", - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-device-detection": "@dev", - "automattic/jetpack-logo": "@dev", - "automattic/jetpack-partner": "@dev", - "automattic/jetpack-redirect": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-jitm", - "textdomain": "jetpack-jitm", - "version-constants": { - "::PACKAGE_VERSION": "src/class-jitm.php" - }, - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-jitm/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "2.3.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "build-production": [ - "pnpm run build-production" - ], - "build-development": [ - "pnpm run build" - ], - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "watch": [ - "Composer\\Config::disableProcessTimeout", - "pnpm run watch" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Just in time messages for Jetpack", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-lazy-images", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/lazy-images", - "reference": "e6b79362f4856459234f1fe50fb8e560ef586b3e" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-constants": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-lazy-images", - "textdomain": "jetpack-lazy-images", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-lazy-images/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "2.1.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "build-production": [ - "pnpm run build-production" - ], - "build-development": [ - "pnpm run build" - ], - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Speed up your site and create a smoother viewing experience by loading images as visitors scroll down the screen, instead of all at once.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-licensing", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/licensing", - "reference": "f721e8bb190e8f3f819032600242e811a567950f" - }, - "require": { - "automattic/jetpack-connection": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-licensing", - "textdomain": "jetpack-licensing", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-licensing/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.8.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Everything needed to manage Jetpack licenses client-side.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-logo", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/logo", - "reference": "c5c4c3918c9e6ae4da34f413a28a6d82d360aeab" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-logo", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-logo/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.6.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "A logo for Jetpack", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-my-jetpack", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/my-jetpack", - "reference": "8c7e56e6c97632cf8fff1285acff16362892e0ac" - }, - "require": { - "automattic/jetpack-admin-ui": "@dev", - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-jitm": "@dev", - "automattic/jetpack-licensing": "@dev", - "automattic/jetpack-plugins-installer": "@dev", - "automattic/jetpack-redirect": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/jetpack-videopress": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-my-jetpack", - "textdomain": "jetpack-my-jetpack", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}" - }, - "branch-alias": { - "dev-trunk": "3.4.x-dev" - }, - "version-constants": { - "::PACKAGE_VERSION": "src/class-initializer.php" - } - }, - "autoload": { - "classmap": [ - "src/", - "src/products" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "test-js": [ - "pnpm run test" - ], - "test-js-watch": [ - "Composer\\Config::disableProcessTimeout", - "pnpm run test --watch" - ], - "build-development": [ - "pnpm run build" - ], - "build-production": [ - "NODE_ENV=production pnpm run build" - ], - "watch": [ - "Composer\\Config::disableProcessTimeout", - "pnpm run watch" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "WP Admin page with information and configuration shared among all Jetpack stand-alone plugins", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-partner", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/partner", - "reference": "617ebd443fc95dbd3e907b463eed621506da8e31" - }, - "require": { - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-partner", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-partner/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.7.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Support functions for Jetpack hosting partners.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-password-checker", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/password-checker", - "reference": "7a26ef21f1404281666043cead8bf1669d120154" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-password-checker", - "textdomain": "jetpack-password-checker", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-password-checker/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.2.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Password Checker.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-plans", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/plans", - "reference": "86261db42c82c72b7e452d58f7f87e688166ebf4" - }, - "require": { - "automattic/jetpack-connection": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/jetpack-status": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-plans", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-plans/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.3.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "build-production": [ - "echo 'Add your build step to composer.json, please!'" - ], - "build-development": [ - "echo 'Add your build step to composer.json, please!'" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Fetch information about Jetpack Plans from wpcom", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-plugins-installer", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/plugins-installer", - "reference": "f9df3642af412f0b65e6318fe701deffa501aed8" - }, - "require": { - "automattic/jetpack-a8c-mc-stats": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "branch-alias": { - "dev-trunk": "0.2.x-dev" - }, - "mirror-repo": "Automattic/jetpack-plugins-installer", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-plugins-installer/compare/v${old}...v${new}" - }, - "autotagger": true, - "textdomain": "jetpack-plugins-installer" - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Handle installation of plugins from WP.org", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-post-list", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/post-list", - "reference": "d028ad43152f1d8c9e799b259831552c6d5d2225" - }, - "require": { - "automattic/jetpack-assets": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-post-list", - "textdomain": "jetpack-post-list", - "version-constants": { - "::PACKAGE_VERSION": "src/class-post-list.php" - }, - "changelogger": { - "link-template": "https://github.com/automattic/jetpack-post-list/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.4.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Enhance the classic view of the Admin section of your WordPress site", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-publicize", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/publicize", - "reference": "d4eb5b05c8e2b8564ce93f8de8326176d6fbd93e" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-autoloader": "@dev", - "automattic/jetpack-config": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-plans": "@dev", - "automattic/jetpack-redirect": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "0.4.2", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-publicize", - "textdomain": "jetpack-publicize-pkg", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-publicize/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.36.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ], - "files": [ - "src/social-image-generator/utilities.php" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "build-development": [ - "pnpm run build" - ], - "watch": [ - "Composer\\Config::disableProcessTimeout", - "pnpm run watch" - ], - "build-production": [ - "pnpm run build-production-concurrently" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Publicize makes it easy to share your site’s posts on several social media networks automatically when you publish a new post.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-redirect", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/redirect", - "reference": "41485d7ae484bbdf8cd540fe210fc8a950739e4a" - }, - "require": { - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-redirect", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-redirect/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.7.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Utilities to build URLs to the jetpack.com/redirect/ service", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-roles", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/roles", - "reference": "c3300863025c6a3f2cb1705a67ab77d2946e87dc" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-roles", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-roles/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.4.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Utilities, related with user roles and capabilities.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-search", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/search", - "reference": "f69299e3e47bb9f736f31cf3e1f65f036d9dfde2" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-config": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-my-jetpack": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "0.4.2", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-search", - "textdomain": "jetpack-search-pkg", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-search/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.38.x-dev" - }, - "version-constants": { - "::VERSION": "src/class-package.php" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "build": [ - "Composer\\Config::disableProcessTimeout", - "pnpm run build" - ], - "build-development": [ - "pnpm run build-development" - ], - "build-production": [ - "pnpm run build-production" - ], - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-js": [ - "pnpm run test" - ], - "test-php": [ - "@composer phpunit" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "watch": [ - "Composer\\Config::disableProcessTimeout", - "pnpm run watch" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Tools to assist with enabling cloud search for Jetpack sites.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-stats", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/stats", - "reference": "a904c2760d51bdc5cf7a74d94f5dce864ad91bed" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-stats", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-stats/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.6.x-dev" - }, - "textdomain": "jetpack-stats" - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Collect valuable traffic stats and insights.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-stats-admin", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/stats-admin", - "reference": "19d4faeda9ea583a365db86e92e7d26ca73d4415" - }, - "require": { - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-jitm": "@dev", - "automattic/jetpack-plans": "@dev", - "automattic/jetpack-stats": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-stats-admin", - "branch-alias": { - "dev-trunk": "0.12.x-dev" - }, - "textdomain": "jetpack-stats-admin", - "version-constants": { - "::VERSION": "src/class-main.php" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "build-production": [ - "echo 'Add your build step to composer.json, please!'" - ], - "build-development": [ - "echo 'Add your build step to composer.json, please!'" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Stats Dashboard", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-status", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/status", - "reference": "f7cb46ce4ddb975b79fd27163da1a908888322d6" - }, - "require": { - "automattic/jetpack-constants": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/jetpack-ip": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-status", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-status/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.18.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Used to retrieve information about the current status of Jetpack and the site overall.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-sync", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/sync", - "reference": "52f24108a1066efeb6d1a214fd2d40f286631539" - }, - "require": { - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-identity-crisis": "@dev", - "automattic/jetpack-ip": "@dev", - "automattic/jetpack-password-checker": "@dev", - "automattic/jetpack-roles": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-sync", - "textdomain": "jetpack-sync", - "version-constants": { - "::PACKAGE_VERSION": "src/class-package-version.php" - }, - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.56.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Everything needed to allow syncing to the WP.com infrastructure.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-videopress", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/videopress", - "reference": "5f37a24f44baeeb237537d9b899007d8014b42c3" - }, - "require": { - "automattic/jetpack-admin-ui": "@dev", - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-plans": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-videopress", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-videopress/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.15.x-dev" - }, - "version-constants": { - "::PACKAGE_VERSION": "src/class-package-version.php" - }, - "textdomain": "jetpack-videopress-pkg" - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "test-js": [ - "pnpm run test" - ], - "build-production": [ - "NODE_ENV=production BABEL_ENV=production pnpm run build" - ], - "build-development": [ - "pnpm run build" - ], - "watch": [ - "Composer\\Config::disableProcessTimeout", - "pnpm run watch" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "VideoPress package", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-waf", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/waf", - "reference": "cbb27b249e7c79ba0d70f7d190e584b0d286440d" - }, - "require": { - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-ip": "@dev", - "automattic/jetpack-status": "@dev", - "wikimedia/aho-corasick": "^1.0" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-waf", - "textdomain": "jetpack-waf", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-waf/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.11.x-dev" - } - }, - "autoload": { - "files": [ - "cli.php" - ], - "classmap": [ - "src/" - ] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/integration/phpunit.xml.dist --colors=always", - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/unit/phpunit.xml.dist --colors=always" - ], - "post-install-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "post-update-cmd": [ - "WorDBless\\Composer\\InstallDropin::copy" - ], - "test-coverage-html": [ - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/integration/phpunit.xml.dist", - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/unit/phpunit.xml.dist" - ], - "test-php": [ - "@composer phpunit" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Tools to assist with the Jetpack Web Application Firewall", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-wordads", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/wordads", - "reference": "ea2e71b8dd1d509f1a34a3b01dfcf42d6d8673b8" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-config": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "mirror-repo": "Automattic/jetpack-wordads", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-wordads/compare/v${old}...v${new}" - }, - "autotagger": true, - "branch-alias": { - "dev-trunk": "0.2.x-dev" - }, - "textdomain": "jetpack-wordads", - "version-constants": { - "::VERSION": "src/class-package.php" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "scripts": { - "build": [ - "Composer\\Config::disableProcessTimeout", - "pnpm run build" - ], - "build-development": [ - "pnpm run build-development" - ], - "build-production": [ - "pnpm run build-production" - ], - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-js": [ - "pnpm run test" - ], - "test-php": [ - "@composer phpunit" - ], - "watch": [ - "Composer\\Config::disableProcessTimeout", - "pnpm run watch" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Earn income by allowing Jetpack to display high quality ads.", - "transport-options": { - "relative": true - } - }, - { - "name": "nojimage/twitter-text-php", - "version": "v3.1.2", - "source": { - "type": "git", - "url": "https://github.com/nojimage/twitter-text-php.git", - "reference": "979bcf6a92d543b61588c7c0c0a87d0eb473d8f6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nojimage/twitter-text-php/zipball/979bcf6a92d543b61588c7c0c0a87d0eb473d8f6", - "reference": "979bcf6a92d543b61588c7c0c0a87d0eb473d8f6", - "shasum": "" - }, - "require": { - "ext-intl": "*", - "ext-mbstring": "*", - "php": ">=5.3.3" - }, - "require-dev": { - "ext-json": "*", - "phpunit/phpunit": "4.8.*|5.7.*|6.5.*", - "symfony/yaml": "^2.6.0|^3.4.0|^4.4.0|^5.0.0", - "twitter/twitter-text": "^3.0.0" - }, - "type": "library", - "autoload": { - "psr-0": { - "Twitter\\Text\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Matt Sanford", - "email": "matt@mzsanford.com", - "homepage": "http://mzsanford.com" - }, - { - "name": "Mike Cochrane", - "email": "mikec@mikenz.geek.nz", - "homepage": "http://mikenz.geek.nz" - }, - { - "name": "Nick Pope", - "email": "git@nickpope.me.uk", - "homepage": "http://www.nickpope.me.uk" - }, - { - "name": "Takashi Nojima", - "homepage": "http://php-tips.com" - } - ], - "description": "A library of PHP classes that provide auto-linking and extraction of usernames, lists, hashtags and URLs from tweets.", - "homepage": "https://github.com/nojimage/twitter-text-php", - "keywords": [ - "autolink", - "extract", - "text", - "twitter" - ], - "support": { - "issues": "https://github.com/nojimage/twitter-text-php/issues", - "source": "https://github.com/nojimage/twitter-text-php/tree/v3.1.2" - }, - "time": "2021-03-18T11:38:53+00:00" - }, - { - "name": "wikimedia/aho-corasick", - "version": "v1.0.1", - "source": { - "type": "git", - "url": "https://github.com/wikimedia/AhoCorasick.git", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wikimedia/AhoCorasick/zipball/2f3a1bd765913637a66eade658d11d82f0e551be", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "jakub-onderka/php-console-highlighter": "0.3.2", - "jakub-onderka/php-parallel-lint": "1.0.0", - "mediawiki/mediawiki-codesniffer": "18.0.0", - "mediawiki/minus-x": "0.3.1", - "phpunit/phpunit": "4.8.36 || ^6.5" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Ori Livneh", - "email": "ori@wikimedia.org" - } - ], - "description": "An implementation of the Aho-Corasick string matching algorithm.", - "homepage": "https://gerrit.wikimedia.org/g/AhoCorasick", - "keywords": [ - "ahocorasick", - "matcher" - ], - "support": { - "source": "https://github.com/wikimedia/AhoCorasick/tree/v1.0.1" - }, - "time": "2018-05-01T18:13:32+00:00" - } - ], - "packages-dev": [ - { - "name": "antecedent/patchwork", - "version": "2.1.25", - "source": { - "type": "git", - "url": "https://github.com/antecedent/patchwork.git", - "reference": "17314e042d45e0dacb0a494c2d1ef50e7621136a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/antecedent/patchwork/zipball/17314e042d45e0dacb0a494c2d1ef50e7621136a", - "reference": "17314e042d45e0dacb0a494c2d1ef50e7621136a", - "shasum": "" - }, - "require": { - "php": ">=5.4.0" - }, - "require-dev": { - "phpunit/phpunit": ">=4" - }, - "type": "library", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ignas Rudaitis", - "email": "ignas.rudaitis@gmail.com" - } - ], - "description": "Method redefinition (monkey-patching) functionality for PHP.", - "homepage": "http://patchwork2.org/", - "keywords": [ - "aop", - "aspect", - "interception", - "monkeypatching", - "redefinition", - "runkit", - "testing" - ], - "support": { - "issues": "https://github.com/antecedent/patchwork/issues", - "source": "https://github.com/antecedent/patchwork/tree/2.1.25" - }, - "time": "2023-02-19T12:51:24+00:00" - }, - { - "name": "automattic/jetpack-changelogger", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/changelogger", - "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1" - }, - "require": { - "php": ">=5.6", - "symfony/console": "^3.4 || ^5.2 || ^6.0", - "symfony/process": "^3.4 || ^5.2 || ^6.0", - "wikimedia/at-ease": "^1.2 || ^2.0" - }, - "require-dev": { - "wikimedia/testing-access-wrapper": "^1.0 || ^2.0", - "yoast/phpunit-polyfills": "1.1.0" - }, - "bin": [ - "bin/changelogger" - ], - "type": "project", - "extra": { - "autotagger": true, - "branch-alias": { - "dev-trunk": "3.3.x-dev" - }, - "mirror-repo": "Automattic/jetpack-changelogger", - "version-constants": { - "::VERSION": "src/Application.php" - }, - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-changelogger/compare/${old}...${new}" - } - }, - "autoload": { - "psr-4": { - "Automattic\\Jetpack\\Changelogger\\": "src", - "Automattic\\Jetpack\\Changelog\\": "lib" - } - }, - "autoload-dev": { - "psr-4": { - "Automattic\\Jetpack\\Changelogger\\Tests\\": "tests/php/includes/src", - "Automattic\\Jetpack\\Changelog\\Tests\\": "tests/php/includes/lib" - } - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ], - "post-install-cmd": [ - "[ -e vendor/bin/changelogger ] || { cd vendor/bin && ln -s ../../bin/changelogger; }" - ], - "post-update-cmd": [ - "[ -e vendor/bin/changelogger ] || { cd vendor/bin && ln -s ../../bin/changelogger; }" - ] - }, - "license": [ - "GPL-2.0-or-later" - ], - "description": "Jetpack Changelogger tool. Allows for managing changelogs by dropping change files into a changelog directory with each PR.", - "keywords": [ - "changelog", - "cli", - "dev", - "keepachangelog" - ], - "transport-options": { - "relative": true - } - }, - { - "name": "doctrine/instantiator", - "version": "2.0.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "shasum": "" - }, - "require": { - "php": "^8.1" - }, - "require-dev": { - "doctrine/coding-standard": "^11", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^1.2", - "phpstan/phpstan": "^1.9.4", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5.27", - "vimeo/psalm": "^5.4" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", - "keywords": [ - "constructor", - "instantiate" - ], - "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/2.0.0" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } - ], - "time": "2022-12-30T00:23:10+00:00" - }, - { - "name": "johnkary/phpunit-speedtrap", - "version": "v4.0.1", - "source": { - "type": "git", - "url": "https://github.com/johnkary/phpunit-speedtrap.git", - "reference": "d6600d2218396b78856c335f83479503957a5fa9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/johnkary/phpunit-speedtrap/zipball/d6600d2218396b78856c335f83479503957a5fa9", - "reference": "d6600d2218396b78856c335f83479503957a5fa9", - "shasum": "" - }, - "require": { - "php": ">=7.1", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "psr-4": { - "JohnKary\\PHPUnit\\Listener\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "John Kary", - "email": "john@johnkary.net" - } - ], - "description": "Find and report on slow tests in your PHPUnit test suite", - "homepage": "https://github.com/johnkary/phpunit-speedtrap", - "keywords": [ - "phpunit", - "profile", - "slow" - ], - "support": { - "issues": "https://github.com/johnkary/phpunit-speedtrap/issues", - "source": "https://github.com/johnkary/phpunit-speedtrap/tree/v4.0.1" - }, - "time": "2022-10-17T00:56:56+00:00" - }, - { - "name": "myclabs/deep-copy", - "version": "1.11.1", - "source": { - "type": "git", - "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", - "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "conflict": { - "doctrine/collections": "<1.6.8", - "doctrine/common": "<2.13.3 || >=3,<3.2.2" - }, - "require-dev": { - "doctrine/collections": "^1.6.8", - "doctrine/common": "^2.13.3 || ^3.2.2", - "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" - }, - "type": "library", - "autoload": { - "files": [ - "src/DeepCopy/deep_copy.php" - ], - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Create deep copies (clones) of your objects", - "keywords": [ - "clone", - "copy", - "duplicate", - "object", - "object graph" - ], - "support": { - "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" - }, - "funding": [ - { - "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", - "type": "tidelift" - } - ], - "time": "2023-03-08T13:26:56+00:00" - }, - { - "name": "nikic/php-parser", - "version": "v4.17.1", - "source": { - "type": "git", - "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", - "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", - "shasum": "" - }, - "require": { - "ext-tokenizer": "*", - "php": ">=7.0" - }, - "require-dev": { - "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" - }, - "bin": [ - "bin/php-parse" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.9-dev" - } - }, - "autoload": { - "psr-4": { - "PhpParser\\": "lib/PhpParser" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Nikita Popov" - } - ], - "description": "A PHP parser written in PHP", - "keywords": [ - "parser", - "php" - ], - "support": { - "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" - }, - "time": "2023-08-13T19:53:39+00:00" - }, - { - "name": "phar-io/manifest", - "version": "2.0.3", - "source": { - "type": "git", - "url": "https://github.com/phar-io/manifest.git", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-phar": "*", - "ext-xmlwriter": "*", - "phar-io/version": "^3.0.1", - "php": "^7.2 || ^8.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, - { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "Developer" - } - ], - "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", - "support": { - "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/2.0.3" - }, - "time": "2021-07-20T11:28:43+00:00" - }, - { - "name": "phar-io/version", - "version": "3.2.1", - "source": { - "type": "git", - "url": "https://github.com/phar-io/version.git", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, - { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "Developer" - } - ], - "description": "Library for handling version information and constraints", - "support": { - "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/3.2.1" - }, - "time": "2022-02-21T01:04:05+00:00" - }, - { - "name": "phpunit/php-code-coverage", - "version": "9.2.27", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "b0a88255cb70d52653d80c890bd7f38740ea50d1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/b0a88255cb70d52653d80c890bd7f38740ea50d1", - "reference": "b0a88255cb70d52653d80c890bd7f38740ea50d1", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-libxml": "*", - "ext-xmlwriter": "*", - "nikic/php-parser": "^4.15", - "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.3", - "phpunit/php-text-template": "^2.0.2", - "sebastian/code-unit-reverse-lookup": "^2.0.2", - "sebastian/complexity": "^2.0", - "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0.3", - "sebastian/version": "^3.0.1", - "theseer/tokenizer": "^1.2.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-pcov": "PHP extension that provides line coverage", - "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "9.2-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", - "homepage": "https://github.com/sebastianbergmann/php-code-coverage", - "keywords": [ - "coverage", - "testing", - "xunit" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.27" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-07-26T13:44:30+00:00" - }, - { - "name": "phpunit/php-file-iterator", - "version": "3.0.6", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", - "keywords": [ - "filesystem", - "iterator" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2021-12-02T12:48:52+00:00" - }, - { - "name": "phpunit/php-invoker", - "version": "3.1.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "ext-pcntl": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-pcntl": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Invoke callables with a timeout", - "homepage": "https://github.com/sebastianbergmann/php-invoker/", - "keywords": [ - "process" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T05:58:55+00:00" - }, - { - "name": "phpunit/php-text-template", - "version": "2.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", - "keywords": [ - "template" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T05:33:50+00:00" - }, - { - "name": "phpunit/php-timer", - "version": "5.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Utility class for timing", - "homepage": "https://github.com/sebastianbergmann/php-timer/", - "keywords": [ - "timer" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:16:10+00:00" - }, - { - "name": "phpunit/phpunit", - "version": "9.6.11", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "810500e92855eba8a7a5319ae913be2da6f957b0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/810500e92855eba8a7a5319ae913be2da6f957b0", - "reference": "810500e92855eba8a7a5319ae913be2da6f957b0", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.3.1 || ^2", - "ext-dom": "*", - "ext-json": "*", - "ext-libxml": "*", - "ext-mbstring": "*", - "ext-xml": "*", - "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.10.1", - "phar-io/manifest": "^2.0.3", - "phar-io/version": "^3.0.2", - "php": ">=7.3", - "phpunit/php-code-coverage": "^9.2.13", - "phpunit/php-file-iterator": "^3.0.5", - "phpunit/php-invoker": "^3.1.1", - "phpunit/php-text-template": "^2.0.3", - "phpunit/php-timer": "^5.0.2", - "sebastian/cli-parser": "^1.0.1", - "sebastian/code-unit": "^1.0.6", - "sebastian/comparator": "^4.0.8", - "sebastian/diff": "^4.0.3", - "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.5", - "sebastian/global-state": "^5.0.1", - "sebastian/object-enumerator": "^4.0.3", - "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^3.2", - "sebastian/version": "^3.0.2" - }, - "suggest": { - "ext-soap": "To be able to generate mocks based on WSDL files", - "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" - }, - "bin": [ - "phpunit" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "9.6-dev" - } - }, - "autoload": { - "files": [ - "src/Framework/Assert/Functions.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "The PHP Unit Testing framework.", - "homepage": "https://phpunit.de/", - "keywords": [ - "phpunit", - "testing", - "xunit" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.11" - }, - "funding": [ - { - "url": "https://phpunit.de/sponsors.html", - "type": "custom" - }, - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", - "type": "tidelift" - } - ], - "time": "2023-08-19T07:10:56+00:00" - }, - { - "name": "psr/container", - "version": "2.0.2", - "source": { - "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "shasum": "" - }, - "require": { - "php": ">=7.4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Container\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", - "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" - ], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/2.0.2" - }, - "time": "2021-11-05T16:47:00+00:00" - }, - { - "name": "sebastian/cli-parser", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for parsing CLI options", - "homepage": "https://github.com/sebastianbergmann/cli-parser", - "support": { - "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:08:49+00:00" - }, - { - "name": "sebastian/code-unit", - "version": "1.0.8", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Collection of value objects that represent the PHP code units", - "homepage": "https://github.com/sebastianbergmann/code-unit", - "support": { - "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:08:54+00:00" - }, - { - "name": "sebastian/code-unit-reverse-lookup", - "version": "2.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Looks up which function or method a line of code belongs to", - "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "support": { - "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T05:30:19+00:00" - }, - { - "name": "sebastian/comparator", - "version": "4.0.8", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/diff": "^4.0", - "sebastian/exporter": "^4.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - } - ], - "description": "Provides the functionality to compare PHP values for equality", - "homepage": "https://github.com/sebastianbergmann/comparator", - "keywords": [ - "comparator", - "compare", - "equality" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-09-14T12:41:17+00:00" - }, - { - "name": "sebastian/complexity", - "version": "2.0.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", - "shasum": "" - }, - "require": { - "nikic/php-parser": "^4.7", - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for calculating the complexity of PHP code units", - "homepage": "https://github.com/sebastianbergmann/complexity", - "support": { - "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T15:52:27+00:00" - }, - { - "name": "sebastian/diff", - "version": "4.0.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3", - "symfony/process": "^4.2 || ^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - } - ], - "description": "Diff implementation", - "homepage": "https://github.com/sebastianbergmann/diff", - "keywords": [ - "diff", - "udiff", - "unidiff", - "unified diff" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-05-07T05:35:17+00:00" - }, - { - "name": "sebastian/environment", - "version": "5.1.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-posix": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", - "keywords": [ - "Xdebug", - "environment", - "hhvm" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-02-03T06:03:51+00:00" - }, - { - "name": "sebastian/exporter", - "version": "4.0.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/recursion-context": "^4.0" - }, - "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "https://www.github.com/sebastianbergmann/exporter", - "keywords": [ - "export", - "exporter" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-09-14T06:03:37+00:00" - }, - { - "name": "sebastian/global-state", - "version": "5.0.6", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bde739e7565280bda77be70044ac1047bc007e34" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", - "reference": "bde739e7565280bda77be70044ac1047bc007e34", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" - }, - "require-dev": { - "ext-dom": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-uopz": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", - "keywords": [ - "global state" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-08-02T09:26:13+00:00" - }, - { - "name": "sebastian/lines-of-code", - "version": "1.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "shasum": "" - }, - "require": { - "nikic/php-parser": "^4.6", - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for counting the lines of code in PHP source code", - "homepage": "https://github.com/sebastianbergmann/lines-of-code", - "support": { - "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-11-28T06:42:11+00:00" - }, - { - "name": "sebastian/object-enumerator", - "version": "4.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Traverses array structures and object graphs to enumerate all referenced objects", - "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "support": { - "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:12:34+00:00" - }, - { - "name": "sebastian/object-reflector", - "version": "2.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Allows reflection of object attributes, including inherited and non-public ones", - "homepage": "https://github.com/sebastianbergmann/object-reflector/", - "support": { - "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:14:26+00:00" - }, - { - "name": "sebastian/recursion-context", - "version": "4.0.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - } - ], - "description": "Provides functionality to recursively process PHP variables", - "homepage": "https://github.com/sebastianbergmann/recursion-context", - "support": { - "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-02-03T06:07:39+00:00" - }, - { - "name": "sebastian/resource-operations", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:45:17+00:00" - }, - { - "name": "sebastian/type", - "version": "3.2.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/type.git", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.2-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Collection of value objects that represent the types of the PHP type system", - "homepage": "https://github.com/sebastianbergmann/type", - "support": { - "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-02-03T06:13:03+00:00" - }, - { - "name": "sebastian/version", - "version": "3.0.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c6c1022351a901512170118436c764e473f6de8c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", - "reference": "c6c1022351a901512170118436c764e473f6de8c", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", - "support": { - "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:39:44+00:00" - }, - { - "name": "symfony/console", - "version": "v6.3.2", - "source": { - "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "aa5d64ad3f63f2e48964fc81ee45cb318a723898" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/aa5d64ad3f63f2e48964fc81ee45cb318a723898", - "reference": "aa5d64ad3f63f2e48964fc81ee45cb318a723898", - "shasum": "" - }, - "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3", - "symfony/polyfill-mbstring": "~1.0", - "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^5.4|^6.0" - }, - "conflict": { - "symfony/dependency-injection": "<5.4", - "symfony/dotenv": "<5.4", - "symfony/event-dispatcher": "<5.4", - "symfony/lock": "<5.4", - "symfony/process": "<5.4" - }, - "provide": { - "psr/log-implementation": "1.0|2.0|3.0" - }, - "require-dev": { - "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/lock": "^5.4|^6.0", - "symfony/process": "^5.4|^6.0", - "symfony/var-dumper": "^5.4|^6.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Console\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Eases the creation of beautiful and testable command line interfaces", - "homepage": "https://symfony.com", - "keywords": [ - "cli", - "command-line", - "console", - "terminal" - ], - "support": { - "source": "https://github.com/symfony/console/tree/v6.3.2" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-07-19T20:17:28+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "v3.3.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.4-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.3.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-05-23T14:45:45+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "511a08c03c1960e08a883f4cffcacd219b758354" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", - "reference": "511a08c03c1960e08a883f4cffcacd219b758354", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" - }, - { - "name": "symfony/process", - "version": "v6.3.2", - "source": { - "type": "git", - "url": "https://github.com/symfony/process.git", - "reference": "c5ce962db0d9b6e80247ca5eb9af6472bd4d7b5d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/c5ce962db0d9b6e80247ca5eb9af6472bd4d7b5d", - "reference": "c5ce962db0d9b6e80247ca5eb9af6472bd4d7b5d", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Process\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Executes commands in sub-processes", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/process/tree/v6.3.2" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-07-12T16:00:22+00:00" - }, - { - "name": "symfony/service-contracts", - "version": "v3.3.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/service-contracts.git", - "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", - "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", - "shasum": "" - }, - "require": { - "php": ">=8.1", - "psr/container": "^2.0" - }, - "conflict": { - "ext-psr": "<1.1|>=2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.4-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\Service\\": "" - }, - "exclude-from-classmap": [ - "/Test/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Generic abstractions related to writing services", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.3.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-05-23T14:45:45+00:00" - }, - { - "name": "symfony/string", - "version": "v6.3.2", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "53d1a83225002635bca3482fcbf963001313fb68" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/53d1a83225002635bca3482fcbf963001313fb68", - "reference": "53d1a83225002635bca3482fcbf963001313fb68", - "shasum": "" - }, - "require": { - "php": ">=8.1", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.0", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/error-handler": "^5.4|^6.0", - "symfony/http-client": "^5.4|^6.0", - "symfony/intl": "^6.2", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^5.4|^6.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/v6.3.2" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-07-05T08:41:27+00:00" - }, - { - "name": "theseer/tokenizer", - "version": "1.2.1", - "source": { - "type": "git", - "url": "https://github.com/theseer/tokenizer.git", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": "^7.2 || ^8.0" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - } - ], - "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", - "support": { - "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.1" - }, - "funding": [ - { - "url": "https://github.com/theseer", - "type": "github" - } - ], - "time": "2021-07-28T10:34:58+00:00" - }, - { - "name": "wikimedia/at-ease", - "version": "v2.1.0", - "source": { - "type": "git", - "url": "https://github.com/wikimedia/at-ease.git", - "reference": "e8ebaa7bb7c8a8395481a05f6dc4deaceab11c33" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wikimedia/at-ease/zipball/e8ebaa7bb7c8a8395481a05f6dc4deaceab11c33", - "reference": "e8ebaa7bb7c8a8395481a05f6dc4deaceab11c33", - "shasum": "" - }, - "require": { - "php": ">=7.2.9" - }, - "require-dev": { - "mediawiki/mediawiki-codesniffer": "35.0.0", - "mediawiki/minus-x": "1.1.1", - "ockcyp/covers-validator": "1.3.3", - "php-parallel-lint/php-console-highlighter": "0.5.0", - "php-parallel-lint/php-parallel-lint": "1.2.0", - "phpunit/phpunit": "^8.5" - }, - "type": "library", - "autoload": { - "files": [ - "src/Wikimedia/Functions.php" - ], - "psr-4": { - "Wikimedia\\AtEase\\": "src/Wikimedia/AtEase/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-2.0-or-later" - ], - "authors": [ - { - "name": "Tim Starling", - "email": "tstarling@wikimedia.org" - }, - { - "name": "MediaWiki developers", - "email": "wikitech-l@lists.wikimedia.org" - } - ], - "description": "Safe replacement to @ for suppressing warnings.", - "homepage": "https://www.mediawiki.org/wiki/at-ease", - "support": { - "source": "https://github.com/wikimedia/at-ease/tree/v2.1.0" - }, - "time": "2021-02-27T15:53:37+00:00" - }, - { - "name": "yoast/phpunit-polyfills", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/Yoast/PHPUnit-Polyfills.git", - "reference": "224e4a1329c03d8bad520e3fc4ec980034a4b212" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/224e4a1329c03d8bad520e3fc4ec980034a4b212", - "reference": "224e4a1329c03d8bad520e3fc4ec980034a4b212", - "shasum": "" - }, - "require": { - "php": ">=5.4", - "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0" - }, - "require-dev": { - "yoast/yoastcs": "^2.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - } - }, - "autoload": { - "files": [ - "phpunitpolyfills-autoload.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Team Yoast", - "email": "support@yoast.com", - "homepage": "https://yoast.com" - }, - { - "name": "Contributors", - "homepage": "https://github.com/Yoast/PHPUnit-Polyfills/graphs/contributors" - } - ], - "description": "Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests", - "homepage": "https://github.com/Yoast/PHPUnit-Polyfills", - "keywords": [ - "phpunit", - "polyfill", - "testing" - ], - "support": { - "issues": "https://github.com/Yoast/PHPUnit-Polyfills/issues", - "source": "https://github.com/Yoast/PHPUnit-Polyfills" - }, - "time": "2023-08-19T14:25:08+00:00" - } - ], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "automattic/jetpack-a8c-mc-stats": 20, - "automattic/jetpack-abtest": 20, - "automattic/jetpack-action-bar": 20, - "automattic/jetpack-admin-ui": 20, - "automattic/jetpack-assets": 20, - "automattic/jetpack-autoloader": 20, - "automattic/jetpack-backup": 20, - "automattic/jetpack-blaze": 20, - "automattic/jetpack-blocks": 20, - "automattic/jetpack-boost-speed-score": 20, - "automattic/jetpack-compat": 20, - "automattic/jetpack-composer-plugin": 20, - "automattic/jetpack-config": 20, - "automattic/jetpack-connection": 20, - "automattic/jetpack-constants": 20, - "automattic/jetpack-device-detection": 20, - "automattic/jetpack-error": 20, - "automattic/jetpack-forms": 20, - "automattic/jetpack-google-fonts-provider": 20, - "automattic/jetpack-identity-crisis": 20, - "automattic/jetpack-image-cdn": 20, - "automattic/jetpack-import": 20, - "automattic/jetpack-ip": 20, - "automattic/jetpack-jitm": 20, - "automattic/jetpack-lazy-images": 20, - "automattic/jetpack-licensing": 20, - "automattic/jetpack-logo": 20, - "automattic/jetpack-my-jetpack": 20, - "automattic/jetpack-partner": 20, - "automattic/jetpack-plugins-installer": 20, - "automattic/jetpack-post-list": 20, - "automattic/jetpack-publicize": 20, - "automattic/jetpack-redirect": 20, - "automattic/jetpack-roles": 20, - "automattic/jetpack-search": 20, - "automattic/jetpack-stats": 20, - "automattic/jetpack-stats-admin": 20, - "automattic/jetpack-status": 20, - "automattic/jetpack-sync": 20, - "automattic/jetpack-videopress": 20, - "automattic/jetpack-waf": 20, - "automattic/jetpack-wordads": 20, - "automattic/jetpack-changelogger": 20 - }, - "prefer-stable": true, - "prefer-lowest": false, - "platform": { - "ext-fileinfo": "*", - "ext-json": "*", - "ext-openssl": "*" - }, - "platform-dev": [], - "platform-overrides": { - "ext-intl": "0.0.0" - }, - "plugin-api-version": "2.3.0" + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "b9bcfa2ce9f5709c3acfe034384c8885", + "packages": [ + { + "name": "automattic/jetpack-a8c-mc-stats", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/a8c-mc-stats", + "reference": "323066aa932363ae466ae3531a3294cd87b76784" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-a8c-mc-stats", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.4.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Used to record internal usage stats for Automattic. Not visible to site owners.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-abtest", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/abtest", + "reference": "927b858bd00d90ac0951f21c5481b6147ba09854" + }, + "require": { + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-error": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-abtest", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-abtest/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.10.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Provides an interface to the WP.com A/B tests.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-action-bar", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/action-bar", + "reference": "02fd9ecfa27a7f80f40ec47fec385e8408994329" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-constants": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "mirror-repo": "Automattic/jetpack-action-bar", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-action-bar/compare/v${old}...v${new}" + }, + "autotagger": true, + "branch-alias": { + "dev-trunk": "0.1.x-dev" + }, + "textdomain": "jetpack-action-bar" + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "build-production": ["pnpm run build-production"], + "build-development": ["pnpm run build"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] + }, + "license": ["GPL-2.0-or-later"], + "description": "An easy way for visitors to follow, like, and comment on your site.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-admin-ui", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/admin-ui", + "reference": "043cf5470fb67474cbde3a6d8351ee5ecca51efd" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/jetpack-logo": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-admin-ui", + "textdomain": "jetpack-admin-ui", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-admin-ui/compare/${old}...${new}" + }, + "branch-alias": { + "dev-trunk": "0.2.x-dev" + }, + "version-constants": { + "::PACKAGE_VERSION": "src/class-admin-menu.php" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Generic Jetpack wp-admin UI elements", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-assets", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/assets", + "reference": "3e2ee0c78d91409302ac2228532b9725d187c89c" + }, + "require": { + "automattic/jetpack-constants": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "brain/monkey": "2.6.1", + "wikimedia/testing-access-wrapper": "^1.0 || ^2.0", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-assets", + "textdomain": "jetpack-assets", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-assets/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.18.x-dev" + } + }, + "autoload": { + "files": ["actions.php"], + "classmap": ["src/"] + }, + "scripts": { + "build-development": ["pnpm run build"], + "build-production": ["pnpm run build-production"], + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-js": ["pnpm run test"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Asset management utilities for Jetpack ecosystem packages", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-autoloader", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/autoloader", + "reference": "0770a6f80877d30c1d1767d4395af6e17f8768be" + }, + "require": { + "composer-plugin-api": "^1.1 || ^2.0" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "type": "composer-plugin", + "extra": { + "autotagger": true, + "class": "Automattic\\Jetpack\\Autoloader\\CustomAutoloaderPlugin", + "mirror-repo": "Automattic/jetpack-autoloader", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-autoloader/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "2.11.x-dev" + } + }, + "autoload": { + "classmap": ["src/AutoloadGenerator.php"], + "psr-4": { + "Automattic\\Jetpack\\Autoloader\\": "src" + } + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Creates a custom autoloader for a plugin or theme.", + "keywords": ["autoload", "autoloader", "composer", "jetpack", "plugin", "wordpress"], + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-backup", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/backup", + "reference": "fe1b66a0332a2c838bfe27175c0c4d9482d52d2e" + }, + "require": { + "automattic/jetpack-admin-ui": "@dev", + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-autoloader": "@dev", + "automattic/jetpack-composer-plugin": "@dev", + "automattic/jetpack-config": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-identity-crisis": "@dev", + "automattic/jetpack-status": "@dev", + "automattic/jetpack-sync": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-backup", + "textdomain": "jetpack-backup-pkg", + "version-constants": { + "::PACKAGE_VERSION": "src/class-package-version.php" + }, + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-backup/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.17.x-dev" + } + }, + "autoload": { + "files": ["actions.php"], + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-js": ["pnpm run test"], + "test-php": ["@composer phpunit"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "build-development": ["pnpm run build"], + "build-production": ["pnpm run build-production-concurrently"], + "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Tools to assist with backing up Jetpack sites.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-blaze", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/blaze", + "reference": "1ed5f1ec93e20e373beaf86551366e837360a83d" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-plans": "@dev", + "automattic/jetpack-redirect": "@dev", + "automattic/jetpack-status": "@dev", + "automattic/jetpack-sync": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-blaze", + "changelogger": { + "link-template": "https://github.com/automattic/jetpack-blaze/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.10.x-dev" + }, + "textdomain": "jetpack-blaze", + "version-constants": { + "::PACKAGE_VERSION": "src/class-dashboard.php" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "build-production": ["pnpm run build-production"], + "build-development": ["pnpm run build"], + "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Attract high-quality traffic to your site using Blaze.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-blocks", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/blocks", + "reference": "3bffdec35d950eedb81aeeb2ed85fe9027b1e302" + }, + "require": { + "automattic/jetpack-constants": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.0.4" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-blocks", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-blocks/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.5.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Register and manage blocks within a plugin. Used to manage block registration, enqueues, and more.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-boost-core", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/boost-core", + "reference": "a9bc537a11dd4c65e13369579fecd51a5b108b22" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "mirror-repo": "Automattic/jetpack-boost-core", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-boost-core/compare/v${old}...v${new}" + }, + "autotagger": true, + "branch-alias": { + "dev-trunk": "0.1.x-dev" + }, + "textdomain": "jetpack-boost-core" + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "build-production": ["echo 'Add your build step to composer.json, please!'"], + "build-development": ["echo 'Add your build step to composer.json, please!'"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Core functionality for boost and relevant packages to depend on", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-boost-speed-score", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/boost-speed-score", + "reference": "a24c57f4e9670a96fea65d286c00d229bde44833" + }, + "require": { + "automattic/jetpack-boost-core": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "brain/monkey": "^2.6", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "mirror-repo": "Automattic/jetpack-boost-speed-score", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-boost-speed-score/compare/v${old}...v${new}" + }, + "autotagger": true, + "branch-alias": { + "dev-trunk": "0.2.x-dev" + }, + "textdomain": "jetpack-boost-speed-score", + "version-constants": { + "::PACKAGE_VERSION": "src/class-speed-score.php" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "autoload-dev": { + "psr-4": { + "Automattic\\Jetpack\\Boost_Speed_Score\\Tests\\": "./tests/php" + } + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "build-production": ["echo 'Add your build step to composer.json, please!'"], + "build-development": ["echo 'Add your build step to composer.json, please!'"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] + }, + "license": ["GPL-2.0-or-later"], + "description": "A package that handles the API to generate the speed score.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-compat", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/compat", + "reference": "efed5add55337c6f88c2d496b03468c7fb48ffd8" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-compat", + "textdomain": "jetpack-compat", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-compat/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.7.x-dev" + } + }, + "autoload": { + "files": ["functions.php"], + "classmap": ["legacy"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Compatibility layer with previous versions of Jetpack", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-composer-plugin", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/composer-plugin", + "reference": "c5173c994ce10010ef82aaf94b4aae9accb7bd02" + }, + "require": { + "composer-plugin-api": "^2.1.0" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "composer/composer": "^2.2 || ^2.4", + "yoast/phpunit-polyfills": "1.1.0" + }, + "type": "composer-plugin", + "extra": { + "plugin-modifies-install-path": true, + "class": "Automattic\\Jetpack\\Composer\\Plugin", + "mirror-repo": "Automattic/jetpack-composer-plugin", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-composer-plugin/compare/v${old}...v${new}" + }, + "autotagger": true, + "branch-alias": { + "dev-trunk": "1.1.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "A custom installer plugin for Composer to move Jetpack packages out of `vendor/` so WordPress's translation infrastructure will find their strings.", + "keywords": ["composer", "i18n", "jetpack", "plugin"], + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-config", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/config", + "reference": "6a05cd2a4f161c97adb8c7ac698d7bb1e2397594" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-config", + "textdomain": "jetpack-config", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-config/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.15.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Jetpack configuration package that initializes other packages and configures Jetpack's functionality. Can be used as a base for all variants of Jetpack package usage.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-connection", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/connection", + "reference": "3e9d40adbe49f562b5b22ce9b463a00196a61f00" + }, + "require": { + "automattic/jetpack-a8c-mc-stats": "@dev", + "automattic/jetpack-admin-ui": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-redirect": "@dev", + "automattic/jetpack-roles": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-connection", + "textdomain": "jetpack-connection", + "version-constants": { + "::PACKAGE_VERSION": "src/class-package-version.php" + }, + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-connection/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.57.x-dev" + } + }, + "autoload": { + "classmap": ["legacy", "src/", "src/webhooks"] + }, + "scripts": { + "build-production": ["pnpm run build-production"], + "build-development": ["pnpm run build"], + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Everything needed to connect to the Jetpack infrastructure", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-constants", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/constants", + "reference": "17a0eb51bb039041e3f37c6cd76b5c9bc0110fde" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-constants", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-constants/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.6.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "A wrapper for defining constants in a more testable way.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-device-detection", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/device-detection", + "reference": "fef1f53b844143c5358061d969d7472bb321af18" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-device-detection", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-device-detection/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.4.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "A way to detect device types based on User-Agent header.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-error", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/error", + "reference": "b2883221ca1decbbb5d0b39f9f8cdc76e869448f" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-error", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-error/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.3.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Jetpack Error - a wrapper around WP_Error.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-forms", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/forms", + "reference": "49262f20846dd58b8c7d71423f52491379afa76e" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-blocks": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/wordbless": "^0.4.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-forms", + "changelogger": { + "link-template": "https://github.com/automattic/jetpack-forms/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.21.x-dev" + }, + "textdomain": "jetpack-forms", + "version-constants": { + "::PACKAGE_VERSION": "src/class-jetpack-forms.php" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "build-production": ["pnpm run build-production"], + "build-development": ["pnpm run build"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Jetpack Forms", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-google-fonts-provider", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/google-fonts-provider", + "reference": "72bc00c2292da37a578ec11b140982ba756492da" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-google-fonts-provider", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-google-fonts-provider/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.5.x-dev" + }, + "textdomain": "jetpack-google-fonts-provider" + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "WordPress Webfonts provider for Google Fonts", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-identity-crisis", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/identity-crisis", + "reference": "bdb1408d3bb21f92d0d920bc6c7fa417238af18f" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-logo": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-identity-crisis", + "textdomain": "jetpack-idc", + "version-constants": { + "::PACKAGE_VERSION": "src/class-identity-crisis.php" + }, + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-identity-crisis/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.10.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "build-development": ["pnpm run build"], + "build-production": ["NODE_ENV='production' pnpm run build"], + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Identity Crisis.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-image-cdn", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/image-cdn", + "reference": "8f0e7e98f7416857ceb9aff528869d90164e4985" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "mirror-repo": "Automattic/jetpack-image-cdn", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-image-cdn/compare/v${old}...v${new}" + }, + "autotagger": true, + "branch-alias": { + "dev-trunk": "0.2.x-dev" + }, + "textdomain": "jetpack-image-cdn", + "version-constants": { + "::PACKAGE_VERSION": "src/class-image-cdn.php" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "build-production": ["pnpm run build-production"], + "build-development": ["pnpm run build"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Serve images through Jetpack's powerful CDN", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-import", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/import", + "reference": "342e240002782ee069e2871d3ad73e5c010eac35" + }, + "require": { + "automattic/jetpack-connection": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "mirror-repo": "Automattic/jetpack-import", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-import/compare/v${old}...v${new}" + }, + "autotagger": true, + "branch-alias": { + "dev-trunk": "0.7.x-dev" + }, + "textdomain": "jetpack-import", + "version-constants": { + "::PACKAGE_VERSION": "src/class-main.php" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "build-production": ["echo 'Add your build step to composer.json, please!'"], + "build-development": ["echo 'Add your build step to composer.json, please!'"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Set of REST API routes used in WPCOM Unified Importer.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-ip", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/ip", + "reference": "5ac9a7f37b867264b745c581597351ff389e6640" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-ip", + "changelogger": { + "link-template": "https://github.com/automattic/jetpack-ip/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.1.x-dev" + }, + "textdomain": "jetpack-ip", + "version-constants": { + "::PACKAGE_VERSION": "src/class-utils.php" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Utilities for working with IP addresses.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-jitm", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/jitm", + "reference": "3b5f4e2030b1dd42dfc17a85a457da86a124b208" + }, + "require": { + "automattic/jetpack-a8c-mc-stats": "@dev", + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-device-detection": "@dev", + "automattic/jetpack-logo": "@dev", + "automattic/jetpack-partner": "@dev", + "automattic/jetpack-redirect": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-jitm", + "textdomain": "jetpack-jitm", + "version-constants": { + "::PACKAGE_VERSION": "src/class-jitm.php" + }, + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-jitm/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "2.3.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "build-production": ["pnpm run build-production"], + "build-development": ["pnpm run build"], + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Just in time messages for Jetpack", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-lazy-images", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/lazy-images", + "reference": "e6b79362f4856459234f1fe50fb8e560ef586b3e" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-constants": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-lazy-images", + "textdomain": "jetpack-lazy-images", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-lazy-images/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "2.1.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "build-production": ["pnpm run build-production"], + "build-development": ["pnpm run build"], + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Speed up your site and create a smoother viewing experience by loading images as visitors scroll down the screen, instead of all at once.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-licensing", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/licensing", + "reference": "f721e8bb190e8f3f819032600242e811a567950f" + }, + "require": { + "automattic/jetpack-connection": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-licensing", + "textdomain": "jetpack-licensing", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-licensing/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.8.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Everything needed to manage Jetpack licenses client-side.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-logo", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/logo", + "reference": "c5c4c3918c9e6ae4da34f413a28a6d82d360aeab" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-logo", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-logo/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.6.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "A logo for Jetpack", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-my-jetpack", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/my-jetpack", + "reference": "8c7e56e6c97632cf8fff1285acff16362892e0ac" + }, + "require": { + "automattic/jetpack-admin-ui": "@dev", + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-jitm": "@dev", + "automattic/jetpack-licensing": "@dev", + "automattic/jetpack-plugins-installer": "@dev", + "automattic/jetpack-redirect": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/jetpack-videopress": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-my-jetpack", + "textdomain": "jetpack-my-jetpack", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}" + }, + "branch-alias": { + "dev-trunk": "3.4.x-dev" + }, + "version-constants": { + "::PACKAGE_VERSION": "src/class-initializer.php" + } + }, + "autoload": { + "classmap": ["src/", "src/products"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "test-js": ["pnpm run test"], + "test-js-watch": ["Composer\\Config::disableProcessTimeout", "pnpm run test --watch"], + "build-development": ["pnpm run build"], + "build-production": ["NODE_ENV=production pnpm run build"], + "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] + }, + "license": ["GPL-2.0-or-later"], + "description": "WP Admin page with information and configuration shared among all Jetpack stand-alone plugins", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-partner", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/partner", + "reference": "617ebd443fc95dbd3e907b463eed621506da8e31" + }, + "require": { + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-partner", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-partner/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.7.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Support functions for Jetpack hosting partners.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-password-checker", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/password-checker", + "reference": "7a26ef21f1404281666043cead8bf1669d120154" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-password-checker", + "textdomain": "jetpack-password-checker", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-password-checker/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.2.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Password Checker.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-plans", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/plans", + "reference": "86261db42c82c72b7e452d58f7f87e688166ebf4" + }, + "require": { + "automattic/jetpack-connection": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/jetpack-status": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-plans", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-plans/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.3.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "build-production": ["echo 'Add your build step to composer.json, please!'"], + "build-development": ["echo 'Add your build step to composer.json, please!'"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Fetch information about Jetpack Plans from wpcom", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-plugins-installer", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/plugins-installer", + "reference": "f9df3642af412f0b65e6318fe701deffa501aed8" + }, + "require": { + "automattic/jetpack-a8c-mc-stats": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "branch-alias": { + "dev-trunk": "0.2.x-dev" + }, + "mirror-repo": "Automattic/jetpack-plugins-installer", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-plugins-installer/compare/v${old}...v${new}" + }, + "autotagger": true, + "textdomain": "jetpack-plugins-installer" + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Handle installation of plugins from WP.org", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-post-list", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/post-list", + "reference": "d028ad43152f1d8c9e799b259831552c6d5d2225" + }, + "require": { + "automattic/jetpack-assets": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-post-list", + "textdomain": "jetpack-post-list", + "version-constants": { + "::PACKAGE_VERSION": "src/class-post-list.php" + }, + "changelogger": { + "link-template": "https://github.com/automattic/jetpack-post-list/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.4.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Enhance the classic view of the Admin section of your WordPress site", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-publicize", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/publicize", + "reference": "d4eb5b05c8e2b8564ce93f8de8326176d6fbd93e" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-autoloader": "@dev", + "automattic/jetpack-config": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-plans": "@dev", + "automattic/jetpack-redirect": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "0.4.2", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-publicize", + "textdomain": "jetpack-publicize-pkg", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-publicize/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.36.x-dev" + } + }, + "autoload": { + "classmap": ["src/"], + "files": ["src/social-image-generator/utilities.php"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "build-development": ["pnpm run build"], + "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"], + "build-production": ["pnpm run build-production-concurrently"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Publicize makes it easy to share your site’s posts on several social media networks automatically when you publish a new post.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-redirect", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/redirect", + "reference": "41485d7ae484bbdf8cd540fe210fc8a950739e4a" + }, + "require": { + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-redirect", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-redirect/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.7.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Utilities to build URLs to the jetpack.com/redirect/ service", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-roles", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/roles", + "reference": "c3300863025c6a3f2cb1705a67ab77d2946e87dc" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-roles", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-roles/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.4.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Utilities, related with user roles and capabilities.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-search", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/search", + "reference": "f69299e3e47bb9f736f31cf3e1f65f036d9dfde2" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-config": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-my-jetpack": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "0.4.2", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-search", + "textdomain": "jetpack-search-pkg", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-search/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.38.x-dev" + }, + "version-constants": { + "::VERSION": "src/class-package.php" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "build": ["Composer\\Config::disableProcessTimeout", "pnpm run build"], + "build-development": ["pnpm run build-development"], + "build-production": ["pnpm run build-production"], + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-js": ["pnpm run test"], + "test-php": ["@composer phpunit"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Tools to assist with enabling cloud search for Jetpack sites.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-stats", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/stats", + "reference": "a904c2760d51bdc5cf7a74d94f5dce864ad91bed" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-stats", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-stats/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.6.x-dev" + }, + "textdomain": "jetpack-stats" + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Collect valuable traffic stats and insights.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-stats-admin", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/stats-admin", + "reference": "19d4faeda9ea583a365db86e92e7d26ca73d4415" + }, + "require": { + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-jitm": "@dev", + "automattic/jetpack-plans": "@dev", + "automattic/jetpack-stats": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-stats-admin", + "branch-alias": { + "dev-trunk": "0.12.x-dev" + }, + "textdomain": "jetpack-stats-admin", + "version-constants": { + "::VERSION": "src/class-main.php" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "build-production": ["echo 'Add your build step to composer.json, please!'"], + "build-development": ["echo 'Add your build step to composer.json, please!'"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Stats Dashboard", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-status", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/status", + "reference": "f7cb46ce4ddb975b79fd27163da1a908888322d6" + }, + "require": { + "automattic/jetpack-constants": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/jetpack-ip": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-status", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-status/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.18.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Used to retrieve information about the current status of Jetpack and the site overall.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-sync", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/sync", + "reference": "52f24108a1066efeb6d1a214fd2d40f286631539" + }, + "require": { + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-identity-crisis": "@dev", + "automattic/jetpack-ip": "@dev", + "automattic/jetpack-password-checker": "@dev", + "automattic/jetpack-roles": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-sync", + "textdomain": "jetpack-sync", + "version-constants": { + "::PACKAGE_VERSION": "src/class-package-version.php" + }, + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.56.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Everything needed to allow syncing to the WP.com infrastructure.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-videopress", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/videopress", + "reference": "5f37a24f44baeeb237537d9b899007d8014b42c3" + }, + "require": { + "automattic/jetpack-admin-ui": "@dev", + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-plans": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-videopress", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-videopress/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.15.x-dev" + }, + "version-constants": { + "::PACKAGE_VERSION": "src/class-package-version.php" + }, + "textdomain": "jetpack-videopress-pkg" + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "test-js": ["pnpm run test"], + "build-production": ["NODE_ENV=production BABEL_ENV=production pnpm run build"], + "build-development": ["pnpm run build"], + "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] + }, + "license": ["GPL-2.0-or-later"], + "description": "VideoPress package", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-waf", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/waf", + "reference": "cbb27b249e7c79ba0d70f7d190e584b0d286440d" + }, + "require": { + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-ip": "@dev", + "automattic/jetpack-status": "@dev", + "wikimedia/aho-corasick": "^1.0" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-waf", + "textdomain": "jetpack-waf", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-waf/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.11.x-dev" + } + }, + "autoload": { + "files": ["cli.php"], + "classmap": ["src/"] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --configuration tests/php/integration/phpunit.xml.dist --colors=always", + "./vendor/phpunit/phpunit/phpunit --configuration tests/php/unit/phpunit.xml.dist --colors=always" + ], + "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], + "test-coverage-html": [ + "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/integration/phpunit.xml.dist", + "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/unit/phpunit.xml.dist" + ], + "test-php": ["@composer phpunit"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Tools to assist with the Jetpack Web Application Firewall", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-wordads", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/wordads", + "reference": "ea2e71b8dd1d509f1a34a3b01dfcf42d6d8673b8" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-config": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "mirror-repo": "Automattic/jetpack-wordads", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-wordads/compare/v${old}...v${new}" + }, + "autotagger": true, + "branch-alias": { + "dev-trunk": "0.2.x-dev" + }, + "textdomain": "jetpack-wordads", + "version-constants": { + "::VERSION": "src/class-package.php" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "scripts": { + "build": ["Composer\\Config::disableProcessTimeout", "pnpm run build"], + "build-development": ["pnpm run build-development"], + "build-production": ["pnpm run build-production"], + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-js": ["pnpm run test"], + "test-php": ["@composer phpunit"], + "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"] + }, + "license": ["GPL-2.0-or-later"], + "description": "Earn income by allowing Jetpack to display high quality ads.", + "transport-options": { + "relative": true + } + }, + { + "name": "nojimage/twitter-text-php", + "version": "v3.1.2", + "source": { + "type": "git", + "url": "https://github.com/nojimage/twitter-text-php.git", + "reference": "979bcf6a92d543b61588c7c0c0a87d0eb473d8f6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nojimage/twitter-text-php/zipball/979bcf6a92d543b61588c7c0c0a87d0eb473d8f6", + "reference": "979bcf6a92d543b61588c7c0c0a87d0eb473d8f6", + "shasum": "" + }, + "require": { + "ext-intl": "*", + "ext-mbstring": "*", + "php": ">=5.3.3" + }, + "require-dev": { + "ext-json": "*", + "phpunit/phpunit": "4.8.*|5.7.*|6.5.*", + "symfony/yaml": "^2.6.0|^3.4.0|^4.4.0|^5.0.0", + "twitter/twitter-text": "^3.0.0" + }, + "type": "library", + "autoload": { + "psr-0": { + "Twitter\\Text\\": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["Apache-2.0"], + "authors": [ + { + "name": "Matt Sanford", + "email": "matt@mzsanford.com", + "homepage": "http://mzsanford.com" + }, + { + "name": "Mike Cochrane", + "email": "mikec@mikenz.geek.nz", + "homepage": "http://mikenz.geek.nz" + }, + { + "name": "Nick Pope", + "email": "git@nickpope.me.uk", + "homepage": "http://www.nickpope.me.uk" + }, + { + "name": "Takashi Nojima", + "homepage": "http://php-tips.com" + } + ], + "description": "A library of PHP classes that provide auto-linking and extraction of usernames, lists, hashtags and URLs from tweets.", + "homepage": "https://github.com/nojimage/twitter-text-php", + "keywords": ["autolink", "extract", "text", "twitter"], + "support": { + "issues": "https://github.com/nojimage/twitter-text-php/issues", + "source": "https://github.com/nojimage/twitter-text-php/tree/v3.1.2" + }, + "time": "2021-03-18T11:38:53+00:00" + }, + { + "name": "wikimedia/aho-corasick", + "version": "v1.0.1", + "source": { + "type": "git", + "url": "https://github.com/wikimedia/AhoCorasick.git", + "reference": "2f3a1bd765913637a66eade658d11d82f0e551be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wikimedia/AhoCorasick/zipball/2f3a1bd765913637a66eade658d11d82f0e551be", + "reference": "2f3a1bd765913637a66eade658d11d82f0e551be", + "shasum": "" + }, + "require": { + "php": ">=5.5.9" + }, + "require-dev": { + "jakub-onderka/php-console-highlighter": "0.3.2", + "jakub-onderka/php-parallel-lint": "1.0.0", + "mediawiki/mediawiki-codesniffer": "18.0.0", + "mediawiki/minus-x": "0.3.1", + "phpunit/phpunit": "4.8.36 || ^6.5" + }, + "type": "library", + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["Apache-2.0"], + "authors": [ + { + "name": "Ori Livneh", + "email": "ori@wikimedia.org" + } + ], + "description": "An implementation of the Aho-Corasick string matching algorithm.", + "homepage": "https://gerrit.wikimedia.org/g/AhoCorasick", + "keywords": ["ahocorasick", "matcher"], + "support": { + "source": "https://github.com/wikimedia/AhoCorasick/tree/v1.0.1" + }, + "time": "2018-05-01T18:13:32+00:00" + } + ], + "packages-dev": [ + { + "name": "antecedent/patchwork", + "version": "2.1.25", + "source": { + "type": "git", + "url": "https://github.com/antecedent/patchwork.git", + "reference": "17314e042d45e0dacb0a494c2d1ef50e7621136a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/antecedent/patchwork/zipball/17314e042d45e0dacb0a494c2d1ef50e7621136a", + "reference": "17314e042d45e0dacb0a494c2d1ef50e7621136a", + "shasum": "" + }, + "require": { + "php": ">=5.4.0" + }, + "require-dev": { + "phpunit/phpunit": ">=4" + }, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "Ignas Rudaitis", + "email": "ignas.rudaitis@gmail.com" + } + ], + "description": "Method redefinition (monkey-patching) functionality for PHP.", + "homepage": "http://patchwork2.org/", + "keywords": [ + "aop", + "aspect", + "interception", + "monkeypatching", + "redefinition", + "runkit", + "testing" + ], + "support": { + "issues": "https://github.com/antecedent/patchwork/issues", + "source": "https://github.com/antecedent/patchwork/tree/2.1.25" + }, + "time": "2023-02-19T12:51:24+00:00" + }, + { + "name": "automattic/jetpack-changelogger", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/changelogger", + "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1" + }, + "require": { + "php": ">=5.6", + "symfony/console": "^3.4 || ^5.2 || ^6.0", + "symfony/process": "^3.4 || ^5.2 || ^6.0", + "wikimedia/at-ease": "^1.2 || ^2.0" + }, + "require-dev": { + "wikimedia/testing-access-wrapper": "^1.0 || ^2.0", + "yoast/phpunit-polyfills": "1.1.0" + }, + "bin": ["bin/changelogger"], + "type": "project", + "extra": { + "autotagger": true, + "branch-alias": { + "dev-trunk": "3.3.x-dev" + }, + "mirror-repo": "Automattic/jetpack-changelogger", + "version-constants": { + "::VERSION": "src/Application.php" + }, + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-changelogger/compare/${old}...${new}" + } + }, + "autoload": { + "psr-4": { + "Automattic\\Jetpack\\Changelogger\\": "src", + "Automattic\\Jetpack\\Changelog\\": "lib" + } + }, + "autoload-dev": { + "psr-4": { + "Automattic\\Jetpack\\Changelogger\\Tests\\": "tests/php/includes/src", + "Automattic\\Jetpack\\Changelog\\Tests\\": "tests/php/includes/lib" + } + }, + "scripts": { + "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], + "test-php": ["@composer phpunit"], + "post-install-cmd": [ + "[ -e vendor/bin/changelogger ] || { cd vendor/bin && ln -s ../../bin/changelogger; }" + ], + "post-update-cmd": [ + "[ -e vendor/bin/changelogger ] || { cd vendor/bin && ln -s ../../bin/changelogger; }" + ] + }, + "license": ["GPL-2.0-or-later"], + "description": "Jetpack Changelogger tool. Allows for managing changelogs by dropping change files into a changelog directory with each PR.", + "keywords": ["changelog", "cli", "dev", "keepachangelog"], + "transport-options": { + "relative": true + } + }, + { + "name": "doctrine/instantiator", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "doctrine/coding-standard": "^11", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^1.2", + "phpstan/phpstan": "^1.9.4", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5.27", + "vimeo/psalm": "^5.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": ["constructor", "instantiate"], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/2.0.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2022-12-30T00:23:10+00:00" + }, + { + "name": "johnkary/phpunit-speedtrap", + "version": "v4.0.1", + "source": { + "type": "git", + "url": "https://github.com/johnkary/phpunit-speedtrap.git", + "reference": "d6600d2218396b78856c335f83479503957a5fa9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/johnkary/phpunit-speedtrap/zipball/d6600d2218396b78856c335f83479503957a5fa9", + "reference": "d6600d2218396b78856c335f83479503957a5fa9", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "psr-4": { + "JohnKary\\PHPUnit\\Listener\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "John Kary", + "email": "john@johnkary.net" + } + ], + "description": "Find and report on slow tests in your PHPUnit test suite", + "homepage": "https://github.com/johnkary/phpunit-speedtrap", + "keywords": ["phpunit", "profile", "slow"], + "support": { + "issues": "https://github.com/johnkary/phpunit-speedtrap/issues", + "source": "https://github.com/johnkary/phpunit-speedtrap/tree/v4.0.1" + }, + "time": "2022-10-17T00:56:56+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.11.1", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" + }, + "require-dev": { + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" + }, + "type": "library", + "autoload": { + "files": ["src/DeepCopy/deep_copy.php"], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "description": "Create deep copies (clones) of your objects", + "keywords": ["clone", "copy", "duplicate", "object", "object graph"], + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2023-03-08T13:26:56+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v4.17.1", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=7.0" + }, + "require-dev": { + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + }, + "bin": ["bin/php-parse"], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": ["parser", "php"], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" + }, + "time": "2023-08-13T19:53:39+00:00" + }, + { + "name": "phar-io/manifest", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/phar-io/manifest.git", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "support": { + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/2.0.3" + }, + "time": "2021-07-20T11:28:43+00:00" + }, + { + "name": "phar-io/version", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.2.1" + }, + "time": "2022-02-21T01:04:05+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "9.2.27", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "b0a88255cb70d52653d80c890bd7f38740ea50d1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/b0a88255cb70d52653d80c890bd7f38740ea50d1", + "reference": "b0a88255cb70d52653d80c890bd7f38740ea50d1", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "ext-xmlwriter": "*", + "nikic/php-parser": "^4.15", + "php": ">=7.3", + "phpunit/php-file-iterator": "^3.0.3", + "phpunit/php-text-template": "^2.0.2", + "sebastian/code-unit-reverse-lookup": "^2.0.2", + "sebastian/complexity": "^2.0", + "sebastian/environment": "^5.1.2", + "sebastian/lines-of-code": "^1.0.3", + "sebastian/version": "^3.0.1", + "theseer/tokenizer": "^1.2.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcov": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.2-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": ["coverage", "testing", "xunit"], + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.27" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-07-26T13:44:30+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "3.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": ["filesystem", "iterator"], + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-12-02T12:48:52+00:00" + }, + { + "name": "phpunit/php-invoker", + "version": "3.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "ext-pcntl": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcntl": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", + "keywords": ["process"], + "support": { + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:58:55+00:00" + }, + { + "name": "phpunit/php-text-template", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": ["template"], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T05:33:50+00:00" + }, + { + "name": "phpunit/php-timer", + "version": "5.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": ["timer"], + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:16:10+00:00" + }, + { + "name": "phpunit/phpunit", + "version": "9.6.11", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "810500e92855eba8a7a5319ae913be2da6f957b0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/810500e92855eba8a7a5319ae913be2da6f957b0", + "reference": "810500e92855eba8a7a5319ae913be2da6f957b0", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.3.1 || ^2", + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.10.1", + "phar-io/manifest": "^2.0.3", + "phar-io/version": "^3.0.2", + "php": ">=7.3", + "phpunit/php-code-coverage": "^9.2.13", + "phpunit/php-file-iterator": "^3.0.5", + "phpunit/php-invoker": "^3.1.1", + "phpunit/php-text-template": "^2.0.3", + "phpunit/php-timer": "^5.0.2", + "sebastian/cli-parser": "^1.0.1", + "sebastian/code-unit": "^1.0.6", + "sebastian/comparator": "^4.0.8", + "sebastian/diff": "^4.0.3", + "sebastian/environment": "^5.1.3", + "sebastian/exporter": "^4.0.5", + "sebastian/global-state": "^5.0.1", + "sebastian/object-enumerator": "^4.0.3", + "sebastian/resource-operations": "^3.0.3", + "sebastian/type": "^3.2", + "sebastian/version": "^3.0.2" + }, + "suggest": { + "ext-soap": "To be able to generate mocks based on WSDL files", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" + }, + "bin": ["phpunit"], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.6-dev" + } + }, + "autoload": { + "files": ["src/Framework/Assert/Functions.php"], + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": ["phpunit", "testing", "xunit"], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.11" + }, + "funding": [ + { + "url": "https://phpunit.de/sponsors.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" + } + ], + "time": "2023-08-19T07:10:56+00:00" + }, + { + "name": "psr/container", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "shasum": "" + }, + "require": { + "php": ">=7.4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": ["PSR-11", "container", "container-interface", "container-interop", "psr"], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/2.0.2" + }, + "time": "2021-11-05T16:47:00+00:00" + }, + { + "name": "sebastian/cli-parser", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", + "support": { + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:08:49+00:00" + }, + { + "name": "sebastian/code-unit", + "version": "1.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:08:54+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:30:19+00:00" + }, + { + "name": "sebastian/comparator", + "version": "4.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/diff": "^4.0", + "sebastian/exporter": "^4.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", + "keywords": ["comparator", "compare", "equality"], + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-09-14T12:41:17+00:00" + }, + { + "name": "sebastian/complexity", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/complexity.git", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.7", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for calculating the complexity of PHP code units", + "homepage": "https://github.com/sebastianbergmann/complexity", + "support": { + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T15:52:27+00:00" + }, + { + "name": "sebastian/diff", + "version": "4.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": ["diff", "udiff", "unidiff", "unified diff"], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-05-07T05:35:17+00:00" + }, + { + "name": "sebastian/environment", + "version": "5.1.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-posix": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.1-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "http://www.github.com/sebastianbergmann/environment", + "keywords": ["Xdebug", "environment", "hhvm"], + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:03:51+00:00" + }, + { + "name": "sebastian/exporter", + "version": "4.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-mbstring": "*", + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "https://www.github.com/sebastianbergmann/exporter", + "keywords": ["export", "exporter"], + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-09-14T06:03:37+00:00" + }, + { + "name": "sebastian/global-state", + "version": "5.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "bde739e7565280bda77be70044ac1047bc007e34" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", + "reference": "bde739e7565280bda77be70044ac1047bc007e34", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-dom": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-uopz": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": ["global state"], + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-08-02T09:26:13+00:00" + }, + { + "name": "sebastian/lines-of-code", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.6", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for counting the lines of code in PHP source code", + "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "support": { + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-28T06:42:11+00:00" + }, + { + "name": "sebastian/object-enumerator", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:12:34+00:00" + }, + { + "name": "sebastian/object-reflector", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:14:26+00:00" + }, + { + "name": "sebastian/recursion-context", + "version": "4.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "https://github.com/sebastianbergmann/recursion-context", + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:07:39+00:00" + }, + { + "name": "sebastian/resource-operations", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "support": { + "issues": "https://github.com/sebastianbergmann/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:45:17+00:00" + }, + { + "name": "sebastian/type", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.2-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", + "support": { + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:13:03+00:00" + }, + { + "name": "sebastian/version", + "version": "3.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c6c1022351a901512170118436c764e473f6de8c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:39:44+00:00" + }, + { + "name": "symfony/console", + "version": "v6.3.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "aa5d64ad3f63f2e48964fc81ee45cb318a723898" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/aa5d64ad3f63f2e48964fc81ee45cb318a723898", + "reference": "aa5d64ad3f63f2e48964fc81ee45cb318a723898", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/string": "^5.4|^6.0" + }, + "conflict": { + "symfony/dependency-injection": "<5.4", + "symfony/dotenv": "<5.4", + "symfony/event-dispatcher": "<5.4", + "symfony/lock": "<5.4", + "symfony/process": "<5.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/lock": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/var-dumper": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": ["/Tests/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Eases the creation of beautiful and testable command line interfaces", + "homepage": "https://symfony.com", + "keywords": ["cli", "command-line", "console", "terminal"], + "support": { + "source": "https://github.com/symfony/console/tree/v6.3.2" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-07-19T20:17:28+00:00" + }, + { + "name": "symfony/deprecation-contracts", + "version": "v3.3.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", + "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.4-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": ["function.php"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.3.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-05-23T14:45:45+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.27.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-ctype": "*" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": ["bootstrap.php"], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": ["compatibility", "ctype", "polyfill", "portable"], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-11-03T14:55:06+00:00" + }, + { + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.27.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "511a08c03c1960e08a883f4cffcacd219b758354" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", + "reference": "511a08c03c1960e08a883f4cffcacd219b758354", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": ["bootstrap.php"], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's grapheme_* functions", + "homepage": "https://symfony.com", + "keywords": ["compatibility", "grapheme", "intl", "polyfill", "portable", "shim"], + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-11-03T14:55:06+00:00" + }, + { + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.27.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": ["bootstrap.php"], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "classmap": ["Resources/stubs"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's Normalizer class and related functions", + "homepage": "https://symfony.com", + "keywords": ["compatibility", "intl", "normalizer", "polyfill", "portable", "shim"], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-11-03T14:55:06+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.27.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-mbstring": "*" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": ["bootstrap.php"], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": ["compatibility", "mbstring", "polyfill", "portable", "shim"], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-11-03T14:55:06+00:00" + }, + { + "name": "symfony/process", + "version": "v6.3.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "c5ce962db0d9b6e80247ca5eb9af6472bd4d7b5d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/c5ce962db0d9b6e80247ca5eb9af6472bd4d7b5d", + "reference": "c5ce962db0d9b6e80247ca5eb9af6472bd4d7b5d", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": ["/Tests/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Executes commands in sub-processes", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/process/tree/v6.3.2" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-07-12T16:00:22+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v3.3.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", + "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/container": "^2.0" + }, + "conflict": { + "ext-psr": "<1.1|>=2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.4-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + }, + "exclude-from-classmap": ["/Test/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/service-contracts/tree/v3.3.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-05-23T14:45:45+00:00" + }, + { + "name": "symfony/string", + "version": "v6.3.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/string.git", + "reference": "53d1a83225002635bca3482fcbf963001313fb68" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/string/zipball/53d1a83225002635bca3482fcbf963001313fb68", + "reference": "53d1a83225002635bca3482fcbf963001313fb68", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/translation-contracts": "<2.5" + }, + "require-dev": { + "symfony/error-handler": "^5.4|^6.0", + "symfony/http-client": "^5.4|^6.0", + "symfony/intl": "^6.2", + "symfony/translation-contracts": "^2.5|^3.0", + "symfony/var-exporter": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "files": ["Resources/functions.php"], + "psr-4": { + "Symfony\\Component\\String\\": "" + }, + "exclude-from-classmap": ["/Tests/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["MIT"], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "homepage": "https://symfony.com", + "keywords": ["grapheme", "i18n", "string", "unicode", "utf-8", "utf8"], + "support": { + "source": "https://github.com/symfony/string/tree/v6.3.2" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-07-05T08:41:27+00:00" + }, + { + "name": "theseer/tokenizer", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/theseer/tokenizer.git", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": ["src/"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + } + ], + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "support": { + "issues": "https://github.com/theseer/tokenizer/issues", + "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2021-07-28T10:34:58+00:00" + }, + { + "name": "wikimedia/at-ease", + "version": "v2.1.0", + "source": { + "type": "git", + "url": "https://github.com/wikimedia/at-ease.git", + "reference": "e8ebaa7bb7c8a8395481a05f6dc4deaceab11c33" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wikimedia/at-ease/zipball/e8ebaa7bb7c8a8395481a05f6dc4deaceab11c33", + "reference": "e8ebaa7bb7c8a8395481a05f6dc4deaceab11c33", + "shasum": "" + }, + "require": { + "php": ">=7.2.9" + }, + "require-dev": { + "mediawiki/mediawiki-codesniffer": "35.0.0", + "mediawiki/minus-x": "1.1.1", + "ockcyp/covers-validator": "1.3.3", + "php-parallel-lint/php-console-highlighter": "0.5.0", + "php-parallel-lint/php-parallel-lint": "1.2.0", + "phpunit/phpunit": "^8.5" + }, + "type": "library", + "autoload": { + "files": ["src/Wikimedia/Functions.php"], + "psr-4": { + "Wikimedia\\AtEase\\": "src/Wikimedia/AtEase/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["GPL-2.0-or-later"], + "authors": [ + { + "name": "Tim Starling", + "email": "tstarling@wikimedia.org" + }, + { + "name": "MediaWiki developers", + "email": "wikitech-l@lists.wikimedia.org" + } + ], + "description": "Safe replacement to @ for suppressing warnings.", + "homepage": "https://www.mediawiki.org/wiki/at-ease", + "support": { + "source": "https://github.com/wikimedia/at-ease/tree/v2.1.0" + }, + "time": "2021-02-27T15:53:37+00:00" + }, + { + "name": "yoast/phpunit-polyfills", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/Yoast/PHPUnit-Polyfills.git", + "reference": "224e4a1329c03d8bad520e3fc4ec980034a4b212" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/224e4a1329c03d8bad520e3fc4ec980034a4b212", + "reference": "224e4a1329c03d8bad520e3fc4ec980034a4b212", + "shasum": "" + }, + "require": { + "php": ">=5.4", + "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0" + }, + "require-dev": { + "yoast/yoastcs": "^2.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.x-dev" + } + }, + "autoload": { + "files": ["phpunitpolyfills-autoload.php"] + }, + "notification-url": "https://packagist.org/downloads/", + "license": ["BSD-3-Clause"], + "authors": [ + { + "name": "Team Yoast", + "email": "support@yoast.com", + "homepage": "https://yoast.com" + }, + { + "name": "Contributors", + "homepage": "https://github.com/Yoast/PHPUnit-Polyfills/graphs/contributors" + } + ], + "description": "Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests", + "homepage": "https://github.com/Yoast/PHPUnit-Polyfills", + "keywords": ["phpunit", "polyfill", "testing"], + "support": { + "issues": "https://github.com/Yoast/PHPUnit-Polyfills/issues", + "source": "https://github.com/Yoast/PHPUnit-Polyfills" + }, + "time": "2023-08-19T14:25:08+00:00" + } + ], + "aliases": [], + "minimum-stability": "dev", + "stability-flags": { + "automattic/jetpack-a8c-mc-stats": 20, + "automattic/jetpack-abtest": 20, + "automattic/jetpack-action-bar": 20, + "automattic/jetpack-admin-ui": 20, + "automattic/jetpack-assets": 20, + "automattic/jetpack-autoloader": 20, + "automattic/jetpack-backup": 20, + "automattic/jetpack-blaze": 20, + "automattic/jetpack-blocks": 20, + "automattic/jetpack-boost-speed-score": 20, + "automattic/jetpack-compat": 20, + "automattic/jetpack-composer-plugin": 20, + "automattic/jetpack-config": 20, + "automattic/jetpack-connection": 20, + "automattic/jetpack-constants": 20, + "automattic/jetpack-device-detection": 20, + "automattic/jetpack-error": 20, + "automattic/jetpack-forms": 20, + "automattic/jetpack-google-fonts-provider": 20, + "automattic/jetpack-identity-crisis": 20, + "automattic/jetpack-image-cdn": 20, + "automattic/jetpack-import": 20, + "automattic/jetpack-ip": 20, + "automattic/jetpack-jitm": 20, + "automattic/jetpack-lazy-images": 20, + "automattic/jetpack-licensing": 20, + "automattic/jetpack-logo": 20, + "automattic/jetpack-my-jetpack": 20, + "automattic/jetpack-partner": 20, + "automattic/jetpack-plugins-installer": 20, + "automattic/jetpack-post-list": 20, + "automattic/jetpack-publicize": 20, + "automattic/jetpack-redirect": 20, + "automattic/jetpack-roles": 20, + "automattic/jetpack-search": 20, + "automattic/jetpack-stats": 20, + "automattic/jetpack-stats-admin": 20, + "automattic/jetpack-status": 20, + "automattic/jetpack-sync": 20, + "automattic/jetpack-videopress": 20, + "automattic/jetpack-waf": 20, + "automattic/jetpack-wordads": 20, + "automattic/jetpack-changelogger": 20 + }, + "prefer-stable": true, + "prefer-lowest": false, + "platform": { + "ext-fileinfo": "*", + "ext-json": "*", + "ext-openssl": "*" + }, + "platform-dev": [], + "platform-overrides": { + "ext-intl": "0.0.0" + }, + "plugin-api-version": "2.3.0" } From cf23389260b9fc41d7505b1526e8fcf6e69c6a0c Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Tue, 29 Aug 2023 17:51:14 -0400 Subject: [PATCH 30/57] [not verified] Add tests for blocks helpers functions --- projects/packages/blocks/src/class-blocks.php | 2 +- projects/packages/blocks/tests/php/test-blocks.php | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/projects/packages/blocks/src/class-blocks.php b/projects/packages/blocks/src/class-blocks.php index ab1430ccce2af..f893d32908261 100644 --- a/projects/packages/blocks/src/class-blocks.php +++ b/projects/packages/blocks/src/class-blocks.php @@ -131,7 +131,7 @@ function () use ( $feature_name, $method_name ) { public static function get_block_metadata_from_file( $filename ) { $metadata = array(); $needle = '/block.json'; - $filename = $needle === substr( $filename, -strlen( $needle ) ) ? $filename : $filename . $needle; + $filename = $needle === substr( $filename, -strlen( $needle ) ) ? $filename : realpath( $filename . $needle ); if ( file_exists( $filename ) ) { try { diff --git a/projects/packages/blocks/tests/php/test-blocks.php b/projects/packages/blocks/tests/php/test-blocks.php index 781441c55a9d1..c032bc5834936 100644 --- a/projects/packages/blocks/tests/php/test-blocks.php +++ b/projects/packages/blocks/tests/php/test-blocks.php @@ -333,6 +333,7 @@ public function test_jetpack_register_block_with_existing_editor_style() { } /** +<<<<<<< HEAD * Test registering a block by specifying the path to its metadata file. * * @since $$next-version$$ @@ -349,6 +350,11 @@ public function test_jetpack_register_block_from_metadata_file() { * Test reading metadata from a block.json file by specifying its path. * * @since $$next-version$$ +======= + * Test reading metadata from a block.json file by specifying its path. + * + * @since 1.4.23 +>>>>>>> 62f329f578 ([not verified] Add tests for blocks helpers functions) * * @covers Automattic\Jetpack\Blocks::get_block_metadata_from_file */ From b7e70b9b2fc8791238b0a002672860da037ec234 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Tue, 29 Aug 2023 18:07:48 -0400 Subject: [PATCH 31/57] [not verified] Add test for registering block by its metadata file --- projects/packages/blocks/tests/php/test-blocks.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/projects/packages/blocks/tests/php/test-blocks.php b/projects/packages/blocks/tests/php/test-blocks.php index c032bc5834936..781441c55a9d1 100644 --- a/projects/packages/blocks/tests/php/test-blocks.php +++ b/projects/packages/blocks/tests/php/test-blocks.php @@ -333,7 +333,6 @@ public function test_jetpack_register_block_with_existing_editor_style() { } /** -<<<<<<< HEAD * Test registering a block by specifying the path to its metadata file. * * @since $$next-version$$ @@ -350,11 +349,6 @@ public function test_jetpack_register_block_from_metadata_file() { * Test reading metadata from a block.json file by specifying its path. * * @since $$next-version$$ -======= - * Test reading metadata from a block.json file by specifying its path. - * - * @since 1.4.23 ->>>>>>> 62f329f578 ([not verified] Add tests for blocks helpers functions) * * @covers Automattic\Jetpack\Blocks::get_block_metadata_from_file */ From 2887e4cbe52f898c9e54a63cf1f81f2e53d9759a Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 31 Aug 2023 17:05:09 -0400 Subject: [PATCH 32/57] [not verified] Refactor Amazon block registration --- .../extensions/blocks/amazon/amazon.php | 7 +-- .../extensions/blocks/amazon/attributes.js | 44 ------------------- .../extensions/blocks/amazon/block.json | 42 +++++++++++++++++- .../jetpack/extensions/blocks/amazon/edit.js | 5 ++- .../extensions/blocks/amazon/editor.js | 12 +++-- .../jetpack/extensions/blocks/amazon/icon.js | 11 ----- .../jetpack/extensions/blocks/amazon/index.js | 33 -------------- 7 files changed, 55 insertions(+), 99 deletions(-) delete mode 100644 projects/plugins/jetpack/extensions/blocks/amazon/attributes.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/amazon/icon.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/amazon/index.js diff --git a/projects/plugins/jetpack/extensions/blocks/amazon/amazon.php b/projects/plugins/jetpack/extensions/blocks/amazon/amazon.php index 53af15d65b29d..75590b252ef0b 100644 --- a/projects/plugins/jetpack/extensions/blocks/amazon/amazon.php +++ b/projects/plugins/jetpack/extensions/blocks/amazon/amazon.php @@ -12,9 +12,6 @@ use Automattic\Jetpack\Blocks; use Jetpack_Gutenberg; -const FEATURE_NAME = 'amazon'; -const BLOCK_NAME = 'jetpack/' . FEATURE_NAME; - /** * Registers the block for use in Gutenberg * This is done via an action so that we can disable @@ -22,7 +19,7 @@ */ function register_block() { Blocks::jetpack_register_block( - BLOCK_NAME, + Blocks::get_path_to_block_metadata( __DIR__ ), array( 'render_callback' => __NAMESPACE__ . '\load_assets' ) ); } @@ -37,6 +34,6 @@ function register_block() { * @return string */ function load_assets( $attr, $content ) { - Jetpack_Gutenberg::load_assets_as_required( FEATURE_NAME ); + Jetpack_Gutenberg::load_assets_as_required( Blocks::get_path_to_block_metadata( __DIR__ ) ); return $content; } diff --git a/projects/plugins/jetpack/extensions/blocks/amazon/attributes.js b/projects/plugins/jetpack/extensions/blocks/amazon/attributes.js deleted file mode 100644 index 822b30004a466..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/amazon/attributes.js +++ /dev/null @@ -1,44 +0,0 @@ -import colorValidator from '../../shared/colorValidator'; - -export default { - backgroundColor: { - type: 'string', - validator: colorValidator, - }, - textColor: { - type: 'string', - validator: colorValidator, - }, - buttonAndLinkColor: { - type: 'string', - validator: colorValidator, - }, - style: { - type: 'string', - default: 'small', - validValues: [ 'small', 'large' ], - }, - asin: { - type: 'string', - }, - showImage: { - default: true, - type: 'boolean', - }, - showTitle: { - default: true, - type: 'boolean', - }, - showSeller: { - default: false, - type: 'boolean', - }, - showPrice: { - default: true, - type: 'boolean', - }, - showPurchaseButton: { - default: true, - type: 'boolean', - }, -}; diff --git a/projects/plugins/jetpack/extensions/blocks/amazon/block.json b/projects/plugins/jetpack/extensions/blocks/amazon/block.json index 4a611c8560541..526ad5a0e3a1a 100644 --- a/projects/plugins/jetpack/extensions/blocks/amazon/block.json +++ b/projects/plugins/jetpack/extensions/blocks/amazon/block.json @@ -8,11 +8,49 @@ "version": "12.5.0", "textdomain": "jetpack", "category": "earn", - "icon": "amazon", + "icon": "", "supports": { "align": true, "alignWide": false, "html": false }, - "editorScript": "file:../editor-beta.js" + "attributes": { + "backgroundColor": { + "type": "string" + }, + "textColor": { + "type": "string" + }, + "buttonAndLinkColor": { + "type": "string" + }, + "style": { + "type": "string", + "default": "small", + "validValues": [ "small", "large" ] + }, + "asin": { + "type": "string" + }, + "showImage": { + "default": true, + "type": "boolean" + }, + "showTitle": { + "default": true, + "type": "boolean" + }, + "showSeller": { + "default": false, + "type": "boolean" + }, + "showPrice": { + "default": true, + "type": "boolean" + }, + "showPurchaseButton": { + "default": true, + "type": "boolean" + } + } } diff --git a/projects/plugins/jetpack/extensions/blocks/amazon/edit.js b/projects/plugins/jetpack/extensions/blocks/amazon/edit.js index e1e088962f073..033bc20a155a4 100644 --- a/projects/plugins/jetpack/extensions/blocks/amazon/edit.js +++ b/projects/plugins/jetpack/extensions/blocks/amazon/edit.js @@ -12,10 +12,13 @@ import { import { useState } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; import tinycolor from 'tinycolor2'; +import getBlockIconFromMetadata from '../../shared/get-block-icon-from-metadata'; +import metadata from './block.json'; import data from './dummy-data'; -import icon from './icon'; import './editor.scss'; +const icon = getBlockIconFromMetadata( metadata ); + function AmazonEdit( { attributes: { backgroundColor, diff --git a/projects/plugins/jetpack/extensions/blocks/amazon/editor.js b/projects/plugins/jetpack/extensions/blocks/amazon/editor.js index d7ec194d817a1..7ce5d223c6772 100644 --- a/projects/plugins/jetpack/extensions/blocks/amazon/editor.js +++ b/projects/plugins/jetpack/extensions/blocks/amazon/editor.js @@ -1,4 +1,10 @@ -import registerJetpackBlock from '../../shared/register-jetpack-block'; -import { name, settings } from '.'; +import { registerJetpackBlockFromMetadata } from '../../shared/register-jetpack-block'; +import metadata from './block.json'; +import edit from './edit'; -registerJetpackBlock( name, settings ); +import './editor.scss'; + +registerJetpackBlockFromMetadata( metadata, { + edit, + save: () => null, // TODO - add Amazon links +} ); diff --git a/projects/plugins/jetpack/extensions/blocks/amazon/icon.js b/projects/plugins/jetpack/extensions/blocks/amazon/icon.js deleted file mode 100644 index e2242c2d40d3a..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/amazon/icon.js +++ /dev/null @@ -1,11 +0,0 @@ -import { SVG, Path } from '@wordpress/components'; - -export default ( - - - -); diff --git a/projects/plugins/jetpack/extensions/blocks/amazon/index.js b/projects/plugins/jetpack/extensions/blocks/amazon/index.js deleted file mode 100644 index 605595486ae6e..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/amazon/index.js +++ /dev/null @@ -1,33 +0,0 @@ -import { __ } from '@wordpress/i18n'; -import { getIconColor } from '../../shared/block-icons'; -import attributes from './attributes'; -import edit from './edit'; -import icon from './icon'; - -import './editor.scss'; - -export const name = 'amazon'; -export const title = __( 'Amazon', 'jetpack' ); -export const settings = { - attributes, - title, - description: __( 'Promote Amazon products and earn a commission from sales.', 'jetpack' ), - icon: { - src: icon, - foreground: getIconColor(), - }, - category: 'earn', - keywords: [ __( 'amazon', 'jetpack' ), __( 'affiliate', 'jetpack' ) ], - supports: { - align: true, - alignWide: false, - html: false, - }, - edit, - save: () => null, // TODO - add Amazon links - example: { - attributes: { - // @TODO: Add default values for block attributes, for generating the block preview. - }, - }, -}; From c9d30995d5e6b5e743372f45b7af77002d7990a8 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 31 Aug 2023 17:15:17 -0400 Subject: [PATCH 33/57] [not verified] Refactor AI Chat block registration --- .../extensions/blocks/ai-chat/ai-chat.php | 7 +-- .../extensions/blocks/ai-chat/attributes.js | 1 - .../extensions/blocks/ai-chat/block.json | 4 +- .../extensions/blocks/ai-chat/editor.js | 12 +++- .../extensions/blocks/ai-chat/index.js | 55 ------------------- 5 files changed, 13 insertions(+), 66 deletions(-) delete mode 100644 projects/plugins/jetpack/extensions/blocks/ai-chat/attributes.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/ai-chat/index.js diff --git a/projects/plugins/jetpack/extensions/blocks/ai-chat/ai-chat.php b/projects/plugins/jetpack/extensions/blocks/ai-chat/ai-chat.php index 86352325e20ec..6e51d73d90829 100644 --- a/projects/plugins/jetpack/extensions/blocks/ai-chat/ai-chat.php +++ b/projects/plugins/jetpack/extensions/blocks/ai-chat/ai-chat.php @@ -12,9 +12,6 @@ use Automattic\Jetpack\Blocks; use Jetpack_Gutenberg; -const FEATURE_NAME = 'ai-chat'; -const BLOCK_NAME = 'jetpack/' . FEATURE_NAME; - /** * Registers our block for use in Gutenberg * This is done via an action so that we can disable @@ -22,7 +19,7 @@ */ function register_block() { Blocks::jetpack_register_block( - BLOCK_NAME, + Blocks::get_path_to_block_metadata( __DIR__ ), array( 'render_callback' => __NAMESPACE__ . '\load_assets' ) ); } @@ -39,7 +36,7 @@ function load_assets( $attr ) { /* * Enqueue necessary scripts and styles. */ - Jetpack_Gutenberg::load_assets_as_required( FEATURE_NAME ); + Jetpack_Gutenberg::load_assets_as_required( Blocks::get_path_to_block_metadata( __DIR__ ) ); return sprintf( '
', diff --git a/projects/plugins/jetpack/extensions/blocks/ai-chat/attributes.js b/projects/plugins/jetpack/extensions/blocks/ai-chat/attributes.js deleted file mode 100644 index ff8b4c56321a3..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/ai-chat/attributes.js +++ /dev/null @@ -1 +0,0 @@ -export default {}; diff --git a/projects/plugins/jetpack/extensions/blocks/ai-chat/block.json b/projects/plugins/jetpack/extensions/blocks/ai-chat/block.json index dd2488b5c1aaa..3dd5865c2ae8d 100644 --- a/projects/plugins/jetpack/extensions/blocks/ai-chat/block.json +++ b/projects/plugins/jetpack/extensions/blocks/ai-chat/block.json @@ -8,7 +8,7 @@ "version": "12.5.0", "textdomain": "jetpack", "category": "text", - "icon": "superhero", + "icon": "", "supports": { "align": true, "alignWide": true, @@ -18,5 +18,5 @@ "multiple": false, "reusable": false }, - "editorScript": "file:../editor-beta.js" + "attributes": {} } diff --git a/projects/plugins/jetpack/extensions/blocks/ai-chat/editor.js b/projects/plugins/jetpack/extensions/blocks/ai-chat/editor.js index d7ec194d817a1..52823640c6ba1 100644 --- a/projects/plugins/jetpack/extensions/blocks/ai-chat/editor.js +++ b/projects/plugins/jetpack/extensions/blocks/ai-chat/editor.js @@ -1,4 +1,10 @@ -import registerJetpackBlock from '../../shared/register-jetpack-block'; -import { name, settings } from '.'; +import { registerJetpackBlockFromMetadata } from '../../shared/register-jetpack-block'; +import metadata from './block.json'; +import edit from './edit'; -registerJetpackBlock( name, settings ); +import './editor.scss'; + +registerJetpackBlockFromMetadata( metadata, { + edit, + save: () => {}, +} ); diff --git a/projects/plugins/jetpack/extensions/blocks/ai-chat/index.js b/projects/plugins/jetpack/extensions/blocks/ai-chat/index.js deleted file mode 100644 index 4f5bde10aa489..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/ai-chat/index.js +++ /dev/null @@ -1,55 +0,0 @@ -import { __, _x } from '@wordpress/i18n'; -import { getIconColor } from '../../shared/block-icons'; -import attributes from './attributes'; -import edit from './edit'; - -/** - * Style dependencies - */ -import './editor.scss'; - -export const name = 'ai-chat'; -export const title = __( 'AI Chat (Experimental)', 'jetpack' ); -export const settings = { - apiVersion: 2, - title, - description: __( - 'Provides summarized chat across a site’s content, powered by AI magic.', - 'jetpack' - ), - icon: { - src: 'superhero', - foreground: getIconColor(), - }, - category: 'text', - keywords: [ - _x( 'AI', 'block search term', 'jetpack' ), - _x( 'GPT', 'block search term', 'jetpack' ), - _x( 'Chat', 'block search term', 'jetpack' ), - _x( 'Search', 'block search term', 'jetpack' ), - ], - supports: { - // Support for block's alignment (left, center, right, wide, full). When true, it adds block controls to change block’s alignment. - align: true /* if set to true, the 'align' option below can be used*/, - // Pick which alignment options to display. - /*align: [ 'left', 'right', 'full' ],*/ - // Support for wide alignment, that requires additional support in themes. - alignWide: true, - // When true, a new field in the block sidebar allows to define a custom className for the block’s wrapper. - customClassName: true, - // When false, Gutenberg won't add a class like .wp-block-your-block-name to the root element of your saved markup - className: true, - // Setting this to false suppress the ability to edit a block’s markup individually. We often set this to false in Jetpack blocks. - html: false, - // Passing false hides this block in Gutenberg's visual inserter. - /*inserter: true,*/ - // When false, user will only be able to insert the block once per post. - multiple: false, - // When false, the block won't be available to be converted into a reusable block. - reusable: false, - }, - edit, - save: () => {}, - attributes, - example: {}, -}; From dcbba90ab1c6ee1d57e8f9fcd5b4a98fa2a3ab88 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 31 Aug 2023 17:28:30 -0400 Subject: [PATCH 34/57] [not verified] Refactor Blogroll block registration --- .../extensions/blocks/blogroll/attributes.js | 33 -------- .../extensions/blocks/blogroll/block.json | 25 +++++- .../extensions/blocks/blogroll/blogroll.php | 21 +---- .../extensions/blocks/blogroll/edit.js | 2 +- .../extensions/blocks/blogroll/editor.js | 29 +++++-- .../extensions/blocks/blogroll/icon.js | 13 ---- .../extensions/blocks/blogroll/index.js | 77 ------------------- 7 files changed, 48 insertions(+), 152 deletions(-) delete mode 100644 projects/plugins/jetpack/extensions/blocks/blogroll/attributes.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/blogroll/icon.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/blogroll/index.js diff --git a/projects/plugins/jetpack/extensions/blocks/blogroll/attributes.js b/projects/plugins/jetpack/extensions/blocks/blogroll/attributes.js deleted file mode 100644 index c3e7cc39d5126..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/blogroll/attributes.js +++ /dev/null @@ -1,33 +0,0 @@ -export default { - recommendations: { - type: 'array', - items: { - type: 'object', - }, - default: [], - }, - show_avatar: { - type: 'boolean', - default: true, - }, - show_description: { - type: 'boolean', - default: true, - }, - show_subscribe_button: { - type: 'boolean', - default: true, - }, - open_links_new_window: { - type: 'boolean', - default: true, - }, - ignore_user_blogs: { - type: 'boolean', - default: true, - }, - load_placeholders: { - type: 'boolean', - default: true, - }, -}; diff --git a/projects/plugins/jetpack/extensions/blocks/blogroll/block.json b/projects/plugins/jetpack/extensions/blocks/blogroll/block.json index 410dc7ac3587e..b2a44c68988d2 100644 --- a/projects/plugins/jetpack/extensions/blocks/blogroll/block.json +++ b/projects/plugins/jetpack/extensions/blocks/blogroll/block.json @@ -39,10 +39,29 @@ }, "default": [] }, + "show_avatar": { + "type": "boolean", + "default": true + }, + "show_description": { + "type": "boolean", + "default": true + }, + "show_subscribe_button": { + "type": "boolean", + "default": true + }, + "open_links_new_window": { + "type": "boolean", + "default": true + }, "ignore_user_blogs": { "type": "boolean", - "default": false + "default": true + }, + "load_placeholders": { + "type": "boolean", + "default": true } - }, - "editorScript": "file:../editor-beta.js" + } } diff --git a/projects/plugins/jetpack/extensions/blocks/blogroll/blogroll.php b/projects/plugins/jetpack/extensions/blocks/blogroll/blogroll.php index 04f96bd720181..bdbcdd3232c05 100644 --- a/projects/plugins/jetpack/extensions/blocks/blogroll/blogroll.php +++ b/projects/plugins/jetpack/extensions/blocks/blogroll/blogroll.php @@ -14,9 +14,6 @@ use Automattic\Jetpack\Blocks; use Jetpack_Gutenberg; -const FEATURE_NAME = 'blogroll'; -const BLOCK_NAME = 'jetpack/' . FEATURE_NAME; - /** * Registers the block for use in Gutenberg * This is done via an action so that we can disable @@ -24,23 +21,9 @@ */ function register_block() { Blocks::jetpack_register_block( - BLOCK_NAME, + Blocks::get_path_to_block_metadata( __DIR__ ), array( 'render_callback' => __NAMESPACE__ . '\load_assets', - 'supports' => array( - 'color' => array( - 'gradients' => true, - 'link' => true, - ), - 'spacing' => array( - 'margin' => true, - 'padding' => true, - ), - 'typography' => array( - 'fontSize' => true, - 'lineHeight' => true, - ), - ), ) ); } @@ -58,7 +41,7 @@ function load_assets( $attr, $content ) { /* * Enqueue necessary scripts and styles. */ - Jetpack_Gutenberg::load_assets_as_required( FEATURE_NAME ); + Jetpack_Gutenberg::load_assets_as_required( Blocks::get_path_to_block_metadata( __DIR__ ) ); $wrapper_attributes = \WP_Block_Supports::get_instance()->apply_block_supports(); $placeholder_icon = ''; diff --git a/projects/plugins/jetpack/extensions/blocks/blogroll/edit.js b/projects/plugins/jetpack/extensions/blocks/blogroll/edit.js index 3e5fb461697e2..f15956ae89e3f 100644 --- a/projects/plugins/jetpack/extensions/blocks/blogroll/edit.js +++ b/projects/plugins/jetpack/extensions/blocks/blogroll/edit.js @@ -1,6 +1,7 @@ import { InspectorControls, useBlockProps, InnerBlocks } from '@wordpress/block-editor'; import { PanelBody, ToggleControl } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; + import './editor.scss'; export function BlogRollEdit( { className, attributes, setAttributes } ) { @@ -11,7 +12,6 @@ export function BlogRollEdit( { className, attributes, setAttributes } ) { open_links_new_window, ignore_user_blogs, } = attributes; - const DEFAULT_TEMPLATE = [ [ 'core/heading', { content: __( 'Blogroll', 'jetpack' ), level: 3 } ], [ 'jetpack/blogroll-item', {} ], diff --git a/projects/plugins/jetpack/extensions/blocks/blogroll/editor.js b/projects/plugins/jetpack/extensions/blocks/blogroll/editor.js index af5873fd3f963..724e9f6c09776 100644 --- a/projects/plugins/jetpack/extensions/blocks/blogroll/editor.js +++ b/projects/plugins/jetpack/extensions/blocks/blogroll/editor.js @@ -1,13 +1,30 @@ -import registerJetpackBlock from '../../shared/register-jetpack-block'; +import { InnerBlocks } from '@wordpress/block-editor'; +import { registerJetpackBlockFromMetadata } from '../../shared/register-jetpack-block'; +import metadata from './block.json'; import { name as blogRollItemBlockName, settings as blogRollItemBlockSettings, } from './blogroll-item'; -import { name, settings } from '.'; +import edit from './edit'; -registerJetpackBlock( name, settings, [ +import './editor.scss'; + +registerJetpackBlockFromMetadata( + metadata, { - name: blogRollItemBlockName, - settings: blogRollItemBlockSettings, + edit, + save: () => , + providesContext: { + showAvatar: 'show_avatar', + showDescription: 'show_description', + showSubscribeButton: 'show_subscribe_button', + openLinksNewWindow: 'open_links_new_window', + }, }, -] ); + [ + { + name: blogRollItemBlockName, + settings: blogRollItemBlockSettings, + }, + ] +); diff --git a/projects/plugins/jetpack/extensions/blocks/blogroll/icon.js b/projects/plugins/jetpack/extensions/blocks/blogroll/icon.js deleted file mode 100644 index 062079fa40093..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/blogroll/icon.js +++ /dev/null @@ -1,13 +0,0 @@ -import { SVG, Path } from '@wordpress/components'; - -export default ( - - - - - -); diff --git a/projects/plugins/jetpack/extensions/blocks/blogroll/index.js b/projects/plugins/jetpack/extensions/blocks/blogroll/index.js deleted file mode 100644 index 8261e6e52b826..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/blogroll/index.js +++ /dev/null @@ -1,77 +0,0 @@ -import { InnerBlocks } from '@wordpress/block-editor'; -import { __ } from '@wordpress/i18n'; -import { getIconColor } from '../../shared/block-icons'; -import attributes from './attributes'; -import edit from './edit'; -import icon from './icon'; - -/** - * Style dependencies - */ -import './editor.scss'; - -export const name = 'blogroll'; -export const title = __( 'Blogroll', 'jetpack' ); -export const description = __( - 'Select the sites you follow and share them with your users.', - 'jetpack' -); - -export const settings = { - title, - description, - icon: { - src: icon, - foreground: getIconColor(), - }, - category: 'grow', - keywords: [], - supports: { - // Support for block's alignment (left, center, right, wide, full). When true, it adds block controls to change block’s alignment. - align: false /* if set to true, the 'align' option below can be used*/, - // Pick which alignment options to display. - /*align: [ 'left', 'right', 'full' ],*/ - // Support for wide alignment, that requires additional support in themes. - alignWide: true, - // When true, a new field in the block sidebar allows to define an id for the block and a button to copy the direct link. - anchor: false, - // When true, a new field in the block sidebar allows to define a custom className for the block’s wrapper. - customClassName: true, - // When false, Gutenberg won't add a class like .wp-block-your-block-name to the root element of your saved markup - className: true, - // Setting this to false suppress the ability to edit a block’s markup individually. We often set this to false in Jetpack blocks. - html: false, - // Passing false hides this block in Gutenberg's visual inserter. - /*inserter: true,*/ - // When false, user will only be able to insert the block once per post. - multiple: true, - // When false, the block won't be available to be converted into a reusable block. - reusable: true, - color: { - link: true, - gradients: true, - }, - spacing: { - padding: true, - margin: true, - }, - typography: { - fontSize: true, - lineHeight: true, - }, - }, - edit, - save: () => , - attributes, - providesContext: { - showAvatar: 'show_avatar', - showDescription: 'show_description', - showSubscribeButton: 'show_subscribe_button', - openLinksNewWindow: 'open_links_new_window', - }, - example: { - attributes: { - // @TODO: Add default values for block attributes, for generating the block preview. - }, - }, -}; From 37a9483918d6bac047d7309405200240236479e0 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 31 Aug 2023 17:36:20 -0400 Subject: [PATCH 35/57] [not verified] Refactor Recipe block registration --- .../extensions/blocks/recipe/attributes.js | 10 --- .../extensions/blocks/recipe/block.json | 3 +- .../recipe/class-jetpack-recipe-block.php | 2 +- .../extensions/blocks/recipe/editor.js | 36 ++++++++-- .../jetpack/extensions/blocks/recipe/icon.js | 13 ---- .../jetpack/extensions/blocks/recipe/index.js | 72 ------------------- 6 files changed, 32 insertions(+), 104 deletions(-) delete mode 100644 projects/plugins/jetpack/extensions/blocks/recipe/attributes.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/recipe/icon.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/recipe/index.js diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/attributes.js b/projects/plugins/jetpack/extensions/blocks/recipe/attributes.js deleted file mode 100644 index 6a589dd6d42be..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/recipe/attributes.js +++ /dev/null @@ -1,10 +0,0 @@ -export default { - ingredients: { - type: 'array', - default: [], - }, - steps: { - type: 'array', - default: [], - }, -}; diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/block.json b/projects/plugins/jetpack/extensions/blocks/recipe/block.json index ad997ebd8aead..44ad55dcaa65d 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/block.json +++ b/projects/plugins/jetpack/extensions/blocks/recipe/block.json @@ -28,6 +28,5 @@ "type": "array", "default": [] } - }, - "editorScript": "file:../editor-beta.js" + } } diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/class-jetpack-recipe-block.php b/projects/plugins/jetpack/extensions/blocks/recipe/class-jetpack-recipe-block.php index b00a053dc105d..d5e33ee03f90c 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/class-jetpack-recipe-block.php +++ b/projects/plugins/jetpack/extensions/blocks/recipe/class-jetpack-recipe-block.php @@ -27,7 +27,7 @@ class Jetpack_Recipe_Block { * @return string */ public static function render( $attr, $content ) { - Jetpack_Gutenberg::load_assets_as_required( 'recipe' ); + Jetpack_Gutenberg::load_assets_as_required( Blocks::get_path_to_block_metadata( __DIR__ ) ); $find = array( '/(class="wp-block-jetpack-recipe(\s|"))/', diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/editor.js b/projects/plugins/jetpack/extensions/blocks/recipe/editor.js index 9ffc068d5f58c..c7011bff9581d 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/editor.js +++ b/projects/plugins/jetpack/extensions/blocks/recipe/editor.js @@ -1,7 +1,31 @@ -/** - * Internal dependencies - */ -import registerJetpackBlock from '../../shared/register-jetpack-block'; -import { childBlocks, name, settings } from '.'; +import { registerJetpackBlockFromMetadata } from '../../shared/register-jetpack-block'; +import metadata from './block.json'; +import { name as detailsName, settings as detailsSettings } from './details/'; +import edit from './edit'; +import { name as heroName, settings as heroSettings } from './hero/'; +import { name as ingredientItemName, settings as ingredientItemSettings } from './ingredient-item/'; +import { + name as ingredientsListName, + settings as ingredientsListSettings, +} from './ingredients-list/'; +import save from './save'; +import { name as stepName, settings as stepSettings } from './step/'; +import { name as stepsName, settings as stepsSettings } from './steps/'; -registerJetpackBlock( name, settings, childBlocks ); +export const childBlocks = [ + { name: detailsName, settings: detailsSettings }, + { name: heroName, settings: heroSettings }, + { name: ingredientsListName, settings: ingredientsListSettings }, + { name: ingredientItemName, settings: ingredientItemSettings }, + { name: stepsName, settings: stepsSettings }, + { name: stepName, settings: stepSettings }, +]; + +registerJetpackBlockFromMetadata( + metadata, + { + edit, + save, + }, + childBlocks +); diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/icon.js b/projects/plugins/jetpack/extensions/blocks/recipe/icon.js deleted file mode 100644 index 1e0ee76576512..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/recipe/icon.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * External dependencies - */ -import { SVG, Path } from '@wordpress/components'; - -export default ( - - - - - - -); diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/index.js b/projects/plugins/jetpack/extensions/blocks/recipe/index.js deleted file mode 100644 index 6cf801a26c39d..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/recipe/index.js +++ /dev/null @@ -1,72 +0,0 @@ -import { ExternalLink } from '@wordpress/components'; -import { Fragment } from '@wordpress/element'; -import { __ } from '@wordpress/i18n'; -import { getIconColor } from '../../shared/block-icons'; -import { name as detailsName, settings as detailsSettings } from './details/'; -import edit from './edit'; -import { name as heroName, settings as heroSettings } from './hero/'; -import icon from './icon'; -import { name as ingredientItemName, settings as ingredientItemSettings } from './ingredient-item/'; -import { - name as ingredientsListName, - settings as ingredientsListSettings, -} from './ingredients-list/'; -import save from './save'; -import { name as stepName, settings as stepSettings } from './step/'; -import { name as stepsName, settings as stepsSettings } from './steps/'; - -export const name = 'recipe'; -export const title = __( 'Recipe', 'jetpack' ); -export const settings = { - title, - description: ( - -

- { __( - 'Add images, ingredients and cooking steps to display an easy to read recipe.', - 'jetpack' - ) } -

- { __( 'Learn more about Recipe', 'jetpack' ) } -
- ), - icon: { - src: icon, - foreground: getIconColor(), - }, - category: 'widgets', - keywords: [], - supports: { - // Support for block's alignment (left, center, right, wide, full). When true, it adds block controls to change block’s alignment. - align: [ 'full', 'wide' ] /* if set to true, the 'align' option below can be used*/, - // Pick which alignment options to display. - /*align: [ 'left', 'right', 'full' ],*/ - // Support for wide alignment, that requires additional support in themes. - alignWide: true, - // When true, a new field in the block sidebar allows to define an id for the block and a button to copy the direct link. - anchor: false, - // When true, a new field in the block sidebar allows to define a custom className for the block’s wrapper. - customClassName: true, - // When false, Gutenberg won't add a class like .wp-block-your-block-name to the root element of your saved markup - className: true, - // Setting this to false suppress the ability to edit a block’s markup individually. We often set this to false in Jetpack blocks. - html: false, - // Passing false hides this block in Gutenberg's visual inserter. - /*inserter: true,*/ - // When false, user will only be able to insert the block once per post. - multiple: true, - // When false, the block won't be available to be converted into a reusable block. - reusable: true, - }, - edit, - save, -}; - -export const childBlocks = [ - { name: detailsName, settings: detailsSettings }, - { name: heroName, settings: heroSettings }, - { name: ingredientsListName, settings: ingredientsListSettings }, - { name: ingredientItemName, settings: ingredientItemSettings }, - { name: stepsName, settings: stepsSettings }, - { name: stepName, settings: stepSettings }, -]; From bf3244671b287ce4b34e9efadb2cfa14bbea66a7 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Fri, 1 Sep 2023 14:06:25 -0400 Subject: [PATCH 36/57] [not verified] Refactor Create with Voice block registration --- .../blocks/create-with-voice/attributes.js | 5 -- .../blocks/create-with-voice/block.json | 5 +- .../create-with-voice/create-with-voice.php | 9 ++-- .../blocks/create-with-voice/editor.js | 12 +++-- .../blocks/create-with-voice/index.tsx | 51 ------------------- 5 files changed, 14 insertions(+), 68 deletions(-) delete mode 100644 projects/plugins/jetpack/extensions/blocks/create-with-voice/attributes.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/create-with-voice/index.tsx diff --git a/projects/plugins/jetpack/extensions/blocks/create-with-voice/attributes.js b/projects/plugins/jetpack/extensions/blocks/create-with-voice/attributes.js deleted file mode 100644 index 7f3ada94ab311..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/create-with-voice/attributes.js +++ /dev/null @@ -1,5 +0,0 @@ -export default { - src: { - type: 'string', - }, -}; diff --git a/projects/plugins/jetpack/extensions/blocks/create-with-voice/block.json b/projects/plugins/jetpack/extensions/blocks/create-with-voice/block.json index e7ae57226e817..6c9ae72ea7128 100644 --- a/projects/plugins/jetpack/extensions/blocks/create-with-voice/block.json +++ b/projects/plugins/jetpack/extensions/blocks/create-with-voice/block.json @@ -8,7 +8,7 @@ "version": "12.5.0", "textdomain": "jetpack", "category": "media", - "icon": "microphopne", + "icon": "", "supports": { "html": false, "multiple": true, @@ -18,6 +18,5 @@ "content": { "type": "string" } - }, - "editorScript": "file:../editor.js" + } } diff --git a/projects/plugins/jetpack/extensions/blocks/create-with-voice/create-with-voice.php b/projects/plugins/jetpack/extensions/blocks/create-with-voice/create-with-voice.php index c7caba195d79e..647d19bb976dd 100644 --- a/projects/plugins/jetpack/extensions/blocks/create-with-voice/create-with-voice.php +++ b/projects/plugins/jetpack/extensions/blocks/create-with-voice/create-with-voice.php @@ -12,9 +12,6 @@ use Automattic\Jetpack\Blocks; use Jetpack_Gutenberg; -const FEATURE_NAME = 'create-with-voice'; -const BLOCK_NAME = 'jetpack/' . FEATURE_NAME; - /** * Registers our block for use in Gutenberg * This is done via an action so that we can disable @@ -22,7 +19,7 @@ */ function register_block() { Blocks::jetpack_register_block( - BLOCK_NAME, + Blocks::get_path_to_block_metadata( __DIR__ ), array( 'render_callback' => __NAMESPACE__ . '\load_assets' ) ); } @@ -40,11 +37,11 @@ function load_assets( $attr, $content ) { /* * Enqueue necessary scripts and styles. */ - Jetpack_Gutenberg::load_assets_as_required( FEATURE_NAME ); + Jetpack_Gutenberg::load_assets_as_required( Blocks::get_path_to_block_metadata( __DIR__ ) ); return sprintf( '
%2$s
', - esc_attr( Blocks::classes( FEATURE_NAME, $attr ) ), + esc_attr( Blocks::classes( basename( __DIR__ ), $attr ) ), $content ); } diff --git a/projects/plugins/jetpack/extensions/blocks/create-with-voice/editor.js b/projects/plugins/jetpack/extensions/blocks/create-with-voice/editor.js index d7ec194d817a1..db47417246b36 100644 --- a/projects/plugins/jetpack/extensions/blocks/create-with-voice/editor.js +++ b/projects/plugins/jetpack/extensions/blocks/create-with-voice/editor.js @@ -1,4 +1,10 @@ -import registerJetpackBlock from '../../shared/register-jetpack-block'; -import { name, settings } from '.'; +import { registerJetpackBlockFromMetadata } from '../../shared/register-jetpack-block'; +import metadata from './block.json'; +import edit from './edit'; -registerJetpackBlock( name, settings ); +import './editor.scss'; + +registerJetpackBlockFromMetadata( metadata, { + edit, + save: () => null, +} ); diff --git a/projects/plugins/jetpack/extensions/blocks/create-with-voice/index.tsx b/projects/plugins/jetpack/extensions/blocks/create-with-voice/index.tsx deleted file mode 100644 index 853fa7f515811..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/create-with-voice/index.tsx +++ /dev/null @@ -1,51 +0,0 @@ -/** - * External dependencies - */ -import { __, _x } from '@wordpress/i18n'; -/** - * Internal dependencies - */ -import { getIconColor } from '../../shared/block-icons'; -import attributes from './attributes'; -/** - * Style dependencies - */ -import edit from './edit'; -import './editor.scss'; - -export const name = 'create-with-voice'; -export const blockName = `jetpack/${ name }`; -export const title = __( 'Create with voice', 'jetpack' ); -export const settings = { - apiVersion: 2, - title, - description: ( -

- { __( - 'Transform your spoken words into publish-ready blocks with AI effortlessly.', - 'jetpack' - ) } -

- ), - icon: { - src: 'microphone', - foreground: getIconColor(), - }, - category: 'text', - keywords: [ - _x( 'AI', 'block search term', 'jetpack' ), - _x( 'GPT', 'block search term', 'jetpack' ), - _x( 'AL', 'block search term', 'jetpack' ), - _x( 'Magic', 'block search term', 'jetpack' ), - _x( 'help', 'block search term', 'jetpack' ), - _x( 'assistant', 'block search term', 'jetpack' ), - ], - supports: { - html: false, - multiple: true, - reusable: false, - }, - edit, - save: () => null, - attributes, -}; From ac6d04d59e2abffcae1855701e2426c4a93b6135 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Fri, 1 Sep 2023 14:12:50 -0400 Subject: [PATCH 37/57] [not verified] Fix missing imports in Recipe child blocks --- .../jetpack/extensions/blocks/recipe/details/index.js | 9 +++------ .../jetpack/extensions/blocks/recipe/hero/index.js | 9 +++------ .../extensions/blocks/recipe/ingredient-item/index.js | 9 +++------ .../extensions/blocks/recipe/ingredients-list/index.js | 9 +++------ .../jetpack/extensions/blocks/recipe/step/index.js | 9 +++------ .../jetpack/extensions/blocks/recipe/steps/index.js | 10 +++------- 6 files changed, 18 insertions(+), 37 deletions(-) diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/details/index.js b/projects/plugins/jetpack/extensions/blocks/recipe/details/index.js index 7c4a62e2f79ff..180ed97d9320e 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/details/index.js +++ b/projects/plugins/jetpack/extensions/blocks/recipe/details/index.js @@ -1,7 +1,7 @@ import { Fragment } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; -import { getIconColor } from '../../../shared/block-icons'; -import icon from '../icon'; +import { getClientBlockIconProp } from '../../../shared/get-block-icon-from-metadata'; +import metadata from '../block.json'; import attributes from './attributes'; import edit from './edit'; import save from './save'; @@ -21,10 +21,7 @@ export const settings = { supports: { align: [ 'left', 'right', 'center' ], }, - icon: { - src: icon, - foreground: getIconColor(), - }, + icon: getClientBlockIconProp( metadata ), category: 'widgets', attributes, edit, diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/hero/index.js b/projects/plugins/jetpack/extensions/blocks/recipe/hero/index.js index 044445d52ed72..a456712e5ff70 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/hero/index.js +++ b/projects/plugins/jetpack/extensions/blocks/recipe/hero/index.js @@ -1,7 +1,7 @@ import { Fragment } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; -import { getIconColor } from '../../../shared/block-icons'; -import icon from '../icon'; +import { getClientBlockIconProp } from '../../../shared/get-block-icon-from-metadata'; +import metadata from '../block.json'; import edit from './edit'; import save from './save'; @@ -15,10 +15,7 @@ export const settings = { ), keywords: [], - icon: { - src: icon, - foreground: getIconColor(), - }, + icon: getClientBlockIconProp( metadata ), category: 'widgets', edit, save, diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/ingredient-item/index.js b/projects/plugins/jetpack/extensions/blocks/recipe/ingredient-item/index.js index 9b06e23969968..384f3ee747cc8 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/ingredient-item/index.js +++ b/projects/plugins/jetpack/extensions/blocks/recipe/ingredient-item/index.js @@ -1,7 +1,7 @@ import { Fragment } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; -import { getIconColor } from '../../../shared/block-icons'; -import icon from '../icon'; +import { getClientBlockIconProp } from '../../../shared/get-block-icon-from-metadata'; +import metadata from '../block.json'; import attributes from './attributes'; import edit from './edit'; import save from './save'; @@ -16,10 +16,7 @@ export const settings = { ), keywords: [], - icon: { - src: icon, - foreground: getIconColor(), - }, + icon: getClientBlockIconProp( metadata ), category: 'widgets', attributes, edit, diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/ingredients-list/index.js b/projects/plugins/jetpack/extensions/blocks/recipe/ingredients-list/index.js index 8a37e740439f2..7220b5161f8e0 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/ingredients-list/index.js +++ b/projects/plugins/jetpack/extensions/blocks/recipe/ingredients-list/index.js @@ -1,7 +1,7 @@ import { Fragment } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; -import { getIconColor } from '../../../shared/block-icons'; -import icon from '../icon'; +import { getClientBlockIconProp } from '../../../shared/get-block-icon-from-metadata'; +import metadata from '../block.json'; import attributes from './attributes'; import edit from './edit'; import save from './save'; @@ -17,10 +17,7 @@ export const settings = {

{ __( 'Recipe ingredient list', 'jetpack' ) }

), - icon: { - src: icon, - foreground: getIconColor(), - }, + icon: getClientBlockIconProp( metadata ), category: 'widgets', keywords: [], attributes, diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/step/index.js b/projects/plugins/jetpack/extensions/blocks/recipe/step/index.js index 2e49582401b6e..f0cd4d804c16c 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/step/index.js +++ b/projects/plugins/jetpack/extensions/blocks/recipe/step/index.js @@ -1,7 +1,7 @@ import { Fragment } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; -import { getIconColor } from '../../../shared/block-icons'; -import icon from '../icon'; +import { getClientBlockIconProp } from '../../../shared/get-block-icon-from-metadata'; +import metadata from '../block.json'; import edit from './edit'; import save from './save'; @@ -15,10 +15,7 @@ export const settings = { ), keywords: [], - icon: { - src: icon, - foreground: getIconColor(), - }, + icon: getClientBlockIconProp( metadata ), category: 'widgets', edit, save, diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/steps/index.js b/projects/plugins/jetpack/extensions/blocks/recipe/steps/index.js index 0d5653b11bd4f..f1945197966bc 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/steps/index.js +++ b/projects/plugins/jetpack/extensions/blocks/recipe/steps/index.js @@ -1,11 +1,10 @@ import { Fragment } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; -import { getIconColor } from '../../../shared/block-icons'; -import icon from '../icon'; +import { getClientBlockIconProp } from '../../../shared/get-block-icon-from-metadata'; +import metadata from '../block.json'; import attributes from './attributes'; import edit from './edit'; import save from './save'; - import './editor.scss'; export const name = 'recipe-steps'; @@ -18,10 +17,7 @@ export const settings = { ), keywords: [], - icon: { - src: icon, - foreground: getIconColor(), - }, + icon: getClientBlockIconProp( metadata ), category: 'widgets', attributes, edit, From b5fcc8d63828be60ee8d6fdc2f6214af21a562c2 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Fri, 1 Sep 2023 14:51:32 -0400 Subject: [PATCH 38/57] [not verified] Refactor Docs blocks registration --- .../blocks/google-docs-embed/block.json | 3 +- .../blocks/google-docs-embed/edit.js | 28 +++- .../blocks/google-docs-embed/editor.js | 15 +- .../google-docs-embed/google-docs-embed.php | 10 +- .../blocks/google-docs-embed/icons.js | 29 ---- .../blocks/google-docs-embed/index.js | 130 ------------------ .../shared/register-jetpack-block.js | 27 ++-- 7 files changed, 61 insertions(+), 181 deletions(-) delete mode 100644 projects/plugins/jetpack/extensions/blocks/google-docs-embed/icons.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/google-docs-embed/index.js diff --git a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/block.json b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/block.json index b02139650aa70..98ccd4615fbd6 100644 --- a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/block.json +++ b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/block.json @@ -56,6 +56,5 @@ "attributes": { "variation": "jetpack/google-slides" }, "isActive": [ "variation" ] } - ], - "editorScript": "file:../editor-beta.js" + ] } diff --git a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/edit.js b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/edit.js index 968599fa1405c..e505e5067d014 100644 --- a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/edit.js +++ b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/edit.js @@ -2,8 +2,34 @@ import { InspectorControls } from '@wordpress/block-editor'; import { PanelBody, SelectControl } from '@wordpress/components'; import { Fragment, useEffect } from '@wordpress/element'; import { __, _x } from '@wordpress/i18n'; +import { getClientBlockIconProp } from '../../shared/get-block-icon-from-metadata'; +import metadata from './block.json'; import Embed from './embed'; -import { GOOGLE_DOCUMENT, GOOGLE_SPREADSHEET, GOOGLE_SLIDE } from '.'; + +const docsVariation = metadata.variations?.find( v => v.name === 'jetpack/google-docs' ); +const sheetsVariation = metadata.variations?.find( v => v.name === 'jetpack/google-sheets' ); +const slidesVariation = metadata.variations?.find( v => v.name === 'jetpack/google-slides' ); + +const GOOGLE_DOCUMENT = { + type: 'document', + title: docsVariation?.title, + icon: getClientBlockIconProp( docsVariation?.icon ), + patterns: [ /^(http|https):\/\/(docs\.google.com)\/document\/d\/([A-Za-z0-9_-]+).*?$/i ], +}; + +const GOOGLE_SPREADSHEET = { + type: 'spreadsheets', + title: sheetsVariation?.title, + icon: getClientBlockIconProp( sheetsVariation?.icon ), + patterns: [ /^(http|https):\/\/(docs\.google.com)\/spreadsheets\/d\/([A-Za-z0-9_-]+).*?$/i ], +}; + +const GOOGLE_SLIDE = { + type: 'presentation', + title: slidesVariation?.title, + icon: getClientBlockIconProp( slidesVariation?.icon ), + patterns: [ /^(http|https):\/\/(docs\.google.com)\/presentation\/d\/([A-Za-z0-9_-]+).*?$/i ], +}; /** * Edit component. diff --git a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/editor.js b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/editor.js index d7ec194d817a1..589de0a48312e 100644 --- a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/editor.js +++ b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/editor.js @@ -1,4 +1,13 @@ -import registerJetpackBlock from '../../shared/register-jetpack-block'; -import { name, settings } from '.'; +import { registerJetpackBlockFromMetadata } from '../../shared/register-jetpack-block'; +import metadata from './block.json'; +import edit from './edit'; +import save from './save'; // TODO: Replace +import transforms from './transforms'; -registerJetpackBlock( name, settings ); +import './editor.scss'; + +registerJetpackBlockFromMetadata( metadata, { + edit, + save, + transforms: transforms( metadata.name ), +} ); diff --git a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/google-docs-embed.php b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/google-docs-embed.php index 0ee619d9cddaa..b4871f10cf8d3 100644 --- a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/google-docs-embed.php +++ b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/google-docs-embed.php @@ -12,8 +12,6 @@ use Automattic\Jetpack\Blocks; use Jetpack_Gutenberg; -const FEATURE_NAME = 'google-docs-embed'; - /** * Registers the blocks for use in Gutenberg * This is done via an action so that we can disable @@ -22,7 +20,7 @@ function register_blocks() { Blocks::jetpack_register_block( - 'jetpack/' . FEATURE_NAME, + Blocks::get_path_to_block_metadata( __DIR__ ), array( 'render_callback' => __NAMESPACE__ . '\render_callback', ) @@ -38,9 +36,9 @@ function register_blocks() { */ function render_callback( $attributes ) { - Jetpack_Gutenberg::load_assets_as_required( FEATURE_NAME ); + Jetpack_Gutenberg::load_assets_as_required( Blocks::get_path_to_block_metadata( __DIR__ ) ); wp_localize_script( - 'jetpack-block-' . sanitize_title_with_dashes( FEATURE_NAME ), + 'jetpack-block-' . sanitize_title_with_dashes( basename( __DIR__ ) ), 'Jetpack_Google_Docs', array( 'error_msg' => __( 'This document is private. To view the document, login to a Google account that the document has been shared with and then refresh this page.', 'jetpack' ), @@ -106,7 +104,7 @@ function render_callback( $attributes ) { } } - $block_classes = Blocks::classes( FEATURE_NAME, $attributes, array( $aspect_ratio ) ); + $block_classes = Blocks::classes( basename( __DIR__ ), $attributes, array( $aspect_ratio ) ); $html = '
' . diff --git a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/icons.js b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/icons.js deleted file mode 100644 index 103ccc872cf8e..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/icons.js +++ /dev/null @@ -1,29 +0,0 @@ -import { SVG, Path } from '@wordpress/components'; - -export const googleDocIcon = ( - - - - - -); - -export const googleSheetIcon = ( - - - - - -); - -export const googleSlideIcon = ( - - - - - -); diff --git a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/index.js b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/index.js deleted file mode 100644 index 3028ed668c15d..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/index.js +++ /dev/null @@ -1,130 +0,0 @@ -import { __, _x } from '@wordpress/i18n'; -import './editor.scss'; -import { getIconColor } from '../../shared/block-icons'; -import edit from './edit'; -import { googleDocIcon, googleSheetIcon, googleSlideIcon } from './icons'; -import save from './save'; // TODO: Replace -import transforms from './transforms'; - -// Icons. - -export const name = 'google-docs-embed'; -export const type = 'document'; - -/** - * Google Document block vars. - */ -export const GOOGLE_DOCUMENT = { - type: 'document', - title: __( 'Google Docs', 'jetpack' ), - description: __( 'Embed a Google Document.', 'jetpack' ), - name: 'google-docs', - keywords: [ - _x( 'document', 'block search term', 'jetpack' ), - _x( 'gsuite', 'block search term', 'jetpack' ), - _x( 'doc', 'block search term', 'jetpack' ), - ], - icon: { - src: googleDocIcon, - foreground: getIconColor(), - }, - patterns: [ /^(http|https):\/\/(docs\.google.com)\/document\/d\/([A-Za-z0-9_-]+).*?$/i ], -}; - -/** - * Google Spreadsheet block vars. - */ -export const GOOGLE_SPREADSHEET = { - type: 'spreadsheets', - title: __( 'Google Sheets', 'jetpack' ), - description: __( 'Embed a Google Sheet.', 'jetpack' ), - name: 'google-sheets', - keywords: [ - _x( 'sheet', 'block search term', 'jetpack' ), - _x( 'spreadsheet', 'block search term', 'jetpack' ), - ], - icon: { - src: googleSheetIcon, - foreground: getIconColor(), - }, - patterns: [ /^(http|https):\/\/(docs\.google.com)\/spreadsheets\/d\/([A-Za-z0-9_-]+).*?$/i ], -}; - -/** - * Google Slide block vars. - */ -export const GOOGLE_SLIDE = { - type: 'presentation', - title: __( 'Google Slides', 'jetpack' ), - description: __( 'Embed a Google Slides presentation.', 'jetpack' ), - name: 'google-slides', - icon: { - src: googleSlideIcon, - foreground: getIconColor(), - }, - keywords: [ - _x( 'slide', 'block search term', 'jetpack' ), - _x( 'presentation', 'block search term', 'jetpack' ), - _x( 'deck', 'block search term', 'jetpack' ), - ], - patterns: [ /^(http|https):\/\/(docs\.google.com)\/presentation\/d\/([A-Za-z0-9_-]+).*?$/i ], -}; - -export const settings = { - title: __( 'Google Docs', 'jetpack' ), - description: __( 'Embed a Google Document.', 'jetpack' ), - keywords: [ - _x( 'document', 'block search term', 'jetpack' ), - _x( 'gsuite', 'block search term', 'jetpack' ), - _x( 'doc', 'block search term', 'jetpack' ), - ], - category: 'embed', - supports: { - align: [ 'left', 'right', 'center', 'wide', 'full' ], - anchor: true, - }, - attributes: { - url: { - type: 'string', - default: '', - }, - aspectRatio: { - type: 'string', - }, - variation: { - type: 'string', - }, - }, - variations: [ - { - name: GOOGLE_DOCUMENT.name, - isDefault: true, - title: GOOGLE_DOCUMENT.title, - description: GOOGLE_DOCUMENT.description, - icon: GOOGLE_DOCUMENT.icon, - attributes: { variation: 'google-docs' }, - isActive: [ 'variation' ], - }, - { - name: GOOGLE_SPREADSHEET.name, - isDefault: true, - title: GOOGLE_SPREADSHEET.title, - description: GOOGLE_SPREADSHEET.description, - icon: GOOGLE_SPREADSHEET.icon, - attributes: { variation: 'google-sheets' }, - isActive: [ 'variation' ], - }, - { - name: GOOGLE_SLIDE.name, - isDefault: true, - title: GOOGLE_SLIDE.title, - description: GOOGLE_SLIDE.description, - icon: GOOGLE_SLIDE.icon, - attributes: { variation: 'google-slides' }, - isActive: [ 'variation' ], - }, - ], - edit, - save, - transforms: transforms( `jetpack/${ name }` ), -}; diff --git a/projects/plugins/jetpack/extensions/shared/register-jetpack-block.js b/projects/plugins/jetpack/extensions/shared/register-jetpack-block.js index a70e01cc545ec..481da6507feca 100644 --- a/projects/plugins/jetpack/extensions/shared/register-jetpack-block.js +++ b/projects/plugins/jetpack/extensions/shared/register-jetpack-block.js @@ -2,7 +2,7 @@ import { getJetpackExtensionAvailability, withHasWarningIsInteractiveClassNames, requiresPaidPlan, - getBlockIconComponent, + getBlockIconProp, } from '@automattic/jetpack-shared-extension-utils'; import { registerBlockType } from '@wordpress/blocks'; import { addFilter } from '@wordpress/hooks'; @@ -69,13 +69,20 @@ export default function registerJetpackBlock( name, settings, childBlocks = [], * @returns {object|boolean} Either false if the block is not available, or the results of `registerBlockType` */ export function registerJetpackBlockFromMetadata( metadata, settings, childBlocks, prefix ) { - return registerJetpackBlock( - metadata.name, - { - ...settings, - icon: getBlockIconComponent( metadata ), - }, - childBlocks, - prefix - ); + const clientSettings = { + ...settings, + icon: getBlockIconProp( metadata ), + }; + const { variations } = metadata; + + if ( Array.isArray( variations ) && variations.length > 0 ) { + clientSettings.variations = variations.map( variation => { + return { + ...variation, + icon: getBlockIconProp( variation ), + }; + } ); + } + + return registerJetpackBlock( metadata.name, clientSettings, childBlocks, prefix ); } From 9d6db4f86be4f12c3c46fefef1cb7af7b919bf28 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Fri, 1 Sep 2023 15:33:32 -0400 Subject: [PATCH 39/57] [not verified] Fix Amazon icon --- projects/plugins/jetpack/extensions/blocks/amazon/block.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/plugins/jetpack/extensions/blocks/amazon/block.json b/projects/plugins/jetpack/extensions/blocks/amazon/block.json index 526ad5a0e3a1a..9f82627a53935 100644 --- a/projects/plugins/jetpack/extensions/blocks/amazon/block.json +++ b/projects/plugins/jetpack/extensions/blocks/amazon/block.json @@ -8,7 +8,7 @@ "version": "12.5.0", "textdomain": "jetpack", "category": "earn", - "icon": "", + "icon": "", "supports": { "align": true, "alignWide": false, From 766b54ede70e1b9e6d5115ecf480b84b9e573bf1 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Fri, 1 Sep 2023 15:51:02 -0400 Subject: [PATCH 40/57] [not verified] Use CSS logical properties for i18n --- .../plugins/jetpack/extensions/blocks/ai-chat/view.scss | 2 +- .../extensions/blocks/google-docs-embed/editor.scss | 2 +- .../jetpack/extensions/blocks/google-docs-embed/view.scss | 2 +- .../plugins/jetpack/extensions/blocks/recipe/style.scss | 8 ++++---- projects/plugins/jetpack/extensions/blocks/recipe/view.js | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/projects/plugins/jetpack/extensions/blocks/ai-chat/view.scss b/projects/plugins/jetpack/extensions/blocks/ai-chat/view.scss index 292b04588d913..557ce1e4b9771 100644 --- a/projects/plugins/jetpack/extensions/blocks/ai-chat/view.scss +++ b/projects/plugins/jetpack/extensions/blocks/ai-chat/view.scss @@ -11,7 +11,7 @@ } button { - margin-left: 1rem; + margin-inline-start: 1rem; border: none; transition: 0.3s; cursor: pointer; diff --git a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/editor.scss b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/editor.scss index 5efcbbbb67591..ecc0a4b0461fe 100644 --- a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/editor.scss +++ b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/editor.scss @@ -27,7 +27,7 @@ margin: 0; textarea { - margin-right: 1px; + margin-inline-end: 1px; flex: 1; height: 36px; padding-top: 9px; diff --git a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/view.scss b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/view.scss index bbf3325494a6a..2b4f617267cdd 100644 --- a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/view.scss +++ b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/view.scss @@ -88,7 +88,7 @@ content: ""; display: inline-block; height: 20px; - margin-right: 8px; + margin-inline-end: 8px; position: relative; top: 4px; width: 20px; diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/style.scss b/projects/plugins/jetpack/extensions/blocks/recipe/style.scss index f07f60fc8d5f7..9433a3bf2c90b 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/style.scss +++ b/projects/plugins/jetpack/extensions/blocks/recipe/style.scss @@ -26,12 +26,12 @@ &__detail { font-size: 0.875rem; - margin-right: 1rem; - padding-right: 1rem; + margin-inline-end: 1rem; + padding-inline-end: 1rem; text-align: center; &:not(:last-child) { - border-right: 1px solid currentColor; + border-inline-end: 1px solid currentColor; } p { @@ -62,7 +62,7 @@ font-size: 0.875rem; height: 28px; justify-content: center; - left: -2.5rem; + inset-block-start: -2.5rem; line-height: 1; position: absolute; text-align: center; diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/view.js b/projects/plugins/jetpack/extensions/blocks/recipe/view.js index 5a7c79646a07e..0fdeabeae6fef 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/view.js +++ b/projects/plugins/jetpack/extensions/blocks/recipe/view.js @@ -53,7 +53,7 @@ class JetpackRecipe { .wp-block-jetpack-recipe-details__detail { font-size: 0.875rem; - margin-right: 1rem; + margin-inline-end: 1rem; padding-right: 1rem; text-align: center; } From ab6be7dd55b01caf31247f2aa5158447010f549e Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Fri, 1 Sep 2023 16:20:19 -0400 Subject: [PATCH 41/57] [not verified] Fix Recipe block not correctly displayed in inserter --- .../extensions/blocks/recipe/class-jetpack-recipe-block.php | 1 + projects/plugins/jetpack/extensions/blocks/recipe/recipe.php | 2 +- projects/plugins/jetpack/extensions/blocks/recipe/style.scss | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/class-jetpack-recipe-block.php b/projects/plugins/jetpack/extensions/blocks/recipe/class-jetpack-recipe-block.php index d5e33ee03f90c..1c7303afcd3c3 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/class-jetpack-recipe-block.php +++ b/projects/plugins/jetpack/extensions/blocks/recipe/class-jetpack-recipe-block.php @@ -7,6 +7,7 @@ namespace Automattic\Jetpack\Extensions\Recipe; +use Automattic\Jetpack\Blocks; use Jetpack_Gutenberg; /** diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/recipe.php b/projects/plugins/jetpack/extensions/blocks/recipe/recipe.php index a8db31aca5607..70baaec4789bf 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/recipe.php +++ b/projects/plugins/jetpack/extensions/blocks/recipe/recipe.php @@ -10,7 +10,7 @@ use Automattic\Jetpack\Blocks; Blocks::jetpack_register_block( - 'jetpack/recipe', + Blocks::get_path_to_block_metadata( __DIR__ ), array( 'render_callback' => array( 'Automattic\\Jetpack\\Extensions\\Recipe\\Jetpack_Recipe_Block', 'render' ), ) diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/style.scss b/projects/plugins/jetpack/extensions/blocks/recipe/style.scss index 9433a3bf2c90b..a3f45cfa5a532 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/style.scss +++ b/projects/plugins/jetpack/extensions/blocks/recipe/style.scss @@ -62,7 +62,7 @@ font-size: 0.875rem; height: 28px; justify-content: center; - inset-block-start: -2.5rem; + inset-inline-start: -2.5rem; line-height: 1; position: absolute; text-align: center; From 93a6d3b1cb3f9239a81122c99f450e0af16a9b8f Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Fri, 1 Sep 2023 16:55:38 -0400 Subject: [PATCH 42/57] [not verified] Fix Amazon icon alignment --- .../plugins/jetpack/extensions/blocks/amazon/block.json | 2 +- .../plugins/jetpack/extensions/blocks/amazon/editor.scss | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/projects/plugins/jetpack/extensions/blocks/amazon/block.json b/projects/plugins/jetpack/extensions/blocks/amazon/block.json index 9f82627a53935..77cd0617526b1 100644 --- a/projects/plugins/jetpack/extensions/blocks/amazon/block.json +++ b/projects/plugins/jetpack/extensions/blocks/amazon/block.json @@ -8,7 +8,7 @@ "version": "12.5.0", "textdomain": "jetpack", "category": "earn", - "icon": "", + "icon": "", "supports": { "align": true, "alignWide": false, diff --git a/projects/plugins/jetpack/extensions/blocks/amazon/editor.scss b/projects/plugins/jetpack/extensions/blocks/amazon/editor.scss index 27d251dcf04eb..81a583436cb95 100644 --- a/projects/plugins/jetpack/extensions/blocks/amazon/editor.scss +++ b/projects/plugins/jetpack/extensions/blocks/amazon/editor.scss @@ -18,4 +18,12 @@ justify-content: center; width: 100%; } + + .wp-block-jetpack-amazon-button, + .components-placeholder__label { + svg { + display: block; + margin-inline-end: 0.75rem; + } + } } From 5cfcb99684f149e15f6fdd2b6b36976f603695dd Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 7 Sep 2023 17:29:27 -0400 Subject: [PATCH 43/57] [not verified] Fix rebasing error --- projects/packages/blocks/src/class-blocks.php | 2 +- projects/plugins/jetpack/composer.lock | 10643 +++++++++------- 2 files changed, 5776 insertions(+), 4869 deletions(-) diff --git a/projects/packages/blocks/src/class-blocks.php b/projects/packages/blocks/src/class-blocks.php index f893d32908261..ab1430ccce2af 100644 --- a/projects/packages/blocks/src/class-blocks.php +++ b/projects/packages/blocks/src/class-blocks.php @@ -131,7 +131,7 @@ function () use ( $feature_name, $method_name ) { public static function get_block_metadata_from_file( $filename ) { $metadata = array(); $needle = '/block.json'; - $filename = $needle === substr( $filename, -strlen( $needle ) ) ? $filename : realpath( $filename . $needle ); + $filename = $needle === substr( $filename, -strlen( $needle ) ) ? $filename : $filename . $needle; if ( file_exists( $filename ) ) { try { diff --git a/projects/plugins/jetpack/composer.lock b/projects/plugins/jetpack/composer.lock index fd3cf314df72b..97b624167a7cf 100644 --- a/projects/plugins/jetpack/composer.lock +++ b/projects/plugins/jetpack/composer.lock @@ -1,4870 +1,5777 @@ { - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "b9bcfa2ce9f5709c3acfe034384c8885", - "packages": [ - { - "name": "automattic/jetpack-a8c-mc-stats", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/a8c-mc-stats", - "reference": "323066aa932363ae466ae3531a3294cd87b76784" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-a8c-mc-stats", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.4.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Used to record internal usage stats for Automattic. Not visible to site owners.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-abtest", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/abtest", - "reference": "927b858bd00d90ac0951f21c5481b6147ba09854" - }, - "require": { - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-error": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-abtest", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-abtest/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.10.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Provides an interface to the WP.com A/B tests.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-action-bar", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/action-bar", - "reference": "02fd9ecfa27a7f80f40ec47fec385e8408994329" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-constants": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "mirror-repo": "Automattic/jetpack-action-bar", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-action-bar/compare/v${old}...v${new}" - }, - "autotagger": true, - "branch-alias": { - "dev-trunk": "0.1.x-dev" - }, - "textdomain": "jetpack-action-bar" - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "build-production": ["pnpm run build-production"], - "build-development": ["pnpm run build"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] - }, - "license": ["GPL-2.0-or-later"], - "description": "An easy way for visitors to follow, like, and comment on your site.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-admin-ui", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/admin-ui", - "reference": "043cf5470fb67474cbde3a6d8351ee5ecca51efd" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/jetpack-logo": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-admin-ui", - "textdomain": "jetpack-admin-ui", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-admin-ui/compare/${old}...${new}" - }, - "branch-alias": { - "dev-trunk": "0.2.x-dev" - }, - "version-constants": { - "::PACKAGE_VERSION": "src/class-admin-menu.php" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Generic Jetpack wp-admin UI elements", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-assets", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/assets", - "reference": "3e2ee0c78d91409302ac2228532b9725d187c89c" - }, - "require": { - "automattic/jetpack-constants": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "brain/monkey": "2.6.1", - "wikimedia/testing-access-wrapper": "^1.0 || ^2.0", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-assets", - "textdomain": "jetpack-assets", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-assets/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.18.x-dev" - } - }, - "autoload": { - "files": ["actions.php"], - "classmap": ["src/"] - }, - "scripts": { - "build-development": ["pnpm run build"], - "build-production": ["pnpm run build-production"], - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-js": ["pnpm run test"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Asset management utilities for Jetpack ecosystem packages", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-autoloader", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/autoloader", - "reference": "0770a6f80877d30c1d1767d4395af6e17f8768be" - }, - "require": { - "composer-plugin-api": "^1.1 || ^2.0" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "type": "composer-plugin", - "extra": { - "autotagger": true, - "class": "Automattic\\Jetpack\\Autoloader\\CustomAutoloaderPlugin", - "mirror-repo": "Automattic/jetpack-autoloader", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-autoloader/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "2.11.x-dev" - } - }, - "autoload": { - "classmap": ["src/AutoloadGenerator.php"], - "psr-4": { - "Automattic\\Jetpack\\Autoloader\\": "src" - } - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Creates a custom autoloader for a plugin or theme.", - "keywords": ["autoload", "autoloader", "composer", "jetpack", "plugin", "wordpress"], - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-backup", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/backup", - "reference": "fe1b66a0332a2c838bfe27175c0c4d9482d52d2e" - }, - "require": { - "automattic/jetpack-admin-ui": "@dev", - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-autoloader": "@dev", - "automattic/jetpack-composer-plugin": "@dev", - "automattic/jetpack-config": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-identity-crisis": "@dev", - "automattic/jetpack-status": "@dev", - "automattic/jetpack-sync": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-backup", - "textdomain": "jetpack-backup-pkg", - "version-constants": { - "::PACKAGE_VERSION": "src/class-package-version.php" - }, - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-backup/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.17.x-dev" - } - }, - "autoload": { - "files": ["actions.php"], - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-js": ["pnpm run test"], - "test-php": ["@composer phpunit"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "build-development": ["pnpm run build"], - "build-production": ["pnpm run build-production-concurrently"], - "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Tools to assist with backing up Jetpack sites.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-blaze", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/blaze", - "reference": "1ed5f1ec93e20e373beaf86551366e837360a83d" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-plans": "@dev", - "automattic/jetpack-redirect": "@dev", - "automattic/jetpack-status": "@dev", - "automattic/jetpack-sync": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-blaze", - "changelogger": { - "link-template": "https://github.com/automattic/jetpack-blaze/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.10.x-dev" - }, - "textdomain": "jetpack-blaze", - "version-constants": { - "::PACKAGE_VERSION": "src/class-dashboard.php" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "build-production": ["pnpm run build-production"], - "build-development": ["pnpm run build"], - "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Attract high-quality traffic to your site using Blaze.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-blocks", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/blocks", - "reference": "3bffdec35d950eedb81aeeb2ed85fe9027b1e302" - }, - "require": { - "automattic/jetpack-constants": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.0.4" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-blocks", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-blocks/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.5.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Register and manage blocks within a plugin. Used to manage block registration, enqueues, and more.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-boost-core", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/boost-core", - "reference": "a9bc537a11dd4c65e13369579fecd51a5b108b22" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "mirror-repo": "Automattic/jetpack-boost-core", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-boost-core/compare/v${old}...v${new}" - }, - "autotagger": true, - "branch-alias": { - "dev-trunk": "0.1.x-dev" - }, - "textdomain": "jetpack-boost-core" - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "build-production": ["echo 'Add your build step to composer.json, please!'"], - "build-development": ["echo 'Add your build step to composer.json, please!'"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Core functionality for boost and relevant packages to depend on", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-boost-speed-score", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/boost-speed-score", - "reference": "a24c57f4e9670a96fea65d286c00d229bde44833" - }, - "require": { - "automattic/jetpack-boost-core": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "brain/monkey": "^2.6", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "mirror-repo": "Automattic/jetpack-boost-speed-score", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-boost-speed-score/compare/v${old}...v${new}" - }, - "autotagger": true, - "branch-alias": { - "dev-trunk": "0.2.x-dev" - }, - "textdomain": "jetpack-boost-speed-score", - "version-constants": { - "::PACKAGE_VERSION": "src/class-speed-score.php" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "autoload-dev": { - "psr-4": { - "Automattic\\Jetpack\\Boost_Speed_Score\\Tests\\": "./tests/php" - } - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "build-production": ["echo 'Add your build step to composer.json, please!'"], - "build-development": ["echo 'Add your build step to composer.json, please!'"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] - }, - "license": ["GPL-2.0-or-later"], - "description": "A package that handles the API to generate the speed score.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-compat", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/compat", - "reference": "efed5add55337c6f88c2d496b03468c7fb48ffd8" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-compat", - "textdomain": "jetpack-compat", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-compat/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.7.x-dev" - } - }, - "autoload": { - "files": ["functions.php"], - "classmap": ["legacy"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Compatibility layer with previous versions of Jetpack", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-composer-plugin", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/composer-plugin", - "reference": "c5173c994ce10010ef82aaf94b4aae9accb7bd02" - }, - "require": { - "composer-plugin-api": "^2.1.0" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "composer/composer": "^2.2 || ^2.4", - "yoast/phpunit-polyfills": "1.1.0" - }, - "type": "composer-plugin", - "extra": { - "plugin-modifies-install-path": true, - "class": "Automattic\\Jetpack\\Composer\\Plugin", - "mirror-repo": "Automattic/jetpack-composer-plugin", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-composer-plugin/compare/v${old}...v${new}" - }, - "autotagger": true, - "branch-alias": { - "dev-trunk": "1.1.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "A custom installer plugin for Composer to move Jetpack packages out of `vendor/` so WordPress's translation infrastructure will find their strings.", - "keywords": ["composer", "i18n", "jetpack", "plugin"], - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-config", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/config", - "reference": "6a05cd2a4f161c97adb8c7ac698d7bb1e2397594" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-config", - "textdomain": "jetpack-config", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-config/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.15.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Jetpack configuration package that initializes other packages and configures Jetpack's functionality. Can be used as a base for all variants of Jetpack package usage.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-connection", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/connection", - "reference": "3e9d40adbe49f562b5b22ce9b463a00196a61f00" - }, - "require": { - "automattic/jetpack-a8c-mc-stats": "@dev", - "automattic/jetpack-admin-ui": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-redirect": "@dev", - "automattic/jetpack-roles": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-connection", - "textdomain": "jetpack-connection", - "version-constants": { - "::PACKAGE_VERSION": "src/class-package-version.php" - }, - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-connection/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.57.x-dev" - } - }, - "autoload": { - "classmap": ["legacy", "src/", "src/webhooks"] - }, - "scripts": { - "build-production": ["pnpm run build-production"], - "build-development": ["pnpm run build"], - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Everything needed to connect to the Jetpack infrastructure", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-constants", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/constants", - "reference": "17a0eb51bb039041e3f37c6cd76b5c9bc0110fde" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-constants", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-constants/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.6.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "A wrapper for defining constants in a more testable way.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-device-detection", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/device-detection", - "reference": "fef1f53b844143c5358061d969d7472bb321af18" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-device-detection", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-device-detection/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.4.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "A way to detect device types based on User-Agent header.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-error", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/error", - "reference": "b2883221ca1decbbb5d0b39f9f8cdc76e869448f" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-error", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-error/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.3.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Jetpack Error - a wrapper around WP_Error.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-forms", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/forms", - "reference": "49262f20846dd58b8c7d71423f52491379afa76e" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-blocks": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/wordbless": "^0.4.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-forms", - "changelogger": { - "link-template": "https://github.com/automattic/jetpack-forms/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.21.x-dev" - }, - "textdomain": "jetpack-forms", - "version-constants": { - "::PACKAGE_VERSION": "src/class-jetpack-forms.php" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "build-production": ["pnpm run build-production"], - "build-development": ["pnpm run build"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Jetpack Forms", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-google-fonts-provider", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/google-fonts-provider", - "reference": "72bc00c2292da37a578ec11b140982ba756492da" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-google-fonts-provider", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-google-fonts-provider/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.5.x-dev" - }, - "textdomain": "jetpack-google-fonts-provider" - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "WordPress Webfonts provider for Google Fonts", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-identity-crisis", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/identity-crisis", - "reference": "bdb1408d3bb21f92d0d920bc6c7fa417238af18f" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-logo": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-identity-crisis", - "textdomain": "jetpack-idc", - "version-constants": { - "::PACKAGE_VERSION": "src/class-identity-crisis.php" - }, - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-identity-crisis/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.10.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "build-development": ["pnpm run build"], - "build-production": ["NODE_ENV='production' pnpm run build"], - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Identity Crisis.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-image-cdn", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/image-cdn", - "reference": "8f0e7e98f7416857ceb9aff528869d90164e4985" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "mirror-repo": "Automattic/jetpack-image-cdn", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-image-cdn/compare/v${old}...v${new}" - }, - "autotagger": true, - "branch-alias": { - "dev-trunk": "0.2.x-dev" - }, - "textdomain": "jetpack-image-cdn", - "version-constants": { - "::PACKAGE_VERSION": "src/class-image-cdn.php" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "build-production": ["pnpm run build-production"], - "build-development": ["pnpm run build"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Serve images through Jetpack's powerful CDN", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-import", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/import", - "reference": "342e240002782ee069e2871d3ad73e5c010eac35" - }, - "require": { - "automattic/jetpack-connection": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "mirror-repo": "Automattic/jetpack-import", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-import/compare/v${old}...v${new}" - }, - "autotagger": true, - "branch-alias": { - "dev-trunk": "0.7.x-dev" - }, - "textdomain": "jetpack-import", - "version-constants": { - "::PACKAGE_VERSION": "src/class-main.php" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "build-production": ["echo 'Add your build step to composer.json, please!'"], - "build-development": ["echo 'Add your build step to composer.json, please!'"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Set of REST API routes used in WPCOM Unified Importer.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-ip", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/ip", - "reference": "5ac9a7f37b867264b745c581597351ff389e6640" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-ip", - "changelogger": { - "link-template": "https://github.com/automattic/jetpack-ip/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.1.x-dev" - }, - "textdomain": "jetpack-ip", - "version-constants": { - "::PACKAGE_VERSION": "src/class-utils.php" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Utilities for working with IP addresses.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-jitm", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/jitm", - "reference": "3b5f4e2030b1dd42dfc17a85a457da86a124b208" - }, - "require": { - "automattic/jetpack-a8c-mc-stats": "@dev", - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-device-detection": "@dev", - "automattic/jetpack-logo": "@dev", - "automattic/jetpack-partner": "@dev", - "automattic/jetpack-redirect": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-jitm", - "textdomain": "jetpack-jitm", - "version-constants": { - "::PACKAGE_VERSION": "src/class-jitm.php" - }, - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-jitm/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "2.3.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "build-production": ["pnpm run build-production"], - "build-development": ["pnpm run build"], - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Just in time messages for Jetpack", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-lazy-images", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/lazy-images", - "reference": "e6b79362f4856459234f1fe50fb8e560ef586b3e" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-constants": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-lazy-images", - "textdomain": "jetpack-lazy-images", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-lazy-images/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "2.1.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "build-production": ["pnpm run build-production"], - "build-development": ["pnpm run build"], - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Speed up your site and create a smoother viewing experience by loading images as visitors scroll down the screen, instead of all at once.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-licensing", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/licensing", - "reference": "f721e8bb190e8f3f819032600242e811a567950f" - }, - "require": { - "automattic/jetpack-connection": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-licensing", - "textdomain": "jetpack-licensing", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-licensing/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.8.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Everything needed to manage Jetpack licenses client-side.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-logo", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/logo", - "reference": "c5c4c3918c9e6ae4da34f413a28a6d82d360aeab" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-logo", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-logo/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.6.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "A logo for Jetpack", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-my-jetpack", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/my-jetpack", - "reference": "8c7e56e6c97632cf8fff1285acff16362892e0ac" - }, - "require": { - "automattic/jetpack-admin-ui": "@dev", - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-jitm": "@dev", - "automattic/jetpack-licensing": "@dev", - "automattic/jetpack-plugins-installer": "@dev", - "automattic/jetpack-redirect": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/jetpack-videopress": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-my-jetpack", - "textdomain": "jetpack-my-jetpack", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}" - }, - "branch-alias": { - "dev-trunk": "3.4.x-dev" - }, - "version-constants": { - "::PACKAGE_VERSION": "src/class-initializer.php" - } - }, - "autoload": { - "classmap": ["src/", "src/products"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "test-js": ["pnpm run test"], - "test-js-watch": ["Composer\\Config::disableProcessTimeout", "pnpm run test --watch"], - "build-development": ["pnpm run build"], - "build-production": ["NODE_ENV=production pnpm run build"], - "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] - }, - "license": ["GPL-2.0-or-later"], - "description": "WP Admin page with information and configuration shared among all Jetpack stand-alone plugins", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-partner", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/partner", - "reference": "617ebd443fc95dbd3e907b463eed621506da8e31" - }, - "require": { - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-partner", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-partner/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.7.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Support functions for Jetpack hosting partners.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-password-checker", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/password-checker", - "reference": "7a26ef21f1404281666043cead8bf1669d120154" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-password-checker", - "textdomain": "jetpack-password-checker", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-password-checker/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.2.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Password Checker.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-plans", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/plans", - "reference": "86261db42c82c72b7e452d58f7f87e688166ebf4" - }, - "require": { - "automattic/jetpack-connection": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/jetpack-status": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-plans", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-plans/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.3.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "build-production": ["echo 'Add your build step to composer.json, please!'"], - "build-development": ["echo 'Add your build step to composer.json, please!'"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Fetch information about Jetpack Plans from wpcom", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-plugins-installer", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/plugins-installer", - "reference": "f9df3642af412f0b65e6318fe701deffa501aed8" - }, - "require": { - "automattic/jetpack-a8c-mc-stats": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "branch-alias": { - "dev-trunk": "0.2.x-dev" - }, - "mirror-repo": "Automattic/jetpack-plugins-installer", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-plugins-installer/compare/v${old}...v${new}" - }, - "autotagger": true, - "textdomain": "jetpack-plugins-installer" - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Handle installation of plugins from WP.org", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-post-list", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/post-list", - "reference": "d028ad43152f1d8c9e799b259831552c6d5d2225" - }, - "require": { - "automattic/jetpack-assets": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-post-list", - "textdomain": "jetpack-post-list", - "version-constants": { - "::PACKAGE_VERSION": "src/class-post-list.php" - }, - "changelogger": { - "link-template": "https://github.com/automattic/jetpack-post-list/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.4.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Enhance the classic view of the Admin section of your WordPress site", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-publicize", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/publicize", - "reference": "d4eb5b05c8e2b8564ce93f8de8326176d6fbd93e" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-autoloader": "@dev", - "automattic/jetpack-config": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-plans": "@dev", - "automattic/jetpack-redirect": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "0.4.2", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-publicize", - "textdomain": "jetpack-publicize-pkg", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-publicize/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.36.x-dev" - } - }, - "autoload": { - "classmap": ["src/"], - "files": ["src/social-image-generator/utilities.php"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "build-development": ["pnpm run build"], - "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"], - "build-production": ["pnpm run build-production-concurrently"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Publicize makes it easy to share your site’s posts on several social media networks automatically when you publish a new post.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-redirect", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/redirect", - "reference": "41485d7ae484bbdf8cd540fe210fc8a950739e4a" - }, - "require": { - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-redirect", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-redirect/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.7.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Utilities to build URLs to the jetpack.com/redirect/ service", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-roles", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/roles", - "reference": "c3300863025c6a3f2cb1705a67ab77d2946e87dc" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-roles", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-roles/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.4.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Utilities, related with user roles and capabilities.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-search", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/search", - "reference": "f69299e3e47bb9f736f31cf3e1f65f036d9dfde2" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-config": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-my-jetpack": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "0.4.2", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-search", - "textdomain": "jetpack-search-pkg", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-search/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.38.x-dev" - }, - "version-constants": { - "::VERSION": "src/class-package.php" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "build": ["Composer\\Config::disableProcessTimeout", "pnpm run build"], - "build-development": ["pnpm run build-development"], - "build-production": ["pnpm run build-production"], - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-js": ["pnpm run test"], - "test-php": ["@composer phpunit"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Tools to assist with enabling cloud search for Jetpack sites.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-stats", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/stats", - "reference": "a904c2760d51bdc5cf7a74d94f5dce864ad91bed" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-stats", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-stats/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.6.x-dev" - }, - "textdomain": "jetpack-stats" - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Collect valuable traffic stats and insights.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-stats-admin", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/stats-admin", - "reference": "19d4faeda9ea583a365db86e92e7d26ca73d4415" - }, - "require": { - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-jitm": "@dev", - "automattic/jetpack-plans": "@dev", - "automattic/jetpack-stats": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "dev-master", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-stats-admin", - "branch-alias": { - "dev-trunk": "0.12.x-dev" - }, - "textdomain": "jetpack-stats-admin", - "version-constants": { - "::VERSION": "src/class-main.php" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "build-production": ["echo 'Add your build step to composer.json, please!'"], - "build-development": ["echo 'Add your build step to composer.json, please!'"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Stats Dashboard", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-status", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/status", - "reference": "f7cb46ce4ddb975b79fd27163da1a908888322d6" - }, - "require": { - "automattic/jetpack-constants": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/jetpack-ip": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-status", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-status/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.18.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Used to retrieve information about the current status of Jetpack and the site overall.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-sync", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/sync", - "reference": "52f24108a1066efeb6d1a214fd2d40f286631539" - }, - "require": { - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-identity-crisis": "@dev", - "automattic/jetpack-ip": "@dev", - "automattic/jetpack-password-checker": "@dev", - "automattic/jetpack-roles": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-sync", - "textdomain": "jetpack-sync", - "version-constants": { - "::PACKAGE_VERSION": "src/class-package-version.php" - }, - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "1.56.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Everything needed to allow syncing to the WP.com infrastructure.", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-videopress", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/videopress", - "reference": "5f37a24f44baeeb237537d9b899007d8014b42c3" - }, - "require": { - "automattic/jetpack-admin-ui": "@dev", - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-plans": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-videopress", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-videopress/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.15.x-dev" - }, - "version-constants": { - "::PACKAGE_VERSION": "src/class-package-version.php" - }, - "textdomain": "jetpack-videopress-pkg" - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "test-js": ["pnpm run test"], - "build-production": ["NODE_ENV=production BABEL_ENV=production pnpm run build"], - "build-development": ["pnpm run build"], - "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"] - }, - "license": ["GPL-2.0-or-later"], - "description": "VideoPress package", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-waf", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/waf", - "reference": "cbb27b249e7c79ba0d70f7d190e584b0d286440d" - }, - "require": { - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-ip": "@dev", - "automattic/jetpack-status": "@dev", - "wikimedia/aho-corasick": "^1.0" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "automattic/wordbless": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "autotagger": true, - "mirror-repo": "Automattic/jetpack-waf", - "textdomain": "jetpack-waf", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-waf/compare/v${old}...v${new}" - }, - "branch-alias": { - "dev-trunk": "0.11.x-dev" - } - }, - "autoload": { - "files": ["cli.php"], - "classmap": ["src/"] - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/integration/phpunit.xml.dist --colors=always", - "./vendor/phpunit/phpunit/phpunit --configuration tests/php/unit/phpunit.xml.dist --colors=always" - ], - "post-install-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "post-update-cmd": ["WorDBless\\Composer\\InstallDropin::copy"], - "test-coverage-html": [ - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/integration/phpunit.xml.dist", - "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/unit/phpunit.xml.dist" - ], - "test-php": ["@composer phpunit"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Tools to assist with the Jetpack Web Application Firewall", - "transport-options": { - "relative": true - } - }, - { - "name": "automattic/jetpack-wordads", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/wordads", - "reference": "ea2e71b8dd1d509f1a34a3b01dfcf42d6d8673b8" - }, - "require": { - "automattic/jetpack-assets": "@dev", - "automattic/jetpack-config": "@dev", - "automattic/jetpack-connection": "@dev", - "automattic/jetpack-constants": "@dev", - "automattic/jetpack-status": "@dev" - }, - "require-dev": { - "automattic/jetpack-changelogger": "@dev", - "yoast/phpunit-polyfills": "1.1.0" - }, - "suggest": { - "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." - }, - "type": "jetpack-library", - "extra": { - "mirror-repo": "Automattic/jetpack-wordads", - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-wordads/compare/v${old}...v${new}" - }, - "autotagger": true, - "branch-alias": { - "dev-trunk": "0.2.x-dev" - }, - "textdomain": "jetpack-wordads", - "version-constants": { - "::VERSION": "src/class-package.php" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "scripts": { - "build": ["Composer\\Config::disableProcessTimeout", "pnpm run build"], - "build-development": ["pnpm run build-development"], - "build-production": ["pnpm run build-production"], - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-js": ["pnpm run test"], - "test-php": ["@composer phpunit"], - "watch": ["Composer\\Config::disableProcessTimeout", "pnpm run watch"] - }, - "license": ["GPL-2.0-or-later"], - "description": "Earn income by allowing Jetpack to display high quality ads.", - "transport-options": { - "relative": true - } - }, - { - "name": "nojimage/twitter-text-php", - "version": "v3.1.2", - "source": { - "type": "git", - "url": "https://github.com/nojimage/twitter-text-php.git", - "reference": "979bcf6a92d543b61588c7c0c0a87d0eb473d8f6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nojimage/twitter-text-php/zipball/979bcf6a92d543b61588c7c0c0a87d0eb473d8f6", - "reference": "979bcf6a92d543b61588c7c0c0a87d0eb473d8f6", - "shasum": "" - }, - "require": { - "ext-intl": "*", - "ext-mbstring": "*", - "php": ">=5.3.3" - }, - "require-dev": { - "ext-json": "*", - "phpunit/phpunit": "4.8.*|5.7.*|6.5.*", - "symfony/yaml": "^2.6.0|^3.4.0|^4.4.0|^5.0.0", - "twitter/twitter-text": "^3.0.0" - }, - "type": "library", - "autoload": { - "psr-0": { - "Twitter\\Text\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["Apache-2.0"], - "authors": [ - { - "name": "Matt Sanford", - "email": "matt@mzsanford.com", - "homepage": "http://mzsanford.com" - }, - { - "name": "Mike Cochrane", - "email": "mikec@mikenz.geek.nz", - "homepage": "http://mikenz.geek.nz" - }, - { - "name": "Nick Pope", - "email": "git@nickpope.me.uk", - "homepage": "http://www.nickpope.me.uk" - }, - { - "name": "Takashi Nojima", - "homepage": "http://php-tips.com" - } - ], - "description": "A library of PHP classes that provide auto-linking and extraction of usernames, lists, hashtags and URLs from tweets.", - "homepage": "https://github.com/nojimage/twitter-text-php", - "keywords": ["autolink", "extract", "text", "twitter"], - "support": { - "issues": "https://github.com/nojimage/twitter-text-php/issues", - "source": "https://github.com/nojimage/twitter-text-php/tree/v3.1.2" - }, - "time": "2021-03-18T11:38:53+00:00" - }, - { - "name": "wikimedia/aho-corasick", - "version": "v1.0.1", - "source": { - "type": "git", - "url": "https://github.com/wikimedia/AhoCorasick.git", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wikimedia/AhoCorasick/zipball/2f3a1bd765913637a66eade658d11d82f0e551be", - "reference": "2f3a1bd765913637a66eade658d11d82f0e551be", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "jakub-onderka/php-console-highlighter": "0.3.2", - "jakub-onderka/php-parallel-lint": "1.0.0", - "mediawiki/mediawiki-codesniffer": "18.0.0", - "mediawiki/minus-x": "0.3.1", - "phpunit/phpunit": "4.8.36 || ^6.5" - }, - "type": "library", - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["Apache-2.0"], - "authors": [ - { - "name": "Ori Livneh", - "email": "ori@wikimedia.org" - } - ], - "description": "An implementation of the Aho-Corasick string matching algorithm.", - "homepage": "https://gerrit.wikimedia.org/g/AhoCorasick", - "keywords": ["ahocorasick", "matcher"], - "support": { - "source": "https://github.com/wikimedia/AhoCorasick/tree/v1.0.1" - }, - "time": "2018-05-01T18:13:32+00:00" - } - ], - "packages-dev": [ - { - "name": "antecedent/patchwork", - "version": "2.1.25", - "source": { - "type": "git", - "url": "https://github.com/antecedent/patchwork.git", - "reference": "17314e042d45e0dacb0a494c2d1ef50e7621136a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/antecedent/patchwork/zipball/17314e042d45e0dacb0a494c2d1ef50e7621136a", - "reference": "17314e042d45e0dacb0a494c2d1ef50e7621136a", - "shasum": "" - }, - "require": { - "php": ">=5.4.0" - }, - "require-dev": { - "phpunit/phpunit": ">=4" - }, - "type": "library", - "notification-url": "https://packagist.org/downloads/", - "license": ["MIT"], - "authors": [ - { - "name": "Ignas Rudaitis", - "email": "ignas.rudaitis@gmail.com" - } - ], - "description": "Method redefinition (monkey-patching) functionality for PHP.", - "homepage": "http://patchwork2.org/", - "keywords": [ - "aop", - "aspect", - "interception", - "monkeypatching", - "redefinition", - "runkit", - "testing" - ], - "support": { - "issues": "https://github.com/antecedent/patchwork/issues", - "source": "https://github.com/antecedent/patchwork/tree/2.1.25" - }, - "time": "2023-02-19T12:51:24+00:00" - }, - { - "name": "automattic/jetpack-changelogger", - "version": "dev-trunk", - "dist": { - "type": "path", - "url": "../../packages/changelogger", - "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1" - }, - "require": { - "php": ">=5.6", - "symfony/console": "^3.4 || ^5.2 || ^6.0", - "symfony/process": "^3.4 || ^5.2 || ^6.0", - "wikimedia/at-ease": "^1.2 || ^2.0" - }, - "require-dev": { - "wikimedia/testing-access-wrapper": "^1.0 || ^2.0", - "yoast/phpunit-polyfills": "1.1.0" - }, - "bin": ["bin/changelogger"], - "type": "project", - "extra": { - "autotagger": true, - "branch-alias": { - "dev-trunk": "3.3.x-dev" - }, - "mirror-repo": "Automattic/jetpack-changelogger", - "version-constants": { - "::VERSION": "src/Application.php" - }, - "changelogger": { - "link-template": "https://github.com/Automattic/jetpack-changelogger/compare/${old}...${new}" - } - }, - "autoload": { - "psr-4": { - "Automattic\\Jetpack\\Changelogger\\": "src", - "Automattic\\Jetpack\\Changelog\\": "lib" - } - }, - "autoload-dev": { - "psr-4": { - "Automattic\\Jetpack\\Changelogger\\Tests\\": "tests/php/includes/src", - "Automattic\\Jetpack\\Changelog\\Tests\\": "tests/php/includes/lib" - } - }, - "scripts": { - "phpunit": ["./vendor/phpunit/phpunit/phpunit --colors=always"], - "test-php": ["@composer phpunit"], - "post-install-cmd": [ - "[ -e vendor/bin/changelogger ] || { cd vendor/bin && ln -s ../../bin/changelogger; }" - ], - "post-update-cmd": [ - "[ -e vendor/bin/changelogger ] || { cd vendor/bin && ln -s ../../bin/changelogger; }" - ] - }, - "license": ["GPL-2.0-or-later"], - "description": "Jetpack Changelogger tool. Allows for managing changelogs by dropping change files into a changelog directory with each PR.", - "keywords": ["changelog", "cli", "dev", "keepachangelog"], - "transport-options": { - "relative": true - } - }, - { - "name": "doctrine/instantiator", - "version": "2.0.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "shasum": "" - }, - "require": { - "php": "^8.1" - }, - "require-dev": { - "doctrine/coding-standard": "^11", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^1.2", - "phpstan/phpstan": "^1.9.4", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5.27", - "vimeo/psalm": "^5.4" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["MIT"], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", - "keywords": ["constructor", "instantiate"], - "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/2.0.0" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } - ], - "time": "2022-12-30T00:23:10+00:00" - }, - { - "name": "johnkary/phpunit-speedtrap", - "version": "v4.0.1", - "source": { - "type": "git", - "url": "https://github.com/johnkary/phpunit-speedtrap.git", - "reference": "d6600d2218396b78856c335f83479503957a5fa9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/johnkary/phpunit-speedtrap/zipball/d6600d2218396b78856c335f83479503957a5fa9", - "reference": "d6600d2218396b78856c335f83479503957a5fa9", - "shasum": "" - }, - "require": { - "php": ">=7.1", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "psr-4": { - "JohnKary\\PHPUnit\\Listener\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["MIT"], - "authors": [ - { - "name": "John Kary", - "email": "john@johnkary.net" - } - ], - "description": "Find and report on slow tests in your PHPUnit test suite", - "homepage": "https://github.com/johnkary/phpunit-speedtrap", - "keywords": ["phpunit", "profile", "slow"], - "support": { - "issues": "https://github.com/johnkary/phpunit-speedtrap/issues", - "source": "https://github.com/johnkary/phpunit-speedtrap/tree/v4.0.1" - }, - "time": "2022-10-17T00:56:56+00:00" - }, - { - "name": "myclabs/deep-copy", - "version": "1.11.1", - "source": { - "type": "git", - "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", - "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "conflict": { - "doctrine/collections": "<1.6.8", - "doctrine/common": "<2.13.3 || >=3,<3.2.2" - }, - "require-dev": { - "doctrine/collections": "^1.6.8", - "doctrine/common": "^2.13.3 || ^3.2.2", - "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" - }, - "type": "library", - "autoload": { - "files": ["src/DeepCopy/deep_copy.php"], - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["MIT"], - "description": "Create deep copies (clones) of your objects", - "keywords": ["clone", "copy", "duplicate", "object", "object graph"], - "support": { - "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" - }, - "funding": [ - { - "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", - "type": "tidelift" - } - ], - "time": "2023-03-08T13:26:56+00:00" - }, - { - "name": "nikic/php-parser", - "version": "v4.17.1", - "source": { - "type": "git", - "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", - "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", - "shasum": "" - }, - "require": { - "ext-tokenizer": "*", - "php": ">=7.0" - }, - "require-dev": { - "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" - }, - "bin": ["bin/php-parse"], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.9-dev" - } - }, - "autoload": { - "psr-4": { - "PhpParser\\": "lib/PhpParser" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Nikita Popov" - } - ], - "description": "A PHP parser written in PHP", - "keywords": ["parser", "php"], - "support": { - "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" - }, - "time": "2023-08-13T19:53:39+00:00" - }, - { - "name": "phar-io/manifest", - "version": "2.0.3", - "source": { - "type": "git", - "url": "https://github.com/phar-io/manifest.git", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-phar": "*", - "ext-xmlwriter": "*", - "phar-io/version": "^3.0.1", - "php": "^7.2 || ^8.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, - { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "Developer" - } - ], - "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", - "support": { - "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/2.0.3" - }, - "time": "2021-07-20T11:28:43+00:00" - }, - { - "name": "phar-io/version", - "version": "3.2.1", - "source": { - "type": "git", - "url": "https://github.com/phar-io/version.git", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "type": "library", - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, - { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "Developer" - } - ], - "description": "Library for handling version information and constraints", - "support": { - "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/3.2.1" - }, - "time": "2022-02-21T01:04:05+00:00" - }, - { - "name": "phpunit/php-code-coverage", - "version": "9.2.27", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "b0a88255cb70d52653d80c890bd7f38740ea50d1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/b0a88255cb70d52653d80c890bd7f38740ea50d1", - "reference": "b0a88255cb70d52653d80c890bd7f38740ea50d1", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-libxml": "*", - "ext-xmlwriter": "*", - "nikic/php-parser": "^4.15", - "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.3", - "phpunit/php-text-template": "^2.0.2", - "sebastian/code-unit-reverse-lookup": "^2.0.2", - "sebastian/complexity": "^2.0", - "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0.3", - "sebastian/version": "^3.0.1", - "theseer/tokenizer": "^1.2.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-pcov": "PHP extension that provides line coverage", - "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "9.2-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", - "homepage": "https://github.com/sebastianbergmann/php-code-coverage", - "keywords": ["coverage", "testing", "xunit"], - "support": { - "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.27" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-07-26T13:44:30+00:00" - }, - { - "name": "phpunit/php-file-iterator", - "version": "3.0.6", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", - "keywords": ["filesystem", "iterator"], - "support": { - "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2021-12-02T12:48:52+00:00" - }, - { - "name": "phpunit/php-invoker", - "version": "3.1.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "ext-pcntl": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-pcntl": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Invoke callables with a timeout", - "homepage": "https://github.com/sebastianbergmann/php-invoker/", - "keywords": ["process"], - "support": { - "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T05:58:55+00:00" - }, - { - "name": "phpunit/php-text-template", - "version": "2.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", - "keywords": ["template"], - "support": { - "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T05:33:50+00:00" - }, - { - "name": "phpunit/php-timer", - "version": "5.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Utility class for timing", - "homepage": "https://github.com/sebastianbergmann/php-timer/", - "keywords": ["timer"], - "support": { - "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:16:10+00:00" - }, - { - "name": "phpunit/phpunit", - "version": "9.6.11", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "810500e92855eba8a7a5319ae913be2da6f957b0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/810500e92855eba8a7a5319ae913be2da6f957b0", - "reference": "810500e92855eba8a7a5319ae913be2da6f957b0", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.3.1 || ^2", - "ext-dom": "*", - "ext-json": "*", - "ext-libxml": "*", - "ext-mbstring": "*", - "ext-xml": "*", - "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.10.1", - "phar-io/manifest": "^2.0.3", - "phar-io/version": "^3.0.2", - "php": ">=7.3", - "phpunit/php-code-coverage": "^9.2.13", - "phpunit/php-file-iterator": "^3.0.5", - "phpunit/php-invoker": "^3.1.1", - "phpunit/php-text-template": "^2.0.3", - "phpunit/php-timer": "^5.0.2", - "sebastian/cli-parser": "^1.0.1", - "sebastian/code-unit": "^1.0.6", - "sebastian/comparator": "^4.0.8", - "sebastian/diff": "^4.0.3", - "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.5", - "sebastian/global-state": "^5.0.1", - "sebastian/object-enumerator": "^4.0.3", - "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^3.2", - "sebastian/version": "^3.0.2" - }, - "suggest": { - "ext-soap": "To be able to generate mocks based on WSDL files", - "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" - }, - "bin": ["phpunit"], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "9.6-dev" - } - }, - "autoload": { - "files": ["src/Framework/Assert/Functions.php"], - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "The PHP Unit Testing framework.", - "homepage": "https://phpunit.de/", - "keywords": ["phpunit", "testing", "xunit"], - "support": { - "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.11" - }, - "funding": [ - { - "url": "https://phpunit.de/sponsors.html", - "type": "custom" - }, - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", - "type": "tidelift" - } - ], - "time": "2023-08-19T07:10:56+00:00" - }, - { - "name": "psr/container", - "version": "2.0.2", - "source": { - "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "shasum": "" - }, - "require": { - "php": ">=7.4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Container\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["MIT"], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", - "keywords": ["PSR-11", "container", "container-interface", "container-interop", "psr"], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/2.0.2" - }, - "time": "2021-11-05T16:47:00+00:00" - }, - { - "name": "sebastian/cli-parser", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for parsing CLI options", - "homepage": "https://github.com/sebastianbergmann/cli-parser", - "support": { - "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:08:49+00:00" - }, - { - "name": "sebastian/code-unit", - "version": "1.0.8", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Collection of value objects that represent the PHP code units", - "homepage": "https://github.com/sebastianbergmann/code-unit", - "support": { - "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:08:54+00:00" - }, - { - "name": "sebastian/code-unit-reverse-lookup", - "version": "2.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Looks up which function or method a line of code belongs to", - "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "support": { - "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T05:30:19+00:00" - }, - { - "name": "sebastian/comparator", - "version": "4.0.8", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/diff": "^4.0", - "sebastian/exporter": "^4.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - } - ], - "description": "Provides the functionality to compare PHP values for equality", - "homepage": "https://github.com/sebastianbergmann/comparator", - "keywords": ["comparator", "compare", "equality"], - "support": { - "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-09-14T12:41:17+00:00" - }, - { - "name": "sebastian/complexity", - "version": "2.0.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", - "shasum": "" - }, - "require": { - "nikic/php-parser": "^4.7", - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for calculating the complexity of PHP code units", - "homepage": "https://github.com/sebastianbergmann/complexity", - "support": { - "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T15:52:27+00:00" - }, - { - "name": "sebastian/diff", - "version": "4.0.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3", - "symfony/process": "^4.2 || ^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - } - ], - "description": "Diff implementation", - "homepage": "https://github.com/sebastianbergmann/diff", - "keywords": ["diff", "udiff", "unidiff", "unified diff"], - "support": { - "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-05-07T05:35:17+00:00" - }, - { - "name": "sebastian/environment", - "version": "5.1.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-posix": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", - "keywords": ["Xdebug", "environment", "hhvm"], - "support": { - "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-02-03T06:03:51+00:00" - }, - { - "name": "sebastian/exporter", - "version": "4.0.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/recursion-context": "^4.0" - }, - "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "https://www.github.com/sebastianbergmann/exporter", - "keywords": ["export", "exporter"], - "support": { - "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-09-14T06:03:37+00:00" - }, - { - "name": "sebastian/global-state", - "version": "5.0.6", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bde739e7565280bda77be70044ac1047bc007e34" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", - "reference": "bde739e7565280bda77be70044ac1047bc007e34", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" - }, - "require-dev": { - "ext-dom": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-uopz": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", - "keywords": ["global state"], - "support": { - "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-08-02T09:26:13+00:00" - }, - { - "name": "sebastian/lines-of-code", - "version": "1.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "shasum": "" - }, - "require": { - "nikic/php-parser": "^4.6", - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for counting the lines of code in PHP source code", - "homepage": "https://github.com/sebastianbergmann/lines-of-code", - "support": { - "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-11-28T06:42:11+00:00" - }, - { - "name": "sebastian/object-enumerator", - "version": "4.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Traverses array structures and object graphs to enumerate all referenced objects", - "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "support": { - "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:12:34+00:00" - }, - { - "name": "sebastian/object-reflector", - "version": "2.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Allows reflection of object attributes, including inherited and non-public ones", - "homepage": "https://github.com/sebastianbergmann/object-reflector/", - "support": { - "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:14:26+00:00" - }, - { - "name": "sebastian/recursion-context", - "version": "4.0.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - } - ], - "description": "Provides functionality to recursively process PHP variables", - "homepage": "https://github.com/sebastianbergmann/recursion-context", - "support": { - "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-02-03T06:07:39+00:00" - }, - { - "name": "sebastian/resource-operations", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:45:17+00:00" - }, - { - "name": "sebastian/type", - "version": "3.2.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/type.git", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.2-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Collection of value objects that represent the types of the PHP type system", - "homepage": "https://github.com/sebastianbergmann/type", - "support": { - "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-02-03T06:13:03+00:00" - }, - { - "name": "sebastian/version", - "version": "3.0.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c6c1022351a901512170118436c764e473f6de8c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", - "reference": "c6c1022351a901512170118436c764e473f6de8c", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", - "support": { - "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:39:44+00:00" - }, - { - "name": "symfony/console", - "version": "v6.3.2", - "source": { - "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "aa5d64ad3f63f2e48964fc81ee45cb318a723898" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/aa5d64ad3f63f2e48964fc81ee45cb318a723898", - "reference": "aa5d64ad3f63f2e48964fc81ee45cb318a723898", - "shasum": "" - }, - "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3", - "symfony/polyfill-mbstring": "~1.0", - "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^5.4|^6.0" - }, - "conflict": { - "symfony/dependency-injection": "<5.4", - "symfony/dotenv": "<5.4", - "symfony/event-dispatcher": "<5.4", - "symfony/lock": "<5.4", - "symfony/process": "<5.4" - }, - "provide": { - "psr/log-implementation": "1.0|2.0|3.0" - }, - "require-dev": { - "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/lock": "^5.4|^6.0", - "symfony/process": "^5.4|^6.0", - "symfony/var-dumper": "^5.4|^6.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Console\\": "" - }, - "exclude-from-classmap": ["/Tests/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["MIT"], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Eases the creation of beautiful and testable command line interfaces", - "homepage": "https://symfony.com", - "keywords": ["cli", "command-line", "console", "terminal"], - "support": { - "source": "https://github.com/symfony/console/tree/v6.3.2" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-07-19T20:17:28+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "v3.3.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.4-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "files": ["function.php"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["MIT"], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.3.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-05-23T14:45:45+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": ["bootstrap.php"], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["MIT"], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": ["compatibility", "ctype", "polyfill", "portable"], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "511a08c03c1960e08a883f4cffcacd219b758354" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", - "reference": "511a08c03c1960e08a883f4cffcacd219b758354", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": ["bootstrap.php"], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["MIT"], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": ["compatibility", "grapheme", "intl", "polyfill", "portable", "shim"], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": ["bootstrap.php"], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": ["Resources/stubs"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["MIT"], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": ["compatibility", "intl", "normalizer", "polyfill", "portable", "shim"], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": ["bootstrap.php"], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["MIT"], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": ["compatibility", "mbstring", "polyfill", "portable", "shim"], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" - }, - { - "name": "symfony/process", - "version": "v6.3.2", - "source": { - "type": "git", - "url": "https://github.com/symfony/process.git", - "reference": "c5ce962db0d9b6e80247ca5eb9af6472bd4d7b5d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/c5ce962db0d9b6e80247ca5eb9af6472bd4d7b5d", - "reference": "c5ce962db0d9b6e80247ca5eb9af6472bd4d7b5d", - "shasum": "" - }, - "require": { - "php": ">=8.1" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Process\\": "" - }, - "exclude-from-classmap": ["/Tests/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["MIT"], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Executes commands in sub-processes", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/process/tree/v6.3.2" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-07-12T16:00:22+00:00" - }, - { - "name": "symfony/service-contracts", - "version": "v3.3.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/service-contracts.git", - "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", - "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", - "shasum": "" - }, - "require": { - "php": ">=8.1", - "psr/container": "^2.0" - }, - "conflict": { - "ext-psr": "<1.1|>=2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.4-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\Service\\": "" - }, - "exclude-from-classmap": ["/Test/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["MIT"], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Generic abstractions related to writing services", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.3.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-05-23T14:45:45+00:00" - }, - { - "name": "symfony/string", - "version": "v6.3.2", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "53d1a83225002635bca3482fcbf963001313fb68" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/53d1a83225002635bca3482fcbf963001313fb68", - "reference": "53d1a83225002635bca3482fcbf963001313fb68", - "shasum": "" - }, - "require": { - "php": ">=8.1", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.0", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/translation-contracts": "<2.5" - }, - "require-dev": { - "symfony/error-handler": "^5.4|^6.0", - "symfony/http-client": "^5.4|^6.0", - "symfony/intl": "^6.2", - "symfony/translation-contracts": "^2.5|^3.0", - "symfony/var-exporter": "^5.4|^6.0" - }, - "type": "library", - "autoload": { - "files": ["Resources/functions.php"], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": ["/Tests/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["MIT"], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": ["grapheme", "i18n", "string", "unicode", "utf-8", "utf8"], - "support": { - "source": "https://github.com/symfony/string/tree/v6.3.2" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-07-05T08:41:27+00:00" - }, - { - "name": "theseer/tokenizer", - "version": "1.2.1", - "source": { - "type": "git", - "url": "https://github.com/theseer/tokenizer.git", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": "^7.2 || ^8.0" - }, - "type": "library", - "autoload": { - "classmap": ["src/"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - } - ], - "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", - "support": { - "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.1" - }, - "funding": [ - { - "url": "https://github.com/theseer", - "type": "github" - } - ], - "time": "2021-07-28T10:34:58+00:00" - }, - { - "name": "wikimedia/at-ease", - "version": "v2.1.0", - "source": { - "type": "git", - "url": "https://github.com/wikimedia/at-ease.git", - "reference": "e8ebaa7bb7c8a8395481a05f6dc4deaceab11c33" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wikimedia/at-ease/zipball/e8ebaa7bb7c8a8395481a05f6dc4deaceab11c33", - "reference": "e8ebaa7bb7c8a8395481a05f6dc4deaceab11c33", - "shasum": "" - }, - "require": { - "php": ">=7.2.9" - }, - "require-dev": { - "mediawiki/mediawiki-codesniffer": "35.0.0", - "mediawiki/minus-x": "1.1.1", - "ockcyp/covers-validator": "1.3.3", - "php-parallel-lint/php-console-highlighter": "0.5.0", - "php-parallel-lint/php-parallel-lint": "1.2.0", - "phpunit/phpunit": "^8.5" - }, - "type": "library", - "autoload": { - "files": ["src/Wikimedia/Functions.php"], - "psr-4": { - "Wikimedia\\AtEase\\": "src/Wikimedia/AtEase/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["GPL-2.0-or-later"], - "authors": [ - { - "name": "Tim Starling", - "email": "tstarling@wikimedia.org" - }, - { - "name": "MediaWiki developers", - "email": "wikitech-l@lists.wikimedia.org" - } - ], - "description": "Safe replacement to @ for suppressing warnings.", - "homepage": "https://www.mediawiki.org/wiki/at-ease", - "support": { - "source": "https://github.com/wikimedia/at-ease/tree/v2.1.0" - }, - "time": "2021-02-27T15:53:37+00:00" - }, - { - "name": "yoast/phpunit-polyfills", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/Yoast/PHPUnit-Polyfills.git", - "reference": "224e4a1329c03d8bad520e3fc4ec980034a4b212" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/224e4a1329c03d8bad520e3fc4ec980034a4b212", - "reference": "224e4a1329c03d8bad520e3fc4ec980034a4b212", - "shasum": "" - }, - "require": { - "php": ">=5.4", - "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0" - }, - "require-dev": { - "yoast/yoastcs": "^2.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - } - }, - "autoload": { - "files": ["phpunitpolyfills-autoload.php"] - }, - "notification-url": "https://packagist.org/downloads/", - "license": ["BSD-3-Clause"], - "authors": [ - { - "name": "Team Yoast", - "email": "support@yoast.com", - "homepage": "https://yoast.com" - }, - { - "name": "Contributors", - "homepage": "https://github.com/Yoast/PHPUnit-Polyfills/graphs/contributors" - } - ], - "description": "Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests", - "homepage": "https://github.com/Yoast/PHPUnit-Polyfills", - "keywords": ["phpunit", "polyfill", "testing"], - "support": { - "issues": "https://github.com/Yoast/PHPUnit-Polyfills/issues", - "source": "https://github.com/Yoast/PHPUnit-Polyfills" - }, - "time": "2023-08-19T14:25:08+00:00" - } - ], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "automattic/jetpack-a8c-mc-stats": 20, - "automattic/jetpack-abtest": 20, - "automattic/jetpack-action-bar": 20, - "automattic/jetpack-admin-ui": 20, - "automattic/jetpack-assets": 20, - "automattic/jetpack-autoloader": 20, - "automattic/jetpack-backup": 20, - "automattic/jetpack-blaze": 20, - "automattic/jetpack-blocks": 20, - "automattic/jetpack-boost-speed-score": 20, - "automattic/jetpack-compat": 20, - "automattic/jetpack-composer-plugin": 20, - "automattic/jetpack-config": 20, - "automattic/jetpack-connection": 20, - "automattic/jetpack-constants": 20, - "automattic/jetpack-device-detection": 20, - "automattic/jetpack-error": 20, - "automattic/jetpack-forms": 20, - "automattic/jetpack-google-fonts-provider": 20, - "automattic/jetpack-identity-crisis": 20, - "automattic/jetpack-image-cdn": 20, - "automattic/jetpack-import": 20, - "automattic/jetpack-ip": 20, - "automattic/jetpack-jitm": 20, - "automattic/jetpack-lazy-images": 20, - "automattic/jetpack-licensing": 20, - "automattic/jetpack-logo": 20, - "automattic/jetpack-my-jetpack": 20, - "automattic/jetpack-partner": 20, - "automattic/jetpack-plugins-installer": 20, - "automattic/jetpack-post-list": 20, - "automattic/jetpack-publicize": 20, - "automattic/jetpack-redirect": 20, - "automattic/jetpack-roles": 20, - "automattic/jetpack-search": 20, - "automattic/jetpack-stats": 20, - "automattic/jetpack-stats-admin": 20, - "automattic/jetpack-status": 20, - "automattic/jetpack-sync": 20, - "automattic/jetpack-videopress": 20, - "automattic/jetpack-waf": 20, - "automattic/jetpack-wordads": 20, - "automattic/jetpack-changelogger": 20 - }, - "prefer-stable": true, - "prefer-lowest": false, - "platform": { - "ext-fileinfo": "*", - "ext-json": "*", - "ext-openssl": "*" - }, - "platform-dev": [], - "platform-overrides": { - "ext-intl": "0.0.0" - }, - "plugin-api-version": "2.3.0" + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "b9bcfa2ce9f5709c3acfe034384c8885", + "packages": [ + { + "name": "automattic/jetpack-a8c-mc-stats", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/a8c-mc-stats", + "reference": "323066aa932363ae466ae3531a3294cd87b76784" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-a8c-mc-stats", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.4.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Used to record internal usage stats for Automattic. Not visible to site owners.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-abtest", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/abtest", + "reference": "927b858bd00d90ac0951f21c5481b6147ba09854" + }, + "require": { + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-error": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-abtest", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-abtest/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.10.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Provides an interface to the WP.com A/B tests.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-action-bar", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/action-bar", + "reference": "02fd9ecfa27a7f80f40ec47fec385e8408994329" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-constants": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "mirror-repo": "Automattic/jetpack-action-bar", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-action-bar/compare/v${old}...v${new}" + }, + "autotagger": true, + "branch-alias": { + "dev-trunk": "0.1.x-dev" + }, + "textdomain": "jetpack-action-bar" + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "build-production": [ + "pnpm run build-production" + ], + "build-development": [ + "pnpm run build" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "An easy way for visitors to follow, like, and comment on your site.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-admin-ui", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/admin-ui", + "reference": "043cf5470fb67474cbde3a6d8351ee5ecca51efd" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/jetpack-logo": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-admin-ui", + "textdomain": "jetpack-admin-ui", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-admin-ui/compare/${old}...${new}" + }, + "branch-alias": { + "dev-trunk": "0.2.x-dev" + }, + "version-constants": { + "::PACKAGE_VERSION": "src/class-admin-menu.php" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Generic Jetpack wp-admin UI elements", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-assets", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/assets", + "reference": "3e2ee0c78d91409302ac2228532b9725d187c89c" + }, + "require": { + "automattic/jetpack-constants": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "brain/monkey": "2.6.1", + "wikimedia/testing-access-wrapper": "^1.0 || ^2.0", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-assets", + "textdomain": "jetpack-assets", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-assets/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.18.x-dev" + } + }, + "autoload": { + "files": [ + "actions.php" + ], + "classmap": [ + "src/" + ] + }, + "scripts": { + "build-development": [ + "pnpm run build" + ], + "build-production": [ + "pnpm run build-production" + ], + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-js": [ + "pnpm run test" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Asset management utilities for Jetpack ecosystem packages", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-autoloader", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/autoloader", + "reference": "0770a6f80877d30c1d1767d4395af6e17f8768be" + }, + "require": { + "composer-plugin-api": "^1.1 || ^2.0" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "type": "composer-plugin", + "extra": { + "autotagger": true, + "class": "Automattic\\Jetpack\\Autoloader\\CustomAutoloaderPlugin", + "mirror-repo": "Automattic/jetpack-autoloader", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-autoloader/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "2.11.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/AutoloadGenerator.php" + ], + "psr-4": { + "Automattic\\Jetpack\\Autoloader\\": "src" + } + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Creates a custom autoloader for a plugin or theme.", + "keywords": [ + "autoload", + "autoloader", + "composer", + "jetpack", + "plugin", + "wordpress" + ], + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-backup", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/backup", + "reference": "fe1b66a0332a2c838bfe27175c0c4d9482d52d2e" + }, + "require": { + "automattic/jetpack-admin-ui": "@dev", + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-autoloader": "@dev", + "automattic/jetpack-composer-plugin": "@dev", + "automattic/jetpack-config": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-identity-crisis": "@dev", + "automattic/jetpack-status": "@dev", + "automattic/jetpack-sync": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-backup", + "textdomain": "jetpack-backup-pkg", + "version-constants": { + "::PACKAGE_VERSION": "src/class-package-version.php" + }, + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-backup/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.17.x-dev" + } + }, + "autoload": { + "files": [ + "actions.php" + ], + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-js": [ + "pnpm run test" + ], + "test-php": [ + "@composer phpunit" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "build-development": [ + "pnpm run build" + ], + "build-production": [ + "pnpm run build-production-concurrently" + ], + "watch": [ + "Composer\\Config::disableProcessTimeout", + "pnpm run watch" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Tools to assist with backing up Jetpack sites.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-blaze", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/blaze", + "reference": "1ed5f1ec93e20e373beaf86551366e837360a83d" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-plans": "@dev", + "automattic/jetpack-redirect": "@dev", + "automattic/jetpack-status": "@dev", + "automattic/jetpack-sync": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-blaze", + "changelogger": { + "link-template": "https://github.com/automattic/jetpack-blaze/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.10.x-dev" + }, + "textdomain": "jetpack-blaze", + "version-constants": { + "::PACKAGE_VERSION": "src/class-dashboard.php" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "build-production": [ + "pnpm run build-production" + ], + "build-development": [ + "pnpm run build" + ], + "watch": [ + "Composer\\Config::disableProcessTimeout", + "pnpm run watch" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Attract high-quality traffic to your site using Blaze.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-blocks", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/blocks", + "reference": "3bffdec35d950eedb81aeeb2ed85fe9027b1e302" + }, + "require": { + "automattic/jetpack-constants": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.0.4" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-blocks", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-blocks/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.5.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Register and manage blocks within a plugin. Used to manage block registration, enqueues, and more.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-boost-core", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/boost-core", + "reference": "a9bc537a11dd4c65e13369579fecd51a5b108b22" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "mirror-repo": "Automattic/jetpack-boost-core", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-boost-core/compare/v${old}...v${new}" + }, + "autotagger": true, + "branch-alias": { + "dev-trunk": "0.1.x-dev" + }, + "textdomain": "jetpack-boost-core" + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "build-production": [ + "echo 'Add your build step to composer.json, please!'" + ], + "build-development": [ + "echo 'Add your build step to composer.json, please!'" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Core functionality for boost and relevant packages to depend on", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-boost-speed-score", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/boost-speed-score", + "reference": "a24c57f4e9670a96fea65d286c00d229bde44833" + }, + "require": { + "automattic/jetpack-boost-core": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "brain/monkey": "^2.6", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "mirror-repo": "Automattic/jetpack-boost-speed-score", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-boost-speed-score/compare/v${old}...v${new}" + }, + "autotagger": true, + "branch-alias": { + "dev-trunk": "0.2.x-dev" + }, + "textdomain": "jetpack-boost-speed-score", + "version-constants": { + "::PACKAGE_VERSION": "src/class-speed-score.php" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "autoload-dev": { + "psr-4": { + "Automattic\\Jetpack\\Boost_Speed_Score\\Tests\\": "./tests/php" + } + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "build-production": [ + "echo 'Add your build step to composer.json, please!'" + ], + "build-development": [ + "echo 'Add your build step to composer.json, please!'" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "A package that handles the API to generate the speed score.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-compat", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/compat", + "reference": "efed5add55337c6f88c2d496b03468c7fb48ffd8" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-compat", + "textdomain": "jetpack-compat", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-compat/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.7.x-dev" + } + }, + "autoload": { + "files": [ + "functions.php" + ], + "classmap": [ + "legacy" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Compatibility layer with previous versions of Jetpack", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-composer-plugin", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/composer-plugin", + "reference": "c5173c994ce10010ef82aaf94b4aae9accb7bd02" + }, + "require": { + "composer-plugin-api": "^2.1.0" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "composer/composer": "^2.2 || ^2.4", + "yoast/phpunit-polyfills": "1.1.0" + }, + "type": "composer-plugin", + "extra": { + "plugin-modifies-install-path": true, + "class": "Automattic\\Jetpack\\Composer\\Plugin", + "mirror-repo": "Automattic/jetpack-composer-plugin", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-composer-plugin/compare/v${old}...v${new}" + }, + "autotagger": true, + "branch-alias": { + "dev-trunk": "1.1.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "A custom installer plugin for Composer to move Jetpack packages out of `vendor/` so WordPress's translation infrastructure will find their strings.", + "keywords": [ + "composer", + "i18n", + "jetpack", + "plugin" + ], + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-config", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/config", + "reference": "6a05cd2a4f161c97adb8c7ac698d7bb1e2397594" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-config", + "textdomain": "jetpack-config", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-config/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.15.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Jetpack configuration package that initializes other packages and configures Jetpack's functionality. Can be used as a base for all variants of Jetpack package usage.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-connection", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/connection", + "reference": "3e9d40adbe49f562b5b22ce9b463a00196a61f00" + }, + "require": { + "automattic/jetpack-a8c-mc-stats": "@dev", + "automattic/jetpack-admin-ui": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-redirect": "@dev", + "automattic/jetpack-roles": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-connection", + "textdomain": "jetpack-connection", + "version-constants": { + "::PACKAGE_VERSION": "src/class-package-version.php" + }, + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-connection/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.57.x-dev" + } + }, + "autoload": { + "classmap": [ + "legacy", + "src/", + "src/webhooks" + ] + }, + "scripts": { + "build-production": [ + "pnpm run build-production" + ], + "build-development": [ + "pnpm run build" + ], + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Everything needed to connect to the Jetpack infrastructure", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-constants", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/constants", + "reference": "17a0eb51bb039041e3f37c6cd76b5c9bc0110fde" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-constants", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-constants/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.6.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "A wrapper for defining constants in a more testable way.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-device-detection", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/device-detection", + "reference": "fef1f53b844143c5358061d969d7472bb321af18" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-device-detection", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-device-detection/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.4.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "A way to detect device types based on User-Agent header.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-error", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/error", + "reference": "b2883221ca1decbbb5d0b39f9f8cdc76e869448f" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-error", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-error/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.3.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Jetpack Error - a wrapper around WP_Error.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-forms", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/forms", + "reference": "49262f20846dd58b8c7d71423f52491379afa76e" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-blocks": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/wordbless": "^0.4.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-forms", + "changelogger": { + "link-template": "https://github.com/automattic/jetpack-forms/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.21.x-dev" + }, + "textdomain": "jetpack-forms", + "version-constants": { + "::PACKAGE_VERSION": "src/class-jetpack-forms.php" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "build-production": [ + "pnpm run build-production" + ], + "build-development": [ + "pnpm run build" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "watch": [ + "Composer\\Config::disableProcessTimeout", + "pnpm run watch" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Jetpack Forms", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-google-fonts-provider", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/google-fonts-provider", + "reference": "72bc00c2292da37a578ec11b140982ba756492da" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-google-fonts-provider", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-google-fonts-provider/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.5.x-dev" + }, + "textdomain": "jetpack-google-fonts-provider" + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "WordPress Webfonts provider for Google Fonts", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-identity-crisis", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/identity-crisis", + "reference": "bdb1408d3bb21f92d0d920bc6c7fa417238af18f" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-logo": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-identity-crisis", + "textdomain": "jetpack-idc", + "version-constants": { + "::PACKAGE_VERSION": "src/class-identity-crisis.php" + }, + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-identity-crisis/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.10.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "build-development": [ + "pnpm run build" + ], + "build-production": [ + "NODE_ENV='production' pnpm run build" + ], + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "watch": [ + "Composer\\Config::disableProcessTimeout", + "pnpm run watch" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Identity Crisis.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-image-cdn", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/image-cdn", + "reference": "8f0e7e98f7416857ceb9aff528869d90164e4985" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "mirror-repo": "Automattic/jetpack-image-cdn", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-image-cdn/compare/v${old}...v${new}" + }, + "autotagger": true, + "branch-alias": { + "dev-trunk": "0.2.x-dev" + }, + "textdomain": "jetpack-image-cdn", + "version-constants": { + "::PACKAGE_VERSION": "src/class-image-cdn.php" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "build-production": [ + "pnpm run build-production" + ], + "build-development": [ + "pnpm run build" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Serve images through Jetpack's powerful CDN", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-import", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/import", + "reference": "342e240002782ee069e2871d3ad73e5c010eac35" + }, + "require": { + "automattic/jetpack-connection": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "mirror-repo": "Automattic/jetpack-import", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-import/compare/v${old}...v${new}" + }, + "autotagger": true, + "branch-alias": { + "dev-trunk": "0.7.x-dev" + }, + "textdomain": "jetpack-import", + "version-constants": { + "::PACKAGE_VERSION": "src/class-main.php" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "build-production": [ + "echo 'Add your build step to composer.json, please!'" + ], + "build-development": [ + "echo 'Add your build step to composer.json, please!'" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Set of REST API routes used in WPCOM Unified Importer.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-ip", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/ip", + "reference": "5ac9a7f37b867264b745c581597351ff389e6640" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-ip", + "changelogger": { + "link-template": "https://github.com/automattic/jetpack-ip/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.1.x-dev" + }, + "textdomain": "jetpack-ip", + "version-constants": { + "::PACKAGE_VERSION": "src/class-utils.php" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Utilities for working with IP addresses.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-jitm", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/jitm", + "reference": "3b5f4e2030b1dd42dfc17a85a457da86a124b208" + }, + "require": { + "automattic/jetpack-a8c-mc-stats": "@dev", + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-device-detection": "@dev", + "automattic/jetpack-logo": "@dev", + "automattic/jetpack-partner": "@dev", + "automattic/jetpack-redirect": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-jitm", + "textdomain": "jetpack-jitm", + "version-constants": { + "::PACKAGE_VERSION": "src/class-jitm.php" + }, + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-jitm/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "2.3.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "build-production": [ + "pnpm run build-production" + ], + "build-development": [ + "pnpm run build" + ], + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "watch": [ + "Composer\\Config::disableProcessTimeout", + "pnpm run watch" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Just in time messages for Jetpack", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-lazy-images", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/lazy-images", + "reference": "e6b79362f4856459234f1fe50fb8e560ef586b3e" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-constants": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-lazy-images", + "textdomain": "jetpack-lazy-images", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-lazy-images/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "2.1.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "build-production": [ + "pnpm run build-production" + ], + "build-development": [ + "pnpm run build" + ], + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Speed up your site and create a smoother viewing experience by loading images as visitors scroll down the screen, instead of all at once.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-licensing", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/licensing", + "reference": "f721e8bb190e8f3f819032600242e811a567950f" + }, + "require": { + "automattic/jetpack-connection": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-licensing", + "textdomain": "jetpack-licensing", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-licensing/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.8.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Everything needed to manage Jetpack licenses client-side.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-logo", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/logo", + "reference": "c5c4c3918c9e6ae4da34f413a28a6d82d360aeab" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-logo", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-logo/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.6.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "A logo for Jetpack", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-my-jetpack", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/my-jetpack", + "reference": "8c7e56e6c97632cf8fff1285acff16362892e0ac" + }, + "require": { + "automattic/jetpack-admin-ui": "@dev", + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-jitm": "@dev", + "automattic/jetpack-licensing": "@dev", + "automattic/jetpack-plugins-installer": "@dev", + "automattic/jetpack-redirect": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/jetpack-videopress": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-my-jetpack", + "textdomain": "jetpack-my-jetpack", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}" + }, + "branch-alias": { + "dev-trunk": "3.4.x-dev" + }, + "version-constants": { + "::PACKAGE_VERSION": "src/class-initializer.php" + } + }, + "autoload": { + "classmap": [ + "src/", + "src/products" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "test-js": [ + "pnpm run test" + ], + "test-js-watch": [ + "Composer\\Config::disableProcessTimeout", + "pnpm run test --watch" + ], + "build-development": [ + "pnpm run build" + ], + "build-production": [ + "NODE_ENV=production pnpm run build" + ], + "watch": [ + "Composer\\Config::disableProcessTimeout", + "pnpm run watch" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "WP Admin page with information and configuration shared among all Jetpack stand-alone plugins", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-partner", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/partner", + "reference": "617ebd443fc95dbd3e907b463eed621506da8e31" + }, + "require": { + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-partner", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-partner/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.7.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Support functions for Jetpack hosting partners.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-password-checker", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/password-checker", + "reference": "7a26ef21f1404281666043cead8bf1669d120154" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-password-checker", + "textdomain": "jetpack-password-checker", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-password-checker/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.2.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Password Checker.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-plans", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/plans", + "reference": "86261db42c82c72b7e452d58f7f87e688166ebf4" + }, + "require": { + "automattic/jetpack-connection": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/jetpack-status": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-plans", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-plans/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.3.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "build-production": [ + "echo 'Add your build step to composer.json, please!'" + ], + "build-development": [ + "echo 'Add your build step to composer.json, please!'" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Fetch information about Jetpack Plans from wpcom", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-plugins-installer", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/plugins-installer", + "reference": "f9df3642af412f0b65e6318fe701deffa501aed8" + }, + "require": { + "automattic/jetpack-a8c-mc-stats": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "branch-alias": { + "dev-trunk": "0.2.x-dev" + }, + "mirror-repo": "Automattic/jetpack-plugins-installer", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-plugins-installer/compare/v${old}...v${new}" + }, + "autotagger": true, + "textdomain": "jetpack-plugins-installer" + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Handle installation of plugins from WP.org", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-post-list", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/post-list", + "reference": "d028ad43152f1d8c9e799b259831552c6d5d2225" + }, + "require": { + "automattic/jetpack-assets": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-post-list", + "textdomain": "jetpack-post-list", + "version-constants": { + "::PACKAGE_VERSION": "src/class-post-list.php" + }, + "changelogger": { + "link-template": "https://github.com/automattic/jetpack-post-list/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.4.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Enhance the classic view of the Admin section of your WordPress site", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-publicize", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/publicize", + "reference": "d4eb5b05c8e2b8564ce93f8de8326176d6fbd93e" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-autoloader": "@dev", + "automattic/jetpack-config": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-plans": "@dev", + "automattic/jetpack-redirect": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "0.4.2", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-publicize", + "textdomain": "jetpack-publicize-pkg", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-publicize/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.36.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ], + "files": [ + "src/social-image-generator/utilities.php" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "build-development": [ + "pnpm run build" + ], + "watch": [ + "Composer\\Config::disableProcessTimeout", + "pnpm run watch" + ], + "build-production": [ + "pnpm run build-production-concurrently" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Publicize makes it easy to share your site’s posts on several social media networks automatically when you publish a new post.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-redirect", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/redirect", + "reference": "41485d7ae484bbdf8cd540fe210fc8a950739e4a" + }, + "require": { + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-redirect", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-redirect/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.7.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Utilities to build URLs to the jetpack.com/redirect/ service", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-roles", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/roles", + "reference": "c3300863025c6a3f2cb1705a67ab77d2946e87dc" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-roles", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-roles/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.4.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Utilities, related with user roles and capabilities.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-search", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/search", + "reference": "f69299e3e47bb9f736f31cf3e1f65f036d9dfde2" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-config": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-my-jetpack": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "0.4.2", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-search", + "textdomain": "jetpack-search-pkg", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-search/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.38.x-dev" + }, + "version-constants": { + "::VERSION": "src/class-package.php" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "build": [ + "Composer\\Config::disableProcessTimeout", + "pnpm run build" + ], + "build-development": [ + "pnpm run build-development" + ], + "build-production": [ + "pnpm run build-production" + ], + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-js": [ + "pnpm run test" + ], + "test-php": [ + "@composer phpunit" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "watch": [ + "Composer\\Config::disableProcessTimeout", + "pnpm run watch" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Tools to assist with enabling cloud search for Jetpack sites.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-stats", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/stats", + "reference": "a904c2760d51bdc5cf7a74d94f5dce864ad91bed" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-stats", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-stats/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.6.x-dev" + }, + "textdomain": "jetpack-stats" + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Collect valuable traffic stats and insights.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-stats-admin", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/stats-admin", + "reference": "19d4faeda9ea583a365db86e92e7d26ca73d4415" + }, + "require": { + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-jitm": "@dev", + "automattic/jetpack-plans": "@dev", + "automattic/jetpack-stats": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "dev-master", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-stats-admin", + "branch-alias": { + "dev-trunk": "0.12.x-dev" + }, + "textdomain": "jetpack-stats-admin", + "version-constants": { + "::VERSION": "src/class-main.php" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "build-production": [ + "echo 'Add your build step to composer.json, please!'" + ], + "build-development": [ + "echo 'Add your build step to composer.json, please!'" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Stats Dashboard", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-status", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/status", + "reference": "f7cb46ce4ddb975b79fd27163da1a908888322d6" + }, + "require": { + "automattic/jetpack-constants": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/jetpack-ip": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-status", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-status/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.18.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Used to retrieve information about the current status of Jetpack and the site overall.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-sync", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/sync", + "reference": "52f24108a1066efeb6d1a214fd2d40f286631539" + }, + "require": { + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-identity-crisis": "@dev", + "automattic/jetpack-ip": "@dev", + "automattic/jetpack-password-checker": "@dev", + "automattic/jetpack-roles": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-sync", + "textdomain": "jetpack-sync", + "version-constants": { + "::PACKAGE_VERSION": "src/class-package-version.php" + }, + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-sync/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "1.56.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Everything needed to allow syncing to the WP.com infrastructure.", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-videopress", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/videopress", + "reference": "5f37a24f44baeeb237537d9b899007d8014b42c3" + }, + "require": { + "automattic/jetpack-admin-ui": "@dev", + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-plans": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "brain/monkey": "2.6.1", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-videopress", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-videopress/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.15.x-dev" + }, + "version-constants": { + "::PACKAGE_VERSION": "src/class-package-version.php" + }, + "textdomain": "jetpack-videopress-pkg" + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "test-js": [ + "pnpm run test" + ], + "build-production": [ + "NODE_ENV=production BABEL_ENV=production pnpm run build" + ], + "build-development": [ + "pnpm run build" + ], + "watch": [ + "Composer\\Config::disableProcessTimeout", + "pnpm run watch" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "VideoPress package", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-waf", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/waf", + "reference": "cbb27b249e7c79ba0d70f7d190e584b0d286440d" + }, + "require": { + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-ip": "@dev", + "automattic/jetpack-status": "@dev", + "wikimedia/aho-corasick": "^1.0" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-waf", + "textdomain": "jetpack-waf", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-waf/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.11.x-dev" + } + }, + "autoload": { + "files": [ + "cli.php" + ], + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --configuration tests/php/integration/phpunit.xml.dist --colors=always", + "./vendor/phpunit/phpunit/phpunit --configuration tests/php/unit/phpunit.xml.dist --colors=always" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "test-coverage-html": [ + "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/integration/phpunit.xml.dist", + "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-html ./coverage --configuration tests/php/unit/phpunit.xml.dist" + ], + "test-php": [ + "@composer phpunit" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Tools to assist with the Jetpack Web Application Firewall", + "transport-options": { + "relative": true + } + }, + { + "name": "automattic/jetpack-wordads", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/wordads", + "reference": "ea2e71b8dd1d509f1a34a3b01dfcf42d6d8673b8" + }, + "require": { + "automattic/jetpack-assets": "@dev", + "automattic/jetpack-config": "@dev", + "automattic/jetpack-connection": "@dev", + "automattic/jetpack-constants": "@dev", + "automattic/jetpack-status": "@dev" + }, + "require-dev": { + "automattic/jetpack-changelogger": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "jetpack-library", + "extra": { + "mirror-repo": "Automattic/jetpack-wordads", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-wordads/compare/v${old}...v${new}" + }, + "autotagger": true, + "branch-alias": { + "dev-trunk": "0.2.x-dev" + }, + "textdomain": "jetpack-wordads", + "version-constants": { + "::VERSION": "src/class-package.php" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "build": [ + "Composer\\Config::disableProcessTimeout", + "pnpm run build" + ], + "build-development": [ + "pnpm run build-development" + ], + "build-production": [ + "pnpm run build-production" + ], + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-js": [ + "pnpm run test" + ], + "test-php": [ + "@composer phpunit" + ], + "watch": [ + "Composer\\Config::disableProcessTimeout", + "pnpm run watch" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Earn income by allowing Jetpack to display high quality ads.", + "transport-options": { + "relative": true + } + }, + { + "name": "nojimage/twitter-text-php", + "version": "v3.1.2", + "source": { + "type": "git", + "url": "https://github.com/nojimage/twitter-text-php.git", + "reference": "979bcf6a92d543b61588c7c0c0a87d0eb473d8f6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nojimage/twitter-text-php/zipball/979bcf6a92d543b61588c7c0c0a87d0eb473d8f6", + "reference": "979bcf6a92d543b61588c7c0c0a87d0eb473d8f6", + "shasum": "" + }, + "require": { + "ext-intl": "*", + "ext-mbstring": "*", + "php": ">=5.3.3" + }, + "require-dev": { + "ext-json": "*", + "phpunit/phpunit": "4.8.*|5.7.*|6.5.*", + "symfony/yaml": "^2.6.0|^3.4.0|^4.4.0|^5.0.0", + "twitter/twitter-text": "^3.0.0" + }, + "type": "library", + "autoload": { + "psr-0": { + "Twitter\\Text\\": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Matt Sanford", + "email": "matt@mzsanford.com", + "homepage": "http://mzsanford.com" + }, + { + "name": "Mike Cochrane", + "email": "mikec@mikenz.geek.nz", + "homepage": "http://mikenz.geek.nz" + }, + { + "name": "Nick Pope", + "email": "git@nickpope.me.uk", + "homepage": "http://www.nickpope.me.uk" + }, + { + "name": "Takashi Nojima", + "homepage": "http://php-tips.com" + } + ], + "description": "A library of PHP classes that provide auto-linking and extraction of usernames, lists, hashtags and URLs from tweets.", + "homepage": "https://github.com/nojimage/twitter-text-php", + "keywords": [ + "autolink", + "extract", + "text", + "twitter" + ], + "support": { + "issues": "https://github.com/nojimage/twitter-text-php/issues", + "source": "https://github.com/nojimage/twitter-text-php/tree/v3.1.2" + }, + "time": "2021-03-18T11:38:53+00:00" + }, + { + "name": "wikimedia/aho-corasick", + "version": "v1.0.1", + "source": { + "type": "git", + "url": "https://github.com/wikimedia/AhoCorasick.git", + "reference": "2f3a1bd765913637a66eade658d11d82f0e551be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wikimedia/AhoCorasick/zipball/2f3a1bd765913637a66eade658d11d82f0e551be", + "reference": "2f3a1bd765913637a66eade658d11d82f0e551be", + "shasum": "" + }, + "require": { + "php": ">=5.5.9" + }, + "require-dev": { + "jakub-onderka/php-console-highlighter": "0.3.2", + "jakub-onderka/php-parallel-lint": "1.0.0", + "mediawiki/mediawiki-codesniffer": "18.0.0", + "mediawiki/minus-x": "0.3.1", + "phpunit/phpunit": "4.8.36 || ^6.5" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Ori Livneh", + "email": "ori@wikimedia.org" + } + ], + "description": "An implementation of the Aho-Corasick string matching algorithm.", + "homepage": "https://gerrit.wikimedia.org/g/AhoCorasick", + "keywords": [ + "ahocorasick", + "matcher" + ], + "support": { + "source": "https://github.com/wikimedia/AhoCorasick/tree/v1.0.1" + }, + "time": "2018-05-01T18:13:32+00:00" + } + ], + "packages-dev": [ + { + "name": "antecedent/patchwork", + "version": "2.1.25", + "source": { + "type": "git", + "url": "https://github.com/antecedent/patchwork.git", + "reference": "17314e042d45e0dacb0a494c2d1ef50e7621136a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/antecedent/patchwork/zipball/17314e042d45e0dacb0a494c2d1ef50e7621136a", + "reference": "17314e042d45e0dacb0a494c2d1ef50e7621136a", + "shasum": "" + }, + "require": { + "php": ">=5.4.0" + }, + "require-dev": { + "phpunit/phpunit": ">=4" + }, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ignas Rudaitis", + "email": "ignas.rudaitis@gmail.com" + } + ], + "description": "Method redefinition (monkey-patching) functionality for PHP.", + "homepage": "http://patchwork2.org/", + "keywords": [ + "aop", + "aspect", + "interception", + "monkeypatching", + "redefinition", + "runkit", + "testing" + ], + "support": { + "issues": "https://github.com/antecedent/patchwork/issues", + "source": "https://github.com/antecedent/patchwork/tree/2.1.25" + }, + "time": "2023-02-19T12:51:24+00:00" + }, + { + "name": "automattic/jetpack-changelogger", + "version": "dev-trunk", + "dist": { + "type": "path", + "url": "../../packages/changelogger", + "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1" + }, + "require": { + "php": ">=5.6", + "symfony/console": "^3.4 || ^5.2 || ^6.0", + "symfony/process": "^3.4 || ^5.2 || ^6.0", + "wikimedia/at-ease": "^1.2 || ^2.0" + }, + "require-dev": { + "wikimedia/testing-access-wrapper": "^1.0 || ^2.0", + "yoast/phpunit-polyfills": "1.1.0" + }, + "bin": [ + "bin/changelogger" + ], + "type": "project", + "extra": { + "autotagger": true, + "branch-alias": { + "dev-trunk": "3.3.x-dev" + }, + "mirror-repo": "Automattic/jetpack-changelogger", + "version-constants": { + "::VERSION": "src/Application.php" + }, + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-changelogger/compare/${old}...${new}" + } + }, + "autoload": { + "psr-4": { + "Automattic\\Jetpack\\Changelogger\\": "src", + "Automattic\\Jetpack\\Changelog\\": "lib" + } + }, + "autoload-dev": { + "psr-4": { + "Automattic\\Jetpack\\Changelogger\\Tests\\": "tests/php/includes/src", + "Automattic\\Jetpack\\Changelog\\Tests\\": "tests/php/includes/lib" + } + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "post-install-cmd": [ + "[ -e vendor/bin/changelogger ] || { cd vendor/bin && ln -s ../../bin/changelogger; }" + ], + "post-update-cmd": [ + "[ -e vendor/bin/changelogger ] || { cd vendor/bin && ln -s ../../bin/changelogger; }" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Jetpack Changelogger tool. Allows for managing changelogs by dropping change files into a changelog directory with each PR.", + "keywords": [ + "changelog", + "cli", + "dev", + "keepachangelog" + ], + "transport-options": { + "relative": true + } + }, + { + "name": "doctrine/instantiator", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "doctrine/coding-standard": "^11", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^1.2", + "phpstan/phpstan": "^1.9.4", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5.27", + "vimeo/psalm": "^5.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": [ + "constructor", + "instantiate" + ], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/2.0.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2022-12-30T00:23:10+00:00" + }, + { + "name": "johnkary/phpunit-speedtrap", + "version": "v4.0.1", + "source": { + "type": "git", + "url": "https://github.com/johnkary/phpunit-speedtrap.git", + "reference": "d6600d2218396b78856c335f83479503957a5fa9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/johnkary/phpunit-speedtrap/zipball/d6600d2218396b78856c335f83479503957a5fa9", + "reference": "d6600d2218396b78856c335f83479503957a5fa9", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "psr-4": { + "JohnKary\\PHPUnit\\Listener\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "John Kary", + "email": "john@johnkary.net" + } + ], + "description": "Find and report on slow tests in your PHPUnit test suite", + "homepage": "https://github.com/johnkary/phpunit-speedtrap", + "keywords": [ + "phpunit", + "profile", + "slow" + ], + "support": { + "issues": "https://github.com/johnkary/phpunit-speedtrap/issues", + "source": "https://github.com/johnkary/phpunit-speedtrap/tree/v4.0.1" + }, + "time": "2022-10-17T00:56:56+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.11.1", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" + }, + "require-dev": { + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" + }, + "type": "library", + "autoload": { + "files": [ + "src/DeepCopy/deep_copy.php" + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Create deep copies (clones) of your objects", + "keywords": [ + "clone", + "copy", + "duplicate", + "object", + "object graph" + ], + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2023-03-08T13:26:56+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v4.17.1", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=7.0" + }, + "require-dev": { + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + }, + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" + }, + "time": "2023-08-13T19:53:39+00:00" + }, + { + "name": "phar-io/manifest", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/phar-io/manifest.git", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "support": { + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/2.0.3" + }, + "time": "2021-07-20T11:28:43+00:00" + }, + { + "name": "phar-io/version", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.2.1" + }, + "time": "2022-02-21T01:04:05+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "9.2.27", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "b0a88255cb70d52653d80c890bd7f38740ea50d1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/b0a88255cb70d52653d80c890bd7f38740ea50d1", + "reference": "b0a88255cb70d52653d80c890bd7f38740ea50d1", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "ext-xmlwriter": "*", + "nikic/php-parser": "^4.15", + "php": ">=7.3", + "phpunit/php-file-iterator": "^3.0.3", + "phpunit/php-text-template": "^2.0.2", + "sebastian/code-unit-reverse-lookup": "^2.0.2", + "sebastian/complexity": "^2.0", + "sebastian/environment": "^5.1.2", + "sebastian/lines-of-code": "^1.0.3", + "sebastian/version": "^3.0.1", + "theseer/tokenizer": "^1.2.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcov": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.27" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-07-26T13:44:30+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "3.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-12-02T12:48:52+00:00" + }, + { + "name": "phpunit/php-invoker", + "version": "3.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "ext-pcntl": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcntl": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", + "keywords": [ + "process" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:58:55+00:00" + }, + { + "name": "phpunit/php-text-template", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T05:33:50+00:00" + }, + { + "name": "phpunit/php-timer", + "version": "5.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:16:10+00:00" + }, + { + "name": "phpunit/phpunit", + "version": "9.6.11", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "810500e92855eba8a7a5319ae913be2da6f957b0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/810500e92855eba8a7a5319ae913be2da6f957b0", + "reference": "810500e92855eba8a7a5319ae913be2da6f957b0", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.3.1 || ^2", + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.10.1", + "phar-io/manifest": "^2.0.3", + "phar-io/version": "^3.0.2", + "php": ">=7.3", + "phpunit/php-code-coverage": "^9.2.13", + "phpunit/php-file-iterator": "^3.0.5", + "phpunit/php-invoker": "^3.1.1", + "phpunit/php-text-template": "^2.0.3", + "phpunit/php-timer": "^5.0.2", + "sebastian/cli-parser": "^1.0.1", + "sebastian/code-unit": "^1.0.6", + "sebastian/comparator": "^4.0.8", + "sebastian/diff": "^4.0.3", + "sebastian/environment": "^5.1.3", + "sebastian/exporter": "^4.0.5", + "sebastian/global-state": "^5.0.1", + "sebastian/object-enumerator": "^4.0.3", + "sebastian/resource-operations": "^3.0.3", + "sebastian/type": "^3.2", + "sebastian/version": "^3.0.2" + }, + "suggest": { + "ext-soap": "To be able to generate mocks based on WSDL files", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.6-dev" + } + }, + "autoload": { + "files": [ + "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.11" + }, + "funding": [ + { + "url": "https://phpunit.de/sponsors.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" + } + ], + "time": "2023-08-19T07:10:56+00:00" + }, + { + "name": "psr/container", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "shasum": "" + }, + "require": { + "php": ">=7.4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/2.0.2" + }, + "time": "2021-11-05T16:47:00+00:00" + }, + { + "name": "sebastian/cli-parser", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", + "support": { + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:08:49+00:00" + }, + { + "name": "sebastian/code-unit", + "version": "1.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:08:54+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:30:19+00:00" + }, + { + "name": "sebastian/comparator", + "version": "4.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/diff": "^4.0", + "sebastian/exporter": "^4.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-09-14T12:41:17+00:00" + }, + { + "name": "sebastian/complexity", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/complexity.git", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.7", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for calculating the complexity of PHP code units", + "homepage": "https://github.com/sebastianbergmann/complexity", + "support": { + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T15:52:27+00:00" + }, + { + "name": "sebastian/diff", + "version": "4.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-05-07T05:35:17+00:00" + }, + { + "name": "sebastian/environment", + "version": "5.1.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-posix": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "http://www.github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:03:51+00:00" + }, + { + "name": "sebastian/exporter", + "version": "4.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-mbstring": "*", + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "https://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-09-14T06:03:37+00:00" + }, + { + "name": "sebastian/global-state", + "version": "5.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "bde739e7565280bda77be70044ac1047bc007e34" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", + "reference": "bde739e7565280bda77be70044ac1047bc007e34", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-dom": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-uopz": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-08-02T09:26:13+00:00" + }, + { + "name": "sebastian/lines-of-code", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.6", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for counting the lines of code in PHP source code", + "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "support": { + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-28T06:42:11+00:00" + }, + { + "name": "sebastian/object-enumerator", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:12:34+00:00" + }, + { + "name": "sebastian/object-reflector", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:14:26+00:00" + }, + { + "name": "sebastian/recursion-context", + "version": "4.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "https://github.com/sebastianbergmann/recursion-context", + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:07:39+00:00" + }, + { + "name": "sebastian/resource-operations", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "support": { + "issues": "https://github.com/sebastianbergmann/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:45:17+00:00" + }, + { + "name": "sebastian/type", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", + "support": { + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:13:03+00:00" + }, + { + "name": "sebastian/version", + "version": "3.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c6c1022351a901512170118436c764e473f6de8c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:39:44+00:00" + }, + { + "name": "symfony/console", + "version": "v6.3.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "aa5d64ad3f63f2e48964fc81ee45cb318a723898" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/aa5d64ad3f63f2e48964fc81ee45cb318a723898", + "reference": "aa5d64ad3f63f2e48964fc81ee45cb318a723898", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/string": "^5.4|^6.0" + }, + "conflict": { + "symfony/dependency-injection": "<5.4", + "symfony/dotenv": "<5.4", + "symfony/event-dispatcher": "<5.4", + "symfony/lock": "<5.4", + "symfony/process": "<5.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/event-dispatcher": "^5.4|^6.0", + "symfony/lock": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/var-dumper": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Eases the creation of beautiful and testable command line interfaces", + "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command-line", + "console", + "terminal" + ], + "support": { + "source": "https://github.com/symfony/console/tree/v6.3.2" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-07-19T20:17:28+00:00" + }, + { + "name": "symfony/deprecation-contracts", + "version": "v3.3.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", + "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.4-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.3.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-05-23T14:45:45+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.27.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-ctype": "*" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-11-03T14:55:06+00:00" + }, + { + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.27.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "511a08c03c1960e08a883f4cffcacd219b758354" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", + "reference": "511a08c03c1960e08a883f4cffcacd219b758354", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's grapheme_* functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-11-03T14:55:06+00:00" + }, + { + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.27.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's Normalizer class and related functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-11-03T14:55:06+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.27.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-mbstring": "*" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.27-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-11-03T14:55:06+00:00" + }, + { + "name": "symfony/process", + "version": "v6.3.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "c5ce962db0d9b6e80247ca5eb9af6472bd4d7b5d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/c5ce962db0d9b6e80247ca5eb9af6472bd4d7b5d", + "reference": "c5ce962db0d9b6e80247ca5eb9af6472bd4d7b5d", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Executes commands in sub-processes", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/process/tree/v6.3.2" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-07-12T16:00:22+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v3.3.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", + "reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/container": "^2.0" + }, + "conflict": { + "ext-psr": "<1.1|>=2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.4-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + }, + "exclude-from-classmap": [ + "/Test/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/service-contracts/tree/v3.3.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-05-23T14:45:45+00:00" + }, + { + "name": "symfony/string", + "version": "v6.3.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/string.git", + "reference": "53d1a83225002635bca3482fcbf963001313fb68" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/string/zipball/53d1a83225002635bca3482fcbf963001313fb68", + "reference": "53d1a83225002635bca3482fcbf963001313fb68", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/translation-contracts": "<2.5" + }, + "require-dev": { + "symfony/error-handler": "^5.4|^6.0", + "symfony/http-client": "^5.4|^6.0", + "symfony/intl": "^6.2", + "symfony/translation-contracts": "^2.5|^3.0", + "symfony/var-exporter": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\String\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "homepage": "https://symfony.com", + "keywords": [ + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" + ], + "support": { + "source": "https://github.com/symfony/string/tree/v6.3.2" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-07-05T08:41:27+00:00" + }, + { + "name": "theseer/tokenizer", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/theseer/tokenizer.git", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + } + ], + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "support": { + "issues": "https://github.com/theseer/tokenizer/issues", + "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2021-07-28T10:34:58+00:00" + }, + { + "name": "wikimedia/at-ease", + "version": "v2.1.0", + "source": { + "type": "git", + "url": "https://github.com/wikimedia/at-ease.git", + "reference": "e8ebaa7bb7c8a8395481a05f6dc4deaceab11c33" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wikimedia/at-ease/zipball/e8ebaa7bb7c8a8395481a05f6dc4deaceab11c33", + "reference": "e8ebaa7bb7c8a8395481a05f6dc4deaceab11c33", + "shasum": "" + }, + "require": { + "php": ">=7.2.9" + }, + "require-dev": { + "mediawiki/mediawiki-codesniffer": "35.0.0", + "mediawiki/minus-x": "1.1.1", + "ockcyp/covers-validator": "1.3.3", + "php-parallel-lint/php-console-highlighter": "0.5.0", + "php-parallel-lint/php-parallel-lint": "1.2.0", + "phpunit/phpunit": "^8.5" + }, + "type": "library", + "autoload": { + "files": [ + "src/Wikimedia/Functions.php" + ], + "psr-4": { + "Wikimedia\\AtEase\\": "src/Wikimedia/AtEase/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "Tim Starling", + "email": "tstarling@wikimedia.org" + }, + { + "name": "MediaWiki developers", + "email": "wikitech-l@lists.wikimedia.org" + } + ], + "description": "Safe replacement to @ for suppressing warnings.", + "homepage": "https://www.mediawiki.org/wiki/at-ease", + "support": { + "source": "https://github.com/wikimedia/at-ease/tree/v2.1.0" + }, + "time": "2021-02-27T15:53:37+00:00" + }, + { + "name": "yoast/phpunit-polyfills", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/Yoast/PHPUnit-Polyfills.git", + "reference": "224e4a1329c03d8bad520e3fc4ec980034a4b212" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/224e4a1329c03d8bad520e3fc4ec980034a4b212", + "reference": "224e4a1329c03d8bad520e3fc4ec980034a4b212", + "shasum": "" + }, + "require": { + "php": ">=5.4", + "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0" + }, + "require-dev": { + "yoast/yoastcs": "^2.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.x-dev" + } + }, + "autoload": { + "files": [ + "phpunitpolyfills-autoload.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Team Yoast", + "email": "support@yoast.com", + "homepage": "https://yoast.com" + }, + { + "name": "Contributors", + "homepage": "https://github.com/Yoast/PHPUnit-Polyfills/graphs/contributors" + } + ], + "description": "Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests", + "homepage": "https://github.com/Yoast/PHPUnit-Polyfills", + "keywords": [ + "phpunit", + "polyfill", + "testing" + ], + "support": { + "issues": "https://github.com/Yoast/PHPUnit-Polyfills/issues", + "source": "https://github.com/Yoast/PHPUnit-Polyfills" + }, + "time": "2023-08-19T14:25:08+00:00" + } + ], + "aliases": [], + "minimum-stability": "dev", + "stability-flags": { + "automattic/jetpack-a8c-mc-stats": 20, + "automattic/jetpack-abtest": 20, + "automattic/jetpack-action-bar": 20, + "automattic/jetpack-admin-ui": 20, + "automattic/jetpack-assets": 20, + "automattic/jetpack-autoloader": 20, + "automattic/jetpack-backup": 20, + "automattic/jetpack-blaze": 20, + "automattic/jetpack-blocks": 20, + "automattic/jetpack-boost-speed-score": 20, + "automattic/jetpack-compat": 20, + "automattic/jetpack-composer-plugin": 20, + "automattic/jetpack-config": 20, + "automattic/jetpack-connection": 20, + "automattic/jetpack-constants": 20, + "automattic/jetpack-device-detection": 20, + "automattic/jetpack-error": 20, + "automattic/jetpack-forms": 20, + "automattic/jetpack-google-fonts-provider": 20, + "automattic/jetpack-identity-crisis": 20, + "automattic/jetpack-image-cdn": 20, + "automattic/jetpack-import": 20, + "automattic/jetpack-ip": 20, + "automattic/jetpack-jitm": 20, + "automattic/jetpack-lazy-images": 20, + "automattic/jetpack-licensing": 20, + "automattic/jetpack-logo": 20, + "automattic/jetpack-my-jetpack": 20, + "automattic/jetpack-partner": 20, + "automattic/jetpack-plugins-installer": 20, + "automattic/jetpack-post-list": 20, + "automattic/jetpack-publicize": 20, + "automattic/jetpack-redirect": 20, + "automattic/jetpack-roles": 20, + "automattic/jetpack-search": 20, + "automattic/jetpack-stats": 20, + "automattic/jetpack-stats-admin": 20, + "automattic/jetpack-status": 20, + "automattic/jetpack-sync": 20, + "automattic/jetpack-videopress": 20, + "automattic/jetpack-waf": 20, + "automattic/jetpack-wordads": 20, + "automattic/jetpack-changelogger": 20 + }, + "prefer-stable": true, + "prefer-lowest": false, + "platform": { + "ext-fileinfo": "*", + "ext-json": "*", + "ext-openssl": "*" + }, + "platform-dev": [], + "platform-overrides": { + "ext-intl": "0.0.0" + }, + "plugin-api-version": "2.3.0" } From dcaa0a5558cc0b49973e17dca55c56c0fbbb9699 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 7 Sep 2023 17:39:59 -0400 Subject: [PATCH 44/57] [not verified] Update path passed to jetpack_register_block --- .../plugins/jetpack/extensions/blocks/ai-chat/ai-chat.php | 4 ++-- projects/plugins/jetpack/extensions/blocks/amazon/amazon.php | 4 ++-- .../plugins/jetpack/extensions/blocks/blogroll/blogroll.php | 4 ++-- .../extensions/blocks/create-with-voice/create-with-voice.php | 4 ++-- .../extensions/blocks/google-docs-embed/google-docs-embed.php | 4 ++-- projects/plugins/jetpack/extensions/blocks/recipe/recipe.php | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/projects/plugins/jetpack/extensions/blocks/ai-chat/ai-chat.php b/projects/plugins/jetpack/extensions/blocks/ai-chat/ai-chat.php index 6e51d73d90829..18a18b2c53e5c 100644 --- a/projects/plugins/jetpack/extensions/blocks/ai-chat/ai-chat.php +++ b/projects/plugins/jetpack/extensions/blocks/ai-chat/ai-chat.php @@ -19,7 +19,7 @@ */ function register_block() { Blocks::jetpack_register_block( - Blocks::get_path_to_block_metadata( __DIR__ ), + __DIR__, array( 'render_callback' => __NAMESPACE__ . '\load_assets' ) ); } @@ -36,7 +36,7 @@ function load_assets( $attr ) { /* * Enqueue necessary scripts and styles. */ - Jetpack_Gutenberg::load_assets_as_required( Blocks::get_path_to_block_metadata( __DIR__ ) ); + Jetpack_Gutenberg::load_assets_as_required( __DIR__ ); return sprintf( '
', diff --git a/projects/plugins/jetpack/extensions/blocks/amazon/amazon.php b/projects/plugins/jetpack/extensions/blocks/amazon/amazon.php index 75590b252ef0b..70239e70b5a20 100644 --- a/projects/plugins/jetpack/extensions/blocks/amazon/amazon.php +++ b/projects/plugins/jetpack/extensions/blocks/amazon/amazon.php @@ -19,7 +19,7 @@ */ function register_block() { Blocks::jetpack_register_block( - Blocks::get_path_to_block_metadata( __DIR__ ), + __DIR__, array( 'render_callback' => __NAMESPACE__ . '\load_assets' ) ); } @@ -34,6 +34,6 @@ function register_block() { * @return string */ function load_assets( $attr, $content ) { - Jetpack_Gutenberg::load_assets_as_required( Blocks::get_path_to_block_metadata( __DIR__ ) ); + Jetpack_Gutenberg::load_assets_as_required( __DIR__ ); return $content; } diff --git a/projects/plugins/jetpack/extensions/blocks/blogroll/blogroll.php b/projects/plugins/jetpack/extensions/blocks/blogroll/blogroll.php index bdbcdd3232c05..50386e1ab6b12 100644 --- a/projects/plugins/jetpack/extensions/blocks/blogroll/blogroll.php +++ b/projects/plugins/jetpack/extensions/blocks/blogroll/blogroll.php @@ -21,7 +21,7 @@ */ function register_block() { Blocks::jetpack_register_block( - Blocks::get_path_to_block_metadata( __DIR__ ), + __DIR__, array( 'render_callback' => __NAMESPACE__ . '\load_assets', ) @@ -41,7 +41,7 @@ function load_assets( $attr, $content ) { /* * Enqueue necessary scripts and styles. */ - Jetpack_Gutenberg::load_assets_as_required( Blocks::get_path_to_block_metadata( __DIR__ ) ); + Jetpack_Gutenberg::load_assets_as_required( __DIR__ ); $wrapper_attributes = \WP_Block_Supports::get_instance()->apply_block_supports(); $placeholder_icon = ''; diff --git a/projects/plugins/jetpack/extensions/blocks/create-with-voice/create-with-voice.php b/projects/plugins/jetpack/extensions/blocks/create-with-voice/create-with-voice.php index 647d19bb976dd..673b1e7cc0114 100644 --- a/projects/plugins/jetpack/extensions/blocks/create-with-voice/create-with-voice.php +++ b/projects/plugins/jetpack/extensions/blocks/create-with-voice/create-with-voice.php @@ -19,7 +19,7 @@ */ function register_block() { Blocks::jetpack_register_block( - Blocks::get_path_to_block_metadata( __DIR__ ), + __DIR__, array( 'render_callback' => __NAMESPACE__ . '\load_assets' ) ); } @@ -37,7 +37,7 @@ function load_assets( $attr, $content ) { /* * Enqueue necessary scripts and styles. */ - Jetpack_Gutenberg::load_assets_as_required( Blocks::get_path_to_block_metadata( __DIR__ ) ); + Jetpack_Gutenberg::load_assets_as_required( __DIR__ ); return sprintf( '
%2$s
', diff --git a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/google-docs-embed.php b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/google-docs-embed.php index b4871f10cf8d3..0f538abf52075 100644 --- a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/google-docs-embed.php +++ b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/google-docs-embed.php @@ -20,7 +20,7 @@ function register_blocks() { Blocks::jetpack_register_block( - Blocks::get_path_to_block_metadata( __DIR__ ), + __DIR__, array( 'render_callback' => __NAMESPACE__ . '\render_callback', ) @@ -36,7 +36,7 @@ function register_blocks() { */ function render_callback( $attributes ) { - Jetpack_Gutenberg::load_assets_as_required( Blocks::get_path_to_block_metadata( __DIR__ ) ); + Jetpack_Gutenberg::load_assets_as_required( __DIR__ ); wp_localize_script( 'jetpack-block-' . sanitize_title_with_dashes( basename( __DIR__ ) ), 'Jetpack_Google_Docs', diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/recipe.php b/projects/plugins/jetpack/extensions/blocks/recipe/recipe.php index 70baaec4789bf..a08ffbc20f689 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/recipe.php +++ b/projects/plugins/jetpack/extensions/blocks/recipe/recipe.php @@ -10,7 +10,7 @@ use Automattic\Jetpack\Blocks; Blocks::jetpack_register_block( - Blocks::get_path_to_block_metadata( __DIR__ ), + __DIR__, array( 'render_callback' => array( 'Automattic\\Jetpack\\Extensions\\Recipe\\Jetpack_Recipe_Block', 'render' ), ) From 0608a7c4f11628a8eae8efe3f7a7dce266a102d5 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 7 Sep 2023 17:47:32 -0400 Subject: [PATCH 45/57] [not verified] Import icon helpers from shared-extension-utils package --- projects/plugins/jetpack/extensions/blocks/amazon/edit.js | 4 ++-- .../jetpack/extensions/blocks/google-docs-embed/edit.js | 8 ++++---- .../jetpack/extensions/blocks/recipe/details/index.js | 4 ++-- .../jetpack/extensions/blocks/recipe/hero/index.js | 4 ++-- .../extensions/blocks/recipe/ingredient-item/index.js | 4 ++-- .../extensions/blocks/recipe/ingredients-list/index.js | 4 ++-- .../jetpack/extensions/blocks/recipe/step/index.js | 4 ++-- .../jetpack/extensions/blocks/recipe/steps/index.js | 4 ++-- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/projects/plugins/jetpack/extensions/blocks/amazon/edit.js b/projects/plugins/jetpack/extensions/blocks/amazon/edit.js index 033bc20a155a4..d9c014ca18b2d 100644 --- a/projects/plugins/jetpack/extensions/blocks/amazon/edit.js +++ b/projects/plugins/jetpack/extensions/blocks/amazon/edit.js @@ -1,3 +1,4 @@ +import { getBlockIconComponent } from '@automattic/jetpack-shared-extension-utils'; import { ContrastChecker, InspectorControls, PanelColorSettings } from '@wordpress/block-editor'; import { getBlockDefaultClassName } from '@wordpress/blocks'; import { @@ -12,12 +13,11 @@ import { import { useState } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; import tinycolor from 'tinycolor2'; -import getBlockIconFromMetadata from '../../shared/get-block-icon-from-metadata'; import metadata from './block.json'; import data from './dummy-data'; import './editor.scss'; -const icon = getBlockIconFromMetadata( metadata ); +const icon = getBlockIconComponent( metadata ); function AmazonEdit( { attributes: { diff --git a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/edit.js b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/edit.js index e505e5067d014..9b5f10ba4ca52 100644 --- a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/edit.js +++ b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/edit.js @@ -1,8 +1,8 @@ +import { getBlockIconProp } from '@automattic/jetpack-shared-extension-utils'; import { InspectorControls } from '@wordpress/block-editor'; import { PanelBody, SelectControl } from '@wordpress/components'; import { Fragment, useEffect } from '@wordpress/element'; import { __, _x } from '@wordpress/i18n'; -import { getClientBlockIconProp } from '../../shared/get-block-icon-from-metadata'; import metadata from './block.json'; import Embed from './embed'; @@ -13,21 +13,21 @@ const slidesVariation = metadata.variations?.find( v => v.name === 'jetpack/goog const GOOGLE_DOCUMENT = { type: 'document', title: docsVariation?.title, - icon: getClientBlockIconProp( docsVariation?.icon ), + icon: getBlockIconProp( docsVariation?.icon ), patterns: [ /^(http|https):\/\/(docs\.google.com)\/document\/d\/([A-Za-z0-9_-]+).*?$/i ], }; const GOOGLE_SPREADSHEET = { type: 'spreadsheets', title: sheetsVariation?.title, - icon: getClientBlockIconProp( sheetsVariation?.icon ), + icon: getBlockIconProp( sheetsVariation?.icon ), patterns: [ /^(http|https):\/\/(docs\.google.com)\/spreadsheets\/d\/([A-Za-z0-9_-]+).*?$/i ], }; const GOOGLE_SLIDE = { type: 'presentation', title: slidesVariation?.title, - icon: getClientBlockIconProp( slidesVariation?.icon ), + icon: getBlockIconProp( slidesVariation?.icon ), patterns: [ /^(http|https):\/\/(docs\.google.com)\/presentation\/d\/([A-Za-z0-9_-]+).*?$/i ], }; diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/details/index.js b/projects/plugins/jetpack/extensions/blocks/recipe/details/index.js index 180ed97d9320e..8b1e742b93c86 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/details/index.js +++ b/projects/plugins/jetpack/extensions/blocks/recipe/details/index.js @@ -1,6 +1,6 @@ +import { getBlockIconProp } from '@automattic/jetpack-shared-extension-utils'; import { Fragment } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; -import { getClientBlockIconProp } from '../../../shared/get-block-icon-from-metadata'; import metadata from '../block.json'; import attributes from './attributes'; import edit from './edit'; @@ -21,7 +21,7 @@ export const settings = { supports: { align: [ 'left', 'right', 'center' ], }, - icon: getClientBlockIconProp( metadata ), + icon: getBlockIconProp( metadata ), category: 'widgets', attributes, edit, diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/hero/index.js b/projects/plugins/jetpack/extensions/blocks/recipe/hero/index.js index a456712e5ff70..802766e28d875 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/hero/index.js +++ b/projects/plugins/jetpack/extensions/blocks/recipe/hero/index.js @@ -1,6 +1,6 @@ +import { getBlockIconProp } from '@automattic/jetpack-shared-extension-utils'; import { Fragment } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; -import { getClientBlockIconProp } from '../../../shared/get-block-icon-from-metadata'; import metadata from '../block.json'; import edit from './edit'; import save from './save'; @@ -15,7 +15,7 @@ export const settings = { ), keywords: [], - icon: getClientBlockIconProp( metadata ), + icon: getBlockIconProp( metadata ), category: 'widgets', edit, save, diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/ingredient-item/index.js b/projects/plugins/jetpack/extensions/blocks/recipe/ingredient-item/index.js index 384f3ee747cc8..ba58e19cfb990 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/ingredient-item/index.js +++ b/projects/plugins/jetpack/extensions/blocks/recipe/ingredient-item/index.js @@ -1,6 +1,6 @@ +import { getBlockIconProp } from '@automattic/jetpack-shared-extension-utils'; import { Fragment } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; -import { getClientBlockIconProp } from '../../../shared/get-block-icon-from-metadata'; import metadata from '../block.json'; import attributes from './attributes'; import edit from './edit'; @@ -16,7 +16,7 @@ export const settings = { ), keywords: [], - icon: getClientBlockIconProp( metadata ), + icon: getBlockIconProp( metadata ), category: 'widgets', attributes, edit, diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/ingredients-list/index.js b/projects/plugins/jetpack/extensions/blocks/recipe/ingredients-list/index.js index 7220b5161f8e0..24cfaf0f3bcb9 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/ingredients-list/index.js +++ b/projects/plugins/jetpack/extensions/blocks/recipe/ingredients-list/index.js @@ -1,6 +1,6 @@ +import { getBlockIconProp } from '@automattic/jetpack-shared-extension-utils'; import { Fragment } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; -import { getClientBlockIconProp } from '../../../shared/get-block-icon-from-metadata'; import metadata from '../block.json'; import attributes from './attributes'; import edit from './edit'; @@ -17,7 +17,7 @@ export const settings = {

{ __( 'Recipe ingredient list', 'jetpack' ) }

), - icon: getClientBlockIconProp( metadata ), + icon: getBlockIconProp( metadata ), category: 'widgets', keywords: [], attributes, diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/step/index.js b/projects/plugins/jetpack/extensions/blocks/recipe/step/index.js index f0cd4d804c16c..a8de038b57af2 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/step/index.js +++ b/projects/plugins/jetpack/extensions/blocks/recipe/step/index.js @@ -1,6 +1,6 @@ +import { getBlockIconProp } from '@automattic/jetpack-shared-extension-utils'; import { Fragment } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; -import { getClientBlockIconProp } from '../../../shared/get-block-icon-from-metadata'; import metadata from '../block.json'; import edit from './edit'; import save from './save'; @@ -15,7 +15,7 @@ export const settings = { ), keywords: [], - icon: getClientBlockIconProp( metadata ), + icon: getBlockIconProp( metadata ), category: 'widgets', edit, save, diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/steps/index.js b/projects/plugins/jetpack/extensions/blocks/recipe/steps/index.js index f1945197966bc..352de13c361fc 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/steps/index.js +++ b/projects/plugins/jetpack/extensions/blocks/recipe/steps/index.js @@ -1,6 +1,6 @@ +import { getBlockIconProp } from '@automattic/jetpack-shared-extension-utils'; import { Fragment } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; -import { getClientBlockIconProp } from '../../../shared/get-block-icon-from-metadata'; import metadata from '../block.json'; import attributes from './attributes'; import edit from './edit'; @@ -17,7 +17,7 @@ export const settings = { ), keywords: [], - icon: getClientBlockIconProp( metadata ), + icon: getBlockIconProp( metadata ), category: 'widgets', attributes, edit, From dabcf1fa23691b37665c14a425f264c42ba400da Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 7 Sep 2023 17:55:38 -0400 Subject: [PATCH 46/57] [not verified] Update path passed to jetpack_register_block --- .../extensions/blocks/recipe/class-jetpack-recipe-block.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/plugins/jetpack/extensions/blocks/recipe/class-jetpack-recipe-block.php b/projects/plugins/jetpack/extensions/blocks/recipe/class-jetpack-recipe-block.php index 1c7303afcd3c3..73d6924617055 100644 --- a/projects/plugins/jetpack/extensions/blocks/recipe/class-jetpack-recipe-block.php +++ b/projects/plugins/jetpack/extensions/blocks/recipe/class-jetpack-recipe-block.php @@ -7,7 +7,6 @@ namespace Automattic\Jetpack\Extensions\Recipe; -use Automattic\Jetpack\Blocks; use Jetpack_Gutenberg; /** @@ -28,7 +27,7 @@ class Jetpack_Recipe_Block { * @return string */ public static function render( $attr, $content ) { - Jetpack_Gutenberg::load_assets_as_required( Blocks::get_path_to_block_metadata( __DIR__ ) ); + Jetpack_Gutenberg::load_assets_as_required( __DIR__ ); $find = array( '/(class="wp-block-jetpack-recipe(\s|"))/', From 9ae50257eb2a705205f1c5db1c67dbf2d1037b42 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 7 Sep 2023 17:58:15 -0400 Subject: [PATCH 47/57] [not verified] Add changelog --- .../jetpack/changelog/refactor-beta-blocks-registration | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 projects/plugins/jetpack/changelog/refactor-beta-blocks-registration diff --git a/projects/plugins/jetpack/changelog/refactor-beta-blocks-registration b/projects/plugins/jetpack/changelog/refactor-beta-blocks-registration new file mode 100644 index 0000000000000..e64710236f6ab --- /dev/null +++ b/projects/plugins/jetpack/changelog/refactor-beta-blocks-registration @@ -0,0 +1,4 @@ +Significance: patch +Type: enhancement + +Register beta blocks by specifying path to block.json From 51c3763d63cb21c36d49dc18a494742490901f22 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 7 Sep 2023 18:07:20 -0400 Subject: [PATCH 48/57] [not verified] Fix failing JS test --- .../jetpack/extensions/blocks/blogroll/test/validate.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/projects/plugins/jetpack/extensions/blocks/blogroll/test/validate.js b/projects/plugins/jetpack/extensions/blocks/blogroll/test/validate.js index b72589b60b8dc..c3f02dceadbca 100644 --- a/projects/plugins/jetpack/extensions/blocks/blogroll/test/validate.js +++ b/projects/plugins/jetpack/extensions/blocks/blogroll/test/validate.js @@ -1,5 +1,7 @@ -import { name, settings } from '../'; import runBlockFixtureTests from '../../../shared/test/block-fixtures'; +import metadata from '../block.json'; -const blocks = [ { name: `jetpack/${ name }`, settings } ]; -runBlockFixtureTests( `jetpack/${ name }`, blocks, __dirname ); +const { name } = metadata; + +const blocks = [ { name, settings: metadata } ]; +runBlockFixtureTests( name, blocks, __dirname ); From d19fe0d3cda01f37a0182d971f1607f233046d5e Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Sat, 9 Sep 2023 21:08:35 -0400 Subject: [PATCH 49/57] Revert composer.lock after rebasing --- projects/plugins/jetpack/composer.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/plugins/jetpack/composer.lock b/projects/plugins/jetpack/composer.lock index 97b624167a7cf..20d4f4c16c480 100644 --- a/projects/plugins/jetpack/composer.lock +++ b/projects/plugins/jetpack/composer.lock @@ -526,7 +526,7 @@ "dist": { "type": "path", "url": "../../packages/blocks", - "reference": "3bffdec35d950eedb81aeeb2ed85fe9027b1e302" + "reference": "041d4fb9a3a42e0f1826cd3fd0f2e81413b0c5a8" }, "require": { "automattic/jetpack-constants": "@dev" @@ -535,7 +535,7 @@ "automattic/jetpack-changelogger": "@dev", "automattic/wordbless": "dev-master", "brain/monkey": "2.6.1", - "yoast/phpunit-polyfills": "1.0.4" + "yoast/phpunit-polyfills": "1.1.0" }, "suggest": { "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." From cf27a27c983dc6f721d99f37a48306ded1e171bb Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Sun, 10 Sep 2023 18:53:17 -0400 Subject: [PATCH 50/57] Add helper to get block's feature name --- projects/packages/blocks/src/class-blocks.php | 25 +++++++++++++++++++ .../packages/blocks/tests/php/test-blocks.php | 25 +++++++++++++++++++ .../create-with-voice/create-with-voice.php | 2 +- .../google-docs-embed/google-docs-embed.php | 2 +- 4 files changed, 52 insertions(+), 2 deletions(-) diff --git a/projects/packages/blocks/src/class-blocks.php b/projects/packages/blocks/src/class-blocks.php index ab1430ccce2af..b5e29e3f1be86 100644 --- a/projects/packages/blocks/src/class-blocks.php +++ b/projects/packages/blocks/src/class-blocks.php @@ -155,6 +155,31 @@ public static function get_block_name_from_metadata( $metadata ) { return ! isset( $metadata['name'] ) || empty( $metadata['name'] ) ? '' : $metadata['name']; } + /** + * Get the block feature name (i.e. the name without the `jetpack` prefix). + * + * @param string|array $arg Path to block.json or its parent folder, or its content as an array. + * + * @return string The block feature name. + */ + public static function get_block_feature( $arg ) { + $metadata = is_array( $arg ) ? $arg : null; + + if ( ! isset( $metadata ) ) { + $path = is_string( $arg ) ? $arg : null; + + if ( isset( $path ) && ! empty( $path ) ) { + $metadata = self::get_block_metadata_from_file( self::get_path_to_block_metadata( $path ) ); + } + } + + if ( ! empty( $metadata ) ) { + return self::get_block_feature_from_metadata( $metadata ); + } + + return ''; + } + /** * Get the block feature name (i.e. the name without the `jetpack` prefix) from its metadata. * diff --git a/projects/packages/blocks/tests/php/test-blocks.php b/projects/packages/blocks/tests/php/test-blocks.php index 781441c55a9d1..7e10436f61b6a 100644 --- a/projects/packages/blocks/tests/php/test-blocks.php +++ b/projects/packages/blocks/tests/php/test-blocks.php @@ -463,4 +463,29 @@ public function test_get_path_to_block_metadata() { Jetpack_Constants::clear_constants(); } + + /** + * Test getting the block feature name. + * + * @since $$next-version$$ + * + * @covers Automattic\Jetpack\Blocks::get_block_feature + */ + public function test_get_block_feature() { + // Pass metadata + + $result = Blocks::get_block_feature( array() ); + $this->assertSame( '', $result ); + + $result = Blocks::get_block_feature( array( 'name' => 'jetpack/test-block' ) ); + $this->assertEquals( 'test-block', $result ); + + // Pass path + + $result = Blocks::get_block_feature( '' ); + $this->assertSame( '', $result ); + + $result = Blocks::get_block_feature( __DIR__ . '/fixtures/test-block/block.json' ); + $this->assertEquals( 'test-block', $result ); + } } diff --git a/projects/plugins/jetpack/extensions/blocks/create-with-voice/create-with-voice.php b/projects/plugins/jetpack/extensions/blocks/create-with-voice/create-with-voice.php index 673b1e7cc0114..7666852476f47 100644 --- a/projects/plugins/jetpack/extensions/blocks/create-with-voice/create-with-voice.php +++ b/projects/plugins/jetpack/extensions/blocks/create-with-voice/create-with-voice.php @@ -41,7 +41,7 @@ function load_assets( $attr, $content ) { return sprintf( '
%2$s
', - esc_attr( Blocks::classes( basename( __DIR__ ), $attr ) ), + esc_attr( Blocks::classes( Blocks::get_block_feature( __DIR__ ), $attr ) ), $content ); } diff --git a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/google-docs-embed.php b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/google-docs-embed.php index 0f538abf52075..21c46312e20a3 100644 --- a/projects/plugins/jetpack/extensions/blocks/google-docs-embed/google-docs-embed.php +++ b/projects/plugins/jetpack/extensions/blocks/google-docs-embed/google-docs-embed.php @@ -104,7 +104,7 @@ function render_callback( $attributes ) { } } - $block_classes = Blocks::classes( basename( __DIR__ ), $attributes, array( $aspect_ratio ) ); + $block_classes = Blocks::classes( Blocks::get_block_feature( __DIR__ ), $attributes, array( $aspect_ratio ) ); $html = '
' . From c8d10f15d89e37d9835ed920b6cc2fb5d67122c4 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Sun, 10 Sep 2023 19:57:50 -0400 Subject: [PATCH 51/57] Add changelog --- .../blocks/changelog/refactor-beta-blocks-registration | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 projects/packages/blocks/changelog/refactor-beta-blocks-registration diff --git a/projects/packages/blocks/changelog/refactor-beta-blocks-registration b/projects/packages/blocks/changelog/refactor-beta-blocks-registration new file mode 100644 index 0000000000000..e0109a966b5dc --- /dev/null +++ b/projects/packages/blocks/changelog/refactor-beta-blocks-registration @@ -0,0 +1,4 @@ +Significance: minor +Type: added + +Helper to get a block's feature name From ee8e5fec9c5b02afe8b1ac4225b72f17c436c40f Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Tue, 12 Sep 2023 16:16:40 -0400 Subject: [PATCH 52/57] Refactor Mailchimp block registration --- .../extensions/blocks/mailchimp/block.json | 16 ++- .../extensions/blocks/mailchimp/edit.js | 17 ++- .../extensions/blocks/mailchimp/editor.js | 17 ++- .../extensions/blocks/mailchimp/index.js | 112 ------------------ .../extensions/blocks/mailchimp/mailchimp.php | 17 +-- .../blocks/mailchimp/test/validate.js | 20 +--- 6 files changed, 51 insertions(+), 148 deletions(-) delete mode 100644 projects/plugins/jetpack/extensions/blocks/mailchimp/index.js diff --git a/projects/plugins/jetpack/extensions/blocks/mailchimp/block.json b/projects/plugins/jetpack/extensions/blocks/mailchimp/block.json index 087db6033b1eb..76961e0967cfd 100644 --- a/projects/plugins/jetpack/extensions/blocks/mailchimp/block.json +++ b/projects/plugins/jetpack/extensions/blocks/mailchimp/block.json @@ -55,5 +55,19 @@ "default": false } }, - "editorScript": "file:../editor.js" + "example": { + "attributes": { + "preview": true + }, + "innerBlocks": [ + { + "name": "jetpack/button", + "attributes": { + "element": "button", + "text": "Join my Mailchimp audience", + "uniqueId": "mailchimp-widget-id" + } + } + ] + } } diff --git a/projects/plugins/jetpack/extensions/blocks/mailchimp/edit.js b/projects/plugins/jetpack/extensions/blocks/mailchimp/edit.js index 0806afeed6c53..a6be46b104ab7 100644 --- a/projects/plugins/jetpack/extensions/blocks/mailchimp/edit.js +++ b/projects/plugins/jetpack/extensions/blocks/mailchimp/edit.js @@ -1,4 +1,7 @@ -import { isCurrentUserConnected } from '@automattic/jetpack-shared-extension-utils'; +import { + isCurrentUserConnected, + getBlockIconComponent, +} from '@automattic/jetpack-shared-extension-utils'; import apiFetch from '@wordpress/api-fetch'; import { InnerBlocks, InspectorControls, RichText } from '@wordpress/block-editor'; import { Button, Placeholder, Spinner, TextControl, withNotices } from '@wordpress/components'; @@ -6,14 +9,24 @@ import { Fragment, Component } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; import { addQueryArgs } from '@wordpress/url'; import classnames from 'classnames'; +import metadata from './block.json'; import { NOTIFICATION_PROCESSING, NOTIFICATION_SUCCESS, NOTIFICATION_ERROR } from './constants'; import { MailChimpBlockControls } from './controls'; -import { icon, innerButtonBlock } from '.'; const API_STATE_LOADING = 0; const API_STATE_CONNECTED = 1; const API_STATE_NOTCONNECTED = 2; +const icon = getBlockIconComponent( metadata ); +const innerButtonBlock = { + name: 'jetpack/button', + attributes: { + element: 'button', + text: __( 'Join my Mailchimp audience', 'jetpack' ), + uniqueId: 'mailchimp-widget-id', + }, +}; + class MailchimpSubscribeEdit extends Component { constructor() { super( ...arguments ); diff --git a/projects/plugins/jetpack/extensions/blocks/mailchimp/editor.js b/projects/plugins/jetpack/extensions/blocks/mailchimp/editor.js index d7ec194d817a1..a80ef5c5612b1 100644 --- a/projects/plugins/jetpack/extensions/blocks/mailchimp/editor.js +++ b/projects/plugins/jetpack/extensions/blocks/mailchimp/editor.js @@ -1,4 +1,15 @@ -import registerJetpackBlock from '../../shared/register-jetpack-block'; -import { name, settings } from '.'; +import { InnerBlocks } from '@wordpress/block-editor'; +import { registerJetpackBlockFromMetadata } from '../../shared/register-jetpack-block'; +import metadata from './block.json'; +import deprecatedV1 from './deprecated/v1'; +import edit from './edit'; +import transforms from './transforms'; -registerJetpackBlock( name, settings ); +import './editor.scss'; + +registerJetpackBlockFromMetadata( metadata, { + edit, + save: () => , + deprecated: [ deprecatedV1 ], + transforms, +} ); diff --git a/projects/plugins/jetpack/extensions/blocks/mailchimp/index.js b/projects/plugins/jetpack/extensions/blocks/mailchimp/index.js deleted file mode 100644 index eee07423ad1b5..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/mailchimp/index.js +++ /dev/null @@ -1,112 +0,0 @@ -import { InnerBlocks } from '@wordpress/block-editor'; -import { Path, SVG, G } from '@wordpress/components'; -import { __, _x } from '@wordpress/i18n'; -import { getIconColor } from '../../shared/block-icons'; -import deprecatedV1 from './deprecated/v1'; -import edit from './edit'; -import transforms from './transforms'; -import './editor.scss'; - -export const name = 'mailchimp'; - -export const icon = ( - - - - - - - - - - - - - -); - -export const innerButtonBlock = { - name: 'jetpack/button', - attributes: { - element: 'button', - text: __( 'Join my Mailchimp audience', 'jetpack' ), - uniqueId: 'mailchimp-widget-id', - }, -}; - -export const settings = { - title: __( 'Mailchimp', 'jetpack' ), - icon: { - src: icon, - foreground: getIconColor(), - }, - description: __( 'A form enabling readers to join a Mailchimp audience.', 'jetpack' ), - category: 'grow', - keywords: [ - _x( 'email', 'block search term', 'jetpack' ), - _x( 'subscription', 'block search term', 'jetpack' ), - _x( 'newsletter', 'block search term', 'jetpack' ), - ], - supports: { - align: [ 'wide', 'full' ], - color: { - gradients: true, - }, - spacing: { - padding: true, - margin: true, - }, - }, - attributes: { - emailPlaceholder: { - type: 'string', - default: __( 'Enter your email', 'jetpack' ), - }, - consentText: { - type: 'string', - default: __( - 'By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.', - 'jetpack' - ), - }, - interests: { - type: 'array', - default: [], - }, - processingLabel: { - type: 'string', - default: __( 'Processing…', 'jetpack' ), - }, - signupFieldTag: { - type: 'string', - }, - signupFieldValue: { - type: 'string', - }, - successLabel: { - type: 'string', - default: __( "Success! You're on the list.", 'jetpack' ), - }, - errorLabel: { - type: 'string', - default: __( - "Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.", - 'jetpack' - ), - }, - preview: { - type: 'boolean', - default: false, - }, - }, - edit, - save: () => , - example: { - attributes: { - preview: true, - }, - innerBlocks: [ innerButtonBlock ], - }, - deprecated: [ deprecatedV1 ], - transforms, -}; diff --git a/projects/plugins/jetpack/extensions/blocks/mailchimp/mailchimp.php b/projects/plugins/jetpack/extensions/blocks/mailchimp/mailchimp.php index 1e34d9757d5ac..fb6a1dca5f6cd 100644 --- a/projects/plugins/jetpack/extensions/blocks/mailchimp/mailchimp.php +++ b/projects/plugins/jetpack/extensions/blocks/mailchimp/mailchimp.php @@ -14,9 +14,6 @@ use Jetpack_Gutenberg; use Jetpack_Options; -const FEATURE_NAME = 'mailchimp'; -const BLOCK_NAME = 'jetpack/' . FEATURE_NAME; - /** * Registers the block for use in Gutenberg * This is done via an action so that we can disable @@ -28,19 +25,9 @@ function register_block() { || Jetpack::is_connection_ready() ) { Blocks::jetpack_register_block( - BLOCK_NAME, + __DIR__, array( 'render_callback' => __NAMESPACE__ . '\load_assets', - 'supports' => array( - 'align' => array( 'wide', 'full' ), - 'color' => array( - 'gradients' => true, - ), - 'spacing' => array( - 'padding' => true, - 'margin' => true, - ), - ), ) ); } @@ -65,7 +52,7 @@ function load_assets( $attr, $content ) { $blog_id = ( defined( 'IS_WPCOM' ) && IS_WPCOM ) ? get_current_blog_id() : Jetpack_Options::get_option( 'id' ); - Jetpack_Gutenberg::load_assets_as_required( FEATURE_NAME ); + Jetpack_Gutenberg::load_assets_as_required( __DIR__ ); $wrapper_attributes = \WP_Block_Supports::get_instance()->apply_block_supports(); $classes = ! empty( $wrapper_attributes['class'] ) ? $wrapper_attributes['class'] : ''; $amp_form_action = sprintf( 'https://public-api.wordpress.com/rest/v1.1/sites/%s/email_follow/amp/subscribe/', $blog_id ); diff --git a/projects/plugins/jetpack/extensions/blocks/mailchimp/test/validate.js b/projects/plugins/jetpack/extensions/blocks/mailchimp/test/validate.js index d0fbd27e9213d..79e475ed35597 100644 --- a/projects/plugins/jetpack/extensions/blocks/mailchimp/test/validate.js +++ b/projects/plugins/jetpack/extensions/blocks/mailchimp/test/validate.js @@ -1,21 +1,11 @@ -import { name, settings } from '../'; import runBlockFixtureTests from '../../../shared/test/block-fixtures'; import { settings as buttonSettings } from '../../button'; +import metadata from '../block.json'; -/** - * Update this array of blocks to contain the name and settings for all blocks - * involved in this set of tests. - * - * Example containing multiple blocks: - * ``` - * const blocks = [ - * { name: 'jetpack/whatsapp-button', settings }, - * { name: 'jetpack/send-a-message', settings: parentSettings }, - * ]; - * ``` - */ +const { name } = metadata; const blocks = [ - { name: `jetpack/${ name }`, settings }, + { name, settings: metadata }, { name: `jetpack/button`, settings: buttonSettings }, ]; -runBlockFixtureTests( `jetpack/${ name }`, blocks, __dirname ); + +runBlockFixtureTests( name, blocks, __dirname ); From 101b9340e76544d4d9f49b75c2802299b003fb08 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Tue, 12 Sep 2023 16:37:39 -0400 Subject: [PATCH 53/57] Refactor Map block registration --- .../jetpack/extensions/blocks/map/block.json | 6 +- .../jetpack/extensions/blocks/map/controls.js | 24 ++- .../jetpack/extensions/blocks/map/edit.js | 16 +- .../jetpack/extensions/blocks/map/editor.js | 19 ++- .../jetpack/extensions/blocks/map/index.js | 33 ----- .../jetpack/extensions/blocks/map/map.php | 9 +- .../jetpack/extensions/blocks/map/save.js | 4 +- .../jetpack/extensions/blocks/map/settings.js | 140 ------------------ .../jetpack/extensions/blocks/map/style.scss | 2 +- .../jetpack/extensions/blocks/map/styles.js | 38 +++++ .../extensions/blocks/map/test/validate.js | 8 +- 11 files changed, 102 insertions(+), 197 deletions(-) delete mode 100644 projects/plugins/jetpack/extensions/blocks/map/index.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/map/settings.js create mode 100644 projects/plugins/jetpack/extensions/blocks/map/styles.js diff --git a/projects/plugins/jetpack/extensions/blocks/map/block.json b/projects/plugins/jetpack/extensions/blocks/map/block.json index 8bf892bd24fed..3b537067858e5 100644 --- a/projects/plugins/jetpack/extensions/blocks/map/block.json +++ b/projects/plugins/jetpack/extensions/blocks/map/block.json @@ -57,5 +57,9 @@ "default": true } }, - "editorScript": "file:../editor.js" + "example": { + "attributes": { + "preview": true + } + } } diff --git a/projects/plugins/jetpack/extensions/blocks/map/controls.js b/projects/plugins/jetpack/extensions/blocks/map/controls.js index 307a6c6bbbfee..184dba0cdbe44 100644 --- a/projects/plugins/jetpack/extensions/blocks/map/controls.js +++ b/projects/plugins/jetpack/extensions/blocks/map/controls.js @@ -10,10 +10,30 @@ import { ToolbarGroup, RangeControl, BaseControl, + SVG, + G, + Polygon, + Path, } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; import Locations from './locations'; -import { settings } from './settings.js'; + +const markerIcon = ( + /* Do not use SVG components from @wordpress/component to avoid frontend bloat */ + + + + + + + + +); export default ( { attributes, @@ -80,7 +100,7 @@ export default ( { /> diff --git a/projects/plugins/jetpack/extensions/blocks/map/edit.js b/projects/plugins/jetpack/extensions/blocks/map/edit.js index c477b82bd637f..0342c55b6c936 100644 --- a/projects/plugins/jetpack/extensions/blocks/map/edit.js +++ b/projects/plugins/jetpack/extensions/blocks/map/edit.js @@ -1,3 +1,4 @@ +import { getBlockIconComponent } from '@automattic/jetpack-shared-extension-utils'; import apiFetch from '@wordpress/api-fetch'; import { BlockControls, InspectorControls } from '@wordpress/block-editor'; import { @@ -14,13 +15,16 @@ import { Component, createRef, Fragment } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; import { getActiveStyleName } from '../../shared/block-styles'; import AddPoint from './add-point'; +import metadata from './block.json'; import Map from './component'; import Controls from './controls'; import { getCoordinates } from './get-coordinates.js'; import previewPlaceholder from './map-preview.jpg'; -import { settings } from './settings.js'; +import styles from './styles'; import getMapProvider from './utils/get-map-provider'; +const icon = getBlockIconComponent( metadata ); + const API_STATE_LOADING = 0; const API_STATE_FAILURE = 1; const API_STATE_SUCCESS = 2; @@ -168,7 +172,7 @@ class MapEdit extends Component { } ); } getMapProvider = () => { - const mapStyle = getActiveStyleName( settings.styles, this.props?.attributes?.className ); + const mapStyle = getActiveStyleName( styles, this.props?.attributes?.className ); return getMapProvider( { mapStyle } ); }; @@ -278,7 +282,7 @@ class MapEdit extends Component { ); const placholderAPIStateLoading = ( - + ); @@ -299,7 +303,7 @@ class MapEdit extends Component { ); const placeholderAPIStateFailure = ( { inspectorControls } @@ -385,7 +389,7 @@ class MapEdit extends Component { ); - const mapStyleObject = settings.styles.find( styleObject => styleObject.name === mapStyle ); + const mapStyleObject = styles.find( styleObject => styleObject.name === mapStyle ); const placholderPreview = (
__NAMESPACE__ . '\load_assets', ) @@ -123,7 +120,7 @@ function load_assets( $attr, $content ) { ); } - Jetpack_Gutenberg::load_assets_as_required( FEATURE_NAME ); + Jetpack_Gutenberg::load_assets_as_required( __DIR__ ); $map_provider = get_map_provider( $content ); if ( $map_provider === 'mapkit' ) { @@ -175,7 +172,7 @@ function render_single_block_page() { add_filter( 'jetpack_is_amp_request', '__return_false' ); - Jetpack_Gutenberg::load_assets_as_required( FEATURE_NAME ); + Jetpack_Gutenberg::load_assets_as_required( __DIR__ ); wp_scripts()->do_items(); wp_styles()->do_items(); diff --git a/projects/plugins/jetpack/extensions/blocks/map/save.js b/projects/plugins/jetpack/extensions/blocks/map/save.js index 1d6da9f3f10d1..d01b486718c1d 100644 --- a/projects/plugins/jetpack/extensions/blocks/map/save.js +++ b/projects/plugins/jetpack/extensions/blocks/map/save.js @@ -1,6 +1,6 @@ import { Component } from '@wordpress/element'; import { getActiveStyleName } from '../../shared/block-styles'; -import { settings } from './settings.js'; +import styles from './styles'; class MapSave extends Component { render() { @@ -17,7 +17,7 @@ class MapSave extends Component { mapHeight, showFullscreenButton, } = attributes; - const mapStyle = getActiveStyleName( settings.styles, className ); + const mapStyle = getActiveStyleName( styles, className ); const pointsList = points.map( ( point, index ) => { const { longitude, latitude } = point.coordinates; const url = 'https://www.google.com/maps/search/?api=1&query=' + latitude + ',' + longitude; diff --git a/projects/plugins/jetpack/extensions/blocks/map/settings.js b/projects/plugins/jetpack/extensions/blocks/map/settings.js deleted file mode 100644 index 82d63740ee180..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/map/settings.js +++ /dev/null @@ -1,140 +0,0 @@ -// Disable forbidden etc. so that frontend component does not depend on @wordpress/component -/* eslint-disable react/forbid-elements */ -import { __, _x } from '@wordpress/i18n'; -import blackAndWhiteTheme from './previews/map-theme_black_and_white.jpg'; -import blackAndWhiteThemeMapkit from './previews/map-theme_black_and_white_mapkit.jpg'; -import defaultTheme from './previews/map-theme_default.jpg'; -import defaultThemeMapkit from './previews/map-theme_default_mapkit.jpg'; -import satelliteTheme from './previews/map-theme_satellite.jpg'; -import satelliteThemeMapkit from './previews/map-theme_satellite_mapkit.jpg'; -import terrainTheme from './previews/map-theme_terrain.jpg'; -import { getMapProvider } from './utils'; - -const provider = getMapProvider(); - -export const settings = { - name: 'map', - prefix: 'jetpack', - title: __( 'Map', 'jetpack' ), - icon: ( - /* Do not use SVG components from @wordpress/component to avoid frontend bloat */ - - ), - category: 'embed', - keywords: [ - _x( 'maps', 'block search term', 'jetpack' ), - _x( 'location', 'block search term', 'jetpack' ), - _x( 'navigation', 'block search term', 'jetpack' ), - ], - description: __( 'Add an interactive map showing one or more locations.', 'jetpack' ), - attributes: { - align: { - type: 'string', - }, - points: { - type: 'array', - default: [], - }, - address: { - type: 'string', - default: '', - }, - mapDetails: { - type: 'boolean', - default: true, - }, - zoom: { - type: 'integer', - default: 13, - }, - mapCenter: { - type: 'object', - default: { - longitude: -122.41941550000001, - latitude: 37.7749295, - }, - }, - markerColor: { - type: 'string', - default: 'red', - }, - preview: { - type: 'boolean', - default: false, - }, - scrollToZoom: { - type: 'boolean', - default: false, - }, - mapHeight: { - type: 'integer', - }, - showFullscreenButton: { - type: 'boolean', - default: true, - }, - }, - supports: { - defaultStylePicker: false, - html: false, - }, - styles: [ - { - name: 'default', - label: __( 'Basic', 'jetpack' ), - preview: provider === 'mapkit' ? defaultThemeMapkit : defaultTheme, - isDefault: true, - }, - { - name: 'black_and_white', - label: - provider === 'mapkit' - ? __( 'Muted', 'jetpack', /* dummy arg to avoid bad minification */ 0 ) - : __( 'Black & White', 'jetpack' ), - preview: provider === 'mapkit' ? blackAndWhiteThemeMapkit : blackAndWhiteTheme, - }, - { - name: 'satellite', - label: __( 'Satellite', 'jetpack' ), - preview: provider === 'mapkit' ? satelliteThemeMapkit : satelliteTheme, - }, - { - name: 'terrain', - label: __( 'Terrain', 'jetpack' ), - preview: terrainTheme, - }, - ], - validAlignments: [ 'center', 'wide', 'full' ], - markerIcon: ( - /* Do not use SVG components from @wordpress/component to avoid frontend bloat */ - - - - - - - - - ), - example: { - attributes: { - preview: true, - }, - }, -}; diff --git a/projects/plugins/jetpack/extensions/blocks/map/style.scss b/projects/plugins/jetpack/extensions/blocks/map/style.scss index 2b96907f1c0ea..211e59dd4ba41 100644 --- a/projects/plugins/jetpack/extensions/blocks/map/style.scss +++ b/projects/plugins/jetpack/extensions/blocks/map/style.scss @@ -6,7 +6,7 @@ overflow: hidden; background: $gray-200; min-height: 400px; - text-align: left; + text-align: start; } .mapkit-popup-content { diff --git a/projects/plugins/jetpack/extensions/blocks/map/styles.js b/projects/plugins/jetpack/extensions/blocks/map/styles.js new file mode 100644 index 0000000000000..b6dab917cd27a --- /dev/null +++ b/projects/plugins/jetpack/extensions/blocks/map/styles.js @@ -0,0 +1,38 @@ +import { __ } from '@wordpress/i18n'; +import blackAndWhiteTheme from './previews/map-theme_black_and_white.jpg'; +import blackAndWhiteThemeMapkit from './previews/map-theme_black_and_white_mapkit.jpg'; +import defaultTheme from './previews/map-theme_default.jpg'; +import defaultThemeMapkit from './previews/map-theme_default_mapkit.jpg'; +import satelliteTheme from './previews/map-theme_satellite.jpg'; +import satelliteThemeMapkit from './previews/map-theme_satellite_mapkit.jpg'; +import terrainTheme from './previews/map-theme_terrain.jpg'; +import { getMapProvider } from './utils'; + +const provider = getMapProvider(); + +export default [ + { + name: 'default', + label: __( 'Basic', 'jetpack' ), + preview: provider === 'mapkit' ? defaultThemeMapkit : defaultTheme, + isDefault: true, + }, + { + name: 'black_and_white', + label: + provider === 'mapkit' + ? __( 'Muted', 'jetpack', /* dummy arg to avoid bad minification */ 0 ) + : __( 'Black & White', 'jetpack' ), + preview: provider === 'mapkit' ? blackAndWhiteThemeMapkit : blackAndWhiteTheme, + }, + { + name: 'satellite', + label: __( 'Satellite', 'jetpack' ), + preview: provider === 'mapkit' ? satelliteThemeMapkit : satelliteTheme, + }, + { + name: 'terrain', + label: __( 'Terrain', 'jetpack' ), + preview: terrainTheme, + }, +]; diff --git a/projects/plugins/jetpack/extensions/blocks/map/test/validate.js b/projects/plugins/jetpack/extensions/blocks/map/test/validate.js index b72589b60b8dc..c3f02dceadbca 100644 --- a/projects/plugins/jetpack/extensions/blocks/map/test/validate.js +++ b/projects/plugins/jetpack/extensions/blocks/map/test/validate.js @@ -1,5 +1,7 @@ -import { name, settings } from '../'; import runBlockFixtureTests from '../../../shared/test/block-fixtures'; +import metadata from '../block.json'; -const blocks = [ { name: `jetpack/${ name }`, settings } ]; -runBlockFixtureTests( `jetpack/${ name }`, blocks, __dirname ); +const { name } = metadata; + +const blocks = [ { name, settings: metadata } ]; +runBlockFixtureTests( name, blocks, __dirname ); From 50c948df60289d53c8c644f29ee505c122a670e2 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Tue, 12 Sep 2023 16:55:00 -0400 Subject: [PATCH 54/57] Refactor Markdown block registration --- .../extensions/blocks/markdown/block.json | 6 +- .../extensions/blocks/markdown/editor.js | 13 ++- .../extensions/blocks/markdown/index.js | 95 ------------------- .../extensions/blocks/markdown/markdown.php | 5 +- 4 files changed, 16 insertions(+), 103 deletions(-) delete mode 100644 projects/plugins/jetpack/extensions/blocks/markdown/index.js diff --git a/projects/plugins/jetpack/extensions/blocks/markdown/block.json b/projects/plugins/jetpack/extensions/blocks/markdown/block.json index c4c417c772fce..b5618ee9793ac 100644 --- a/projects/plugins/jetpack/extensions/blocks/markdown/block.json +++ b/projects/plugins/jetpack/extensions/blocks/markdown/block.json @@ -22,5 +22,9 @@ } }, "attributes": { "source": { "type": "string" } }, - "editorScript": "file:../editor.js" + "example": { + "attributes": { + "source": "## ## Try Markdown\n\nMarkdown is a text formatting syntax that is converted into HTML. You can _emphasize_ text or **make it strong** with just a few characters." + } + } } diff --git a/projects/plugins/jetpack/extensions/blocks/markdown/editor.js b/projects/plugins/jetpack/extensions/blocks/markdown/editor.js index d7ec194d817a1..b952d5df5a0eb 100644 --- a/projects/plugins/jetpack/extensions/blocks/markdown/editor.js +++ b/projects/plugins/jetpack/extensions/blocks/markdown/editor.js @@ -1,4 +1,11 @@ -import registerJetpackBlock from '../../shared/register-jetpack-block'; -import { name, settings } from '.'; +import { registerJetpackBlockFromMetadata } from '../../shared/register-jetpack-block'; +import metadata from './block.json'; +import edit from './edit'; +import save from './save'; -registerJetpackBlock( name, settings ); +import './editor.scss'; + +registerJetpackBlockFromMetadata( metadata, { + edit, + save, +} ); diff --git a/projects/plugins/jetpack/extensions/blocks/markdown/index.js b/projects/plugins/jetpack/extensions/blocks/markdown/index.js deleted file mode 100644 index 2af50b3ab9371..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/markdown/index.js +++ /dev/null @@ -1,95 +0,0 @@ -import { isAtomicSite, isSimpleSite } from '@automattic/jetpack-shared-extension-utils'; -import { ExternalLink, Path, Rect, SVG } from '@wordpress/components'; -import { Fragment } from '@wordpress/element'; -import { __, _x } from '@wordpress/i18n'; -import { getIconColor } from '../../shared/block-icons'; -import getCategoryWithFallbacks from '../../shared/get-category-with-fallbacks'; -import edit from './edit'; -import save from './save'; - -import './editor.scss'; - -export const name = 'markdown'; - -const exampleTitle = __( 'Try Markdown', 'jetpack' ); -const exampleDescription = __( - 'Markdown is a text formatting syntax that is converted into HTML. You can _emphasize_ text or **make it strong** with just a few characters.', - 'jetpack' -); - -const icon = ( - - - - -); - -const supportLink = - isSimpleSite() || isAtomicSite() - ? 'https://en.support.wordpress.com/markdown-quick-reference/' - : 'https://jetpack.com/support/jetpack-blocks/markdown-block/'; - -export const settings = { - title: __( 'Markdown', 'jetpack' ), - - description: ( - -

- { __( - 'Use regular characters and punctuation to style text, links, and lists.', - 'jetpack' - ) } -

- { __( 'Support reference', 'jetpack' ) } - - ), - - icon: { - src: icon, - foreground: getIconColor(), - }, - - category: getCategoryWithFallbacks( 'text', 'formatting' ), - keywords: [ - _x( 'formatting', 'block search term', 'jetpack' ), - _x( 'syntax', 'block search term', 'jetpack' ), - _x( 'markup', 'block search term', 'jetpack' ), - ], - - attributes: { - //The Markdown source is saved in the block content comments delimiter - source: { type: 'string' }, - }, - - supports: { - align: [ 'wide', 'full' ], - html: false, - spacing: { - padding: true, - margin: true, - __experimentalDefaultControls: { - padding: true, - margin: true, - }, - }, - }, - - edit, - - save, - - example: { - attributes: { - source: `## ## ${ exampleTitle }\n\n${ exampleDescription }`, - }, - }, -}; diff --git a/projects/plugins/jetpack/extensions/blocks/markdown/markdown.php b/projects/plugins/jetpack/extensions/blocks/markdown/markdown.php index 13a81fc858be4..fdbd1ff389937 100644 --- a/projects/plugins/jetpack/extensions/blocks/markdown/markdown.php +++ b/projects/plugins/jetpack/extensions/blocks/markdown/markdown.php @@ -11,15 +11,12 @@ use Automattic\Jetpack\Blocks; -const FEATURE_NAME = 'markdown'; -const BLOCK_NAME = 'jetpack/' . FEATURE_NAME; - /** * Registers the block for use in Gutenberg * This is done via an action so that we can disable * registration if we need to. */ function register_block() { - Blocks::jetpack_register_block( BLOCK_NAME ); + Blocks::jetpack_register_block( __DIR__ ); } add_action( 'init', __NAMESPACE__ . '\register_block' ); From 59fbb80da34a5c50f36bf580d95fec00d24364a3 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Tue, 12 Sep 2023 18:22:28 -0400 Subject: [PATCH 55/57] Refactor OpenTable block registration --- .../extensions/blocks/opentable/attributes.js | 68 ----------------- .../extensions/blocks/opentable/block.json | 44 ++++++++++- .../blocks/opentable/deprecated/v1/index.js | 4 +- .../blocks/opentable/deprecated/v2/index.js | 4 +- .../extensions/blocks/opentable/edit.js | 24 +++--- .../extensions/blocks/opentable/editor.js | 44 ++++++++++- .../extensions/blocks/opentable/editor.scss | 7 ++ .../extensions/blocks/opentable/i18n.js | 12 +++ .../extensions/blocks/opentable/icon.js | 7 -- .../extensions/blocks/opentable/index.js | 75 ------------------- .../extensions/blocks/opentable/opentable.php | 9 +-- .../extensions/blocks/opentable/styles.js | 17 +++++ 12 files changed, 139 insertions(+), 176 deletions(-) delete mode 100644 projects/plugins/jetpack/extensions/blocks/opentable/attributes.js create mode 100644 projects/plugins/jetpack/extensions/blocks/opentable/i18n.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/opentable/icon.js delete mode 100644 projects/plugins/jetpack/extensions/blocks/opentable/index.js create mode 100644 projects/plugins/jetpack/extensions/blocks/opentable/styles.js diff --git a/projects/plugins/jetpack/extensions/blocks/opentable/attributes.js b/projects/plugins/jetpack/extensions/blocks/opentable/attributes.js deleted file mode 100644 index f1d017d8afbf0..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/opentable/attributes.js +++ /dev/null @@ -1,68 +0,0 @@ -import { __ } from '@wordpress/i18n'; -import { compact, isEmpty } from 'lodash'; - -const optionValues = options => options.map( option => option.value ); - -export const languageOptions = [ - { value: 'en-US', label: 'English' }, - { value: 'fr-CA', label: 'Français' }, - { value: 'de-DE', label: 'Deutsch' }, - { value: 'es-MX', label: 'Español' }, - { value: 'ja-JP', label: '日本語' }, - { value: 'nl-NL', label: 'Nederlands' }, - { value: 'it-IT', label: 'Italiano' }, -]; -export const languageValues = optionValues( languageOptions ); - -export const buttonStyle = { - name: 'button', - label: __( 'Button (210 x 113 pixels)', 'jetpack' ), -}; - -export const getStyleOptions = rid => - compact( [ - { name: 'standard', label: __( 'Standard (224 x 301 pixels)', 'jetpack' ), isDefault: true }, - { name: 'tall', label: __( 'Tall (288 x 490 pixels)', 'jetpack' ) }, - { name: 'wide', label: __( 'Wide (840 x 150 pixels)', 'jetpack' ) }, - ( ! rid || rid.length === 1 ) && buttonStyle, - ] ); - -export const getStyleValues = rid => getStyleOptions( rid ).map( option => option.name ); - -const siteLocale = window?.Jetpack_Editor_Initial_State?.siteLocale ?? 'en-US'; - -const defaultLanguage = - ! isEmpty( siteLocale ) && languageValues.includes( siteLocale ) ? siteLocale : 'en-US'; - -export const defaultAttributes = { - rid: { - default: [], - type: 'array', - }, - style: { - default: 'standard', - type: 'string', - validValues: getStyleValues(), - }, - iframe: { - default: true, - type: 'boolean', - }, - domain: { - default: 'com', - type: 'string', - }, - lang: { - default: defaultLanguage, - type: 'string', - validValues: languageValues, - }, - newtab: { - default: false, - type: 'boolean', - }, - negativeMargin: { - default: false, - type: 'boolean', - }, -}; diff --git a/projects/plugins/jetpack/extensions/blocks/opentable/block.json b/projects/plugins/jetpack/extensions/blocks/opentable/block.json index 98636cc56d937..52bd5eba7a382 100644 --- a/projects/plugins/jetpack/extensions/blocks/opentable/block.json +++ b/projects/plugins/jetpack/extensions/blocks/opentable/block.json @@ -10,5 +10,47 @@ "category": "earn", "icon": "", "supports": { "align": true, "html": false }, - "editorScript": "file:../editor.js" + "attributes": { + "rid": { + "default": [], + "type": "array" + }, + "style": { + "default": "standard", + "type": "string", + "enum": [ "button", "standard", "wide", "tall" ] + }, + "iframe": { + "default": true, + "type": "boolean" + }, + "domain": { + "default": "com", + "type": "string" + }, + "lang": { + "default": "en-US", + "type": "string", + "enum": [ "en-US", "fr-CA", "de-DE", "es-MX", "ja-JP", "nl-NL", "it-IT" ] + }, + "newtab": { + "default": false, + "type": "boolean" + }, + "negativeMargin": { + "default": false, + "type": "boolean" + } + }, + "example": { + "attributes": { + "rid": [ "1" ], + "style": "standard", + "iframe": true, + "domain": "com", + "lang": "en-US", + "newtab": false, + "negativeMargin": false + } + } } diff --git a/projects/plugins/jetpack/extensions/blocks/opentable/deprecated/v1/index.js b/projects/plugins/jetpack/extensions/blocks/opentable/deprecated/v1/index.js index 39ed252db5221..129bd2d2d2fa0 100644 --- a/projects/plugins/jetpack/extensions/blocks/opentable/deprecated/v1/index.js +++ b/projects/plugins/jetpack/extensions/blocks/opentable/deprecated/v1/index.js @@ -1,7 +1,7 @@ -import { defaultAttributes } from '../../attributes'; +import metadata from '../../block.json'; export default { - attributes: defaultAttributes, + attributes: metadata.attributes, supports: { align: true, html: false, diff --git a/projects/plugins/jetpack/extensions/blocks/opentable/deprecated/v2/index.js b/projects/plugins/jetpack/extensions/blocks/opentable/deprecated/v2/index.js index e2b7214787ac2..711a6d758de36 100644 --- a/projects/plugins/jetpack/extensions/blocks/opentable/deprecated/v2/index.js +++ b/projects/plugins/jetpack/extensions/blocks/opentable/deprecated/v2/index.js @@ -1,7 +1,7 @@ -import { defaultAttributes } from '../../attributes'; +import metadata from '../../block.json'; export default { - attributes: defaultAttributes, + attributes: metadata.attributes, migrate: attributes => { const { style, className } = attributes; const styleClassName = 'standard' === style ? '' : `is-style-${ style }`; diff --git a/projects/plugins/jetpack/extensions/blocks/opentable/edit.js b/projects/plugins/jetpack/extensions/blocks/opentable/edit.js index 4391ee9816921..88e529807444a 100644 --- a/projects/plugins/jetpack/extensions/blocks/opentable/edit.js +++ b/projects/plugins/jetpack/extensions/blocks/opentable/edit.js @@ -1,4 +1,8 @@ -import { isAtomicSite, isSimpleSite } from '@automattic/jetpack-shared-extension-utils'; +import { + isAtomicSite, + isSimpleSite, + getBlockIconComponent, +} from '@automattic/jetpack-shared-extension-utils'; import { InspectorControls, InspectorAdvancedControls } from '@wordpress/block-editor'; import { getBlockDefaultClassName, @@ -20,19 +24,15 @@ import { isEmpty, isEqual, join } from 'lodash'; import './editor.scss'; import { getActiveStyleName } from '../../shared/block-styles'; import { getValidatedAttributes } from '../../shared/get-validated-attributes'; -import { - buttonStyle, - defaultAttributes, - getStyleOptions, - getStyleValues, - languageOptions, - languageValues, -} from './attributes'; -import icon from './icon'; +import metadata from './block.json'; +import { languageOptions, languageValues } from './i18n'; import RestaurantPicker from './restaurant-picker'; +import { buttonStyle, getStyleOptions, getStyleValues } from './styles'; import usePrevious from './use-previous'; import { getAttributesFromEmbedCode } from './utils'; +const icon = getBlockIconComponent( metadata ); + function OpenTableEdit( { attributes, className, @@ -44,7 +44,7 @@ function OpenTableEdit( { setAttributes, } ) { const defaultClassName = getBlockDefaultClassName( name ); - const validatedAttributes = getValidatedAttributes( defaultAttributes, attributes ); + const validatedAttributes = getValidatedAttributes( metadata.attributes, attributes ); if ( ! isEqual( validatedAttributes, attributes ) ) { setAttributes( validatedAttributes ); @@ -131,7 +131,7 @@ function OpenTableEdit( { ); } - const validatedNewAttributes = getValidatedAttributes( defaultAttributes, newAttributes ); + const validatedNewAttributes = getValidatedAttributes( metadata.attributes, newAttributes ); setAttributes( validatedNewAttributes ); noticeOperations.removeAllNotices(); }; diff --git a/projects/plugins/jetpack/extensions/blocks/opentable/editor.js b/projects/plugins/jetpack/extensions/blocks/opentable/editor.js index d7ec194d817a1..98d152b9f1f66 100644 --- a/projects/plugins/jetpack/extensions/blocks/opentable/editor.js +++ b/projects/plugins/jetpack/extensions/blocks/opentable/editor.js @@ -1,4 +1,42 @@ -import registerJetpackBlock from '../../shared/register-jetpack-block'; -import { name, settings } from '.'; +import { createBlock } from '@wordpress/blocks'; +import { registerJetpackBlockFromMetadata } from '../../shared/register-jetpack-block'; +import metadata from './block.json'; +import deprecatedV1 from './deprecated/v1'; +import deprecatedV2 from './deprecated/v2'; +import edit from './edit'; +import { getAttributesFromEmbedCode, restRefRegex, ridRegex } from './utils'; -registerJetpackBlock( name, settings ); +import './editor.scss'; +import './view.scss'; + +registerJetpackBlockFromMetadata( metadata, { + edit, + save: ( { attributes: { rid } } ) => ( +
+ { rid.map( ( restaurantId, restaurantIndex ) => ( + + { `https://www.opentable.com/restref/client/?rid=${ restaurantId }` } + + ) ) } +
+ ), + transforms: { + from: [ + { + type: 'raw', + isMatch: node => + node.nodeName === 'P' && + node.textContent.indexOf( 'http' ) === 0 && + ( ridRegex.test( node.textContent ) || restRefRegex.test( node.textContent ) ), + transform: node => { + const newAttributes = getAttributesFromEmbedCode( node.textContent ); + return createBlock( 'jetpack/opentable', newAttributes ); + }, + }, + ], + }, + deprecated: [ deprecatedV1, deprecatedV2 ], +} ); diff --git a/projects/plugins/jetpack/extensions/blocks/opentable/editor.scss b/projects/plugins/jetpack/extensions/blocks/opentable/editor.scss index dbd139d47aac2..f050b3347f189 100644 --- a/projects/plugins/jetpack/extensions/blocks/opentable/editor.scss +++ b/projects/plugins/jetpack/extensions/blocks/opentable/editor.scss @@ -68,6 +68,13 @@ } } + .components-placeholder__label { + svg { + display: block; + margin-inline-end: 0.75rem; + } + } + iframe { height: 100%; width: 100%; diff --git a/projects/plugins/jetpack/extensions/blocks/opentable/i18n.js b/projects/plugins/jetpack/extensions/blocks/opentable/i18n.js new file mode 100644 index 0000000000000..3f34041ba8fa6 --- /dev/null +++ b/projects/plugins/jetpack/extensions/blocks/opentable/i18n.js @@ -0,0 +1,12 @@ +const optionValues = options => options.map( option => option.value ); + +export const languageOptions = [ + { value: 'en-US', label: 'English' }, + { value: 'fr-CA', label: 'Français' }, + { value: 'de-DE', label: 'Deutsch' }, + { value: 'es-MX', label: 'Español' }, + { value: 'ja-JP', label: '日本語' }, + { value: 'nl-NL', label: 'Nederlands' }, + { value: 'it-IT', label: 'Italiano' }, +]; +export const languageValues = optionValues( languageOptions ); diff --git a/projects/plugins/jetpack/extensions/blocks/opentable/icon.js b/projects/plugins/jetpack/extensions/blocks/opentable/icon.js deleted file mode 100644 index c1cd082eb9866..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/opentable/icon.js +++ /dev/null @@ -1,7 +0,0 @@ -import { SVG, Path } from '@wordpress/components'; - -export default ( - - - -); diff --git a/projects/plugins/jetpack/extensions/blocks/opentable/index.js b/projects/plugins/jetpack/extensions/blocks/opentable/index.js deleted file mode 100644 index d3f507ae0818e..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/opentable/index.js +++ /dev/null @@ -1,75 +0,0 @@ -import { createBlock } from '@wordpress/blocks'; -import { __, _x } from '@wordpress/i18n'; -import { getIconColor } from '../../shared/block-icons'; -import { defaultAttributes, getStyleOptions } from './attributes'; -import deprecatedV1 from './deprecated/v1'; -import deprecatedV2 from './deprecated/v2'; -import edit from './edit'; -import icon from './icon'; -import { getAttributesFromEmbedCode, restRefRegex, ridRegex } from './utils'; -import './editor.scss'; -import './view.scss'; - -export const name = 'opentable'; -export const title = __( 'OpenTable', 'jetpack' ); - -export const settings = { - title, - description: __( 'Allow visitors to book a reservation with OpenTable', 'jetpack' ), - icon: { - src: icon, - foreground: getIconColor(), - }, - category: 'earn', - keywords: [ - _x( 'booking', 'block search term', 'jetpack' ), - _x( 'reservation', 'block search term', 'jetpack' ), - _x( 'restaurant', 'block search term', 'jetpack' ), - ], - supports: { - align: true, - html: false, - }, - edit, - save: ( { attributes: { rid } } ) => ( -
- { rid.map( ( restaurantId, restaurantIndex ) => ( - - { `https://www.opentable.com/restref/client/?rid=${ restaurantId }` } - - ) ) } -
- ), - attributes: defaultAttributes, - styles: getStyleOptions(), - example: { - attributes: { - rid: [ '1' ], - style: 'standard', - iframe: true, - domain: 'com', - lang: 'en-US', - newtab: false, - negativeMargin: false, - }, - }, - transforms: { - from: [ - { - type: 'raw', - isMatch: node => - node.nodeName === 'P' && - node.textContent.indexOf( 'http' ) === 0 && - ( ridRegex.test( node.textContent ) || restRefRegex.test( node.textContent ) ), - transform: node => { - const newAttributes = getAttributesFromEmbedCode( node.textContent ); - return createBlock( 'jetpack/opentable', newAttributes ); - }, - }, - ], - }, - deprecated: [ deprecatedV1, deprecatedV2 ], -}; diff --git a/projects/plugins/jetpack/extensions/blocks/opentable/opentable.php b/projects/plugins/jetpack/extensions/blocks/opentable/opentable.php index 1a6bcb6212e6b..2e4f5b17194d4 100644 --- a/projects/plugins/jetpack/extensions/blocks/opentable/opentable.php +++ b/projects/plugins/jetpack/extensions/blocks/opentable/opentable.php @@ -12,9 +12,6 @@ use Automattic\Jetpack\Blocks; use Jetpack_Gutenberg; -const FEATURE_NAME = 'opentable'; -const BLOCK_NAME = 'jetpack/' . FEATURE_NAME; - /** * Registers the block for use in Gutenberg * This is done via an action so that we can disable @@ -22,7 +19,7 @@ */ function register_block() { Blocks::jetpack_register_block( - BLOCK_NAME, + __DIR__, array( 'render_callback' => __NAMESPACE__ . '\load_assets', 'plan_check' => true, @@ -40,7 +37,7 @@ function register_block() { */ function load_assets( $attributes ) { - Jetpack_Gutenberg::load_assets_as_required( FEATURE_NAME ); + Jetpack_Gutenberg::load_assets_as_required( __DIR__ ); $classes = array(); $class_name = get_attribute( $attributes, 'className' ); @@ -62,7 +59,7 @@ function load_assets( $attributes ) { if ( array_key_exists( 'negativeMargin', $attributes ) && $attributes['negativeMargin'] ) { $classes[] = 'has-no-margin'; } - $classes = Blocks::classes( FEATURE_NAME, $attributes, $classes ); + $classes = Blocks::classes( Blocks::get_block_feature( __DIR__ ), $attributes, $classes ); $content = '
'; $script_url = build_embed_url( $attributes ); diff --git a/projects/plugins/jetpack/extensions/blocks/opentable/styles.js b/projects/plugins/jetpack/extensions/blocks/opentable/styles.js new file mode 100644 index 0000000000000..af6b0ec1cd5e8 --- /dev/null +++ b/projects/plugins/jetpack/extensions/blocks/opentable/styles.js @@ -0,0 +1,17 @@ +import { __ } from '@wordpress/i18n'; +import { compact } from 'lodash'; + +export const buttonStyle = { + name: 'button', + label: __( 'Button (210 x 113 pixels)', 'jetpack' ), +}; + +export const getStyleOptions = rid => + compact( [ + { name: 'standard', label: __( 'Standard (224 x 301 pixels)', 'jetpack' ), isDefault: true }, + { name: 'tall', label: __( 'Tall (288 x 490 pixels)', 'jetpack' ) }, + { name: 'wide', label: __( 'Wide (840 x 150 pixels)', 'jetpack' ) }, + ( ! rid || rid.length === 1 ) && buttonStyle, + ] ); + +export const getStyleValues = rid => getStyleOptions( rid ).map( option => option.name ); From 2e9062914f7f3965775a015d1b9eb8c91ab9af87 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Tue, 12 Sep 2023 18:28:51 -0400 Subject: [PATCH 56/57] Refactor Payment Button block registration --- .../blocks/payment-buttons/block.json | 3 +- .../blocks/payment-buttons/editor.js | 13 +++- .../blocks/payment-buttons/index.js | 75 ------------------- .../payment-buttons/payment-buttons.php | 13 +--- .../blocks/payments-intro/variations.js | 4 +- 5 files changed, 15 insertions(+), 93 deletions(-) delete mode 100644 projects/plugins/jetpack/extensions/blocks/payment-buttons/index.js diff --git a/projects/plugins/jetpack/extensions/blocks/payment-buttons/block.json b/projects/plugins/jetpack/extensions/blocks/payment-buttons/block.json index 7dabeace489ab..606edbc5d372d 100644 --- a/projects/plugins/jetpack/extensions/blocks/payment-buttons/block.json +++ b/projects/plugins/jetpack/extensions/blocks/payment-buttons/block.json @@ -64,6 +64,5 @@ } } }, - "attributes": {}, - "editorScript": "file:../editor.js" + "attributes": {} } diff --git a/projects/plugins/jetpack/extensions/blocks/payment-buttons/editor.js b/projects/plugins/jetpack/extensions/blocks/payment-buttons/editor.js index d7ec194d817a1..b952d5df5a0eb 100644 --- a/projects/plugins/jetpack/extensions/blocks/payment-buttons/editor.js +++ b/projects/plugins/jetpack/extensions/blocks/payment-buttons/editor.js @@ -1,4 +1,11 @@ -import registerJetpackBlock from '../../shared/register-jetpack-block'; -import { name, settings } from '.'; +import { registerJetpackBlockFromMetadata } from '../../shared/register-jetpack-block'; +import metadata from './block.json'; +import edit from './edit'; +import save from './save'; -registerJetpackBlock( name, settings ); +import './editor.scss'; + +registerJetpackBlockFromMetadata( metadata, { + edit, + save, +} ); diff --git a/projects/plugins/jetpack/extensions/blocks/payment-buttons/index.js b/projects/plugins/jetpack/extensions/blocks/payment-buttons/index.js deleted file mode 100644 index 5c255b6d9114f..0000000000000 --- a/projects/plugins/jetpack/extensions/blocks/payment-buttons/index.js +++ /dev/null @@ -1,75 +0,0 @@ -import { isAtomicSite, isSimpleSite } from '@automattic/jetpack-shared-extension-utils'; -import { Path, Rect, SVG, G, ExternalLink } from '@wordpress/components'; -import { Fragment } from '@wordpress/element'; -import { __ } from '@wordpress/i18n'; -import { getIconColor } from '../../shared/block-icons'; -import { settings as paymentButtonSettings } from '../recurring-payments'; -import edit from './edit'; -import save from './save'; -import './editor.scss'; - -export const name = 'payment-buttons'; -export const title = __( 'Payment Buttons', 'jetpack' ); -export const icon = ( - - - - - - -); - -const supportLink = - isSimpleSite() || isAtomicSite() - ? 'https://wordpress.com/support/video-tutorials-add-payments-features-to-your-site-with-our-guides/#how-to-use-the-payments-block-video' - : 'https://jetpack.com/support/jetpack-blocks/payments-block/'; - -export const settings = { - apiVersion: 2, - title, - icon: { - src: icon, - foreground: getIconColor(), - }, - description: ( - -

- { __( - 'Prompt visitors to purchase your products and subscriptions with a group of buttons.', - 'jetpack' - ) } -

- { __( 'Support reference', 'jetpack' ) } -
- ), - category: 'earn', - keywords: [ ...new Set( [ paymentButtonSettings.title, ...paymentButtonSettings.keywords ] ) ], - edit, - save, - supports: { - __experimentalExposeControlsToChildren: true, - align: [ 'wide', 'full' ], - spacing: { - blockGap: true, - margin: [ 'vertical' ], - __experimentalDefaultControls: { - blockGap: true, - }, - }, - __experimentalLayout: { - allowSwitching: false, - allowInheriting: false, - default: { - type: 'flex', - }, - }, - typography: { - fontSize: true, - __experimentalFontFamily: true, - __experimentalTextTransform: true, - __experimentalDefaultControls: { - fontSize: true, - }, - }, - }, -}; diff --git a/projects/plugins/jetpack/extensions/blocks/payment-buttons/payment-buttons.php b/projects/plugins/jetpack/extensions/blocks/payment-buttons/payment-buttons.php index 892e2a19211dd..1e99ef51f2f38 100644 --- a/projects/plugins/jetpack/extensions/blocks/payment-buttons/payment-buttons.php +++ b/projects/plugins/jetpack/extensions/blocks/payment-buttons/payment-buttons.php @@ -27,18 +27,9 @@ function register_block() { require_once JETPACK__PLUGIN_DIR . '/modules/memberships/class-jetpack-memberships.php'; if ( \Jetpack_Memberships::is_enabled_jetpack_recurring_payments() ) { Blocks::jetpack_register_block( - BLOCK_NAME, + __DIR__, array( 'render_callback' => __NAMESPACE__ . '\render_block', - 'supports' => array( - '__experimentalLayout' => array( - 'allowSwitching' => false, - 'allowInheriting' => false, - 'default' => array( - 'type' => 'flex', - ), - ), - ), ) ); } else { @@ -64,7 +55,7 @@ function register_block() { * @return string */ function render_block( $attributes, $content ) { - \Jetpack_Gutenberg::load_styles_as_required( FEATURE_NAME ); + \Jetpack_Gutenberg::load_styles_as_required( __DIR__ ); return $content; } diff --git a/projects/plugins/jetpack/extensions/blocks/payments-intro/variations.js b/projects/plugins/jetpack/extensions/blocks/payments-intro/variations.js index a5851fae2dc81..d7394a79889c1 100644 --- a/projects/plugins/jetpack/extensions/blocks/payments-intro/variations.js +++ b/projects/plugins/jetpack/extensions/blocks/payments-intro/variations.js @@ -3,12 +3,12 @@ */ import { name as donationsName, settings as donationSettings } from '../donations'; -import { name as paymentButtonsName, settings as paymentButtonsSettings } from '../payment-buttons'; +import paymentButtonsMetadata from '../payment-buttons/block.json'; import { name as premiumContentName, settings as premiumContentSettings } from '../premium-content'; const variations = [ [ donationsName, donationSettings ], - [ paymentButtonsName, paymentButtonsSettings ], + [ paymentButtonsMetadata.name, paymentButtonsMetadata ], [ premiumContentName, premiumContentSettings ], ]; From 8a137e7409ea72c89233f30eeea70e505f7b8446 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Tue, 12 Sep 2023 18:29:40 -0400 Subject: [PATCH 57/57] Add changelog --- .../jetpack/changelog/refactor-prod-blocks-registration-3 | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 projects/plugins/jetpack/changelog/refactor-prod-blocks-registration-3 diff --git a/projects/plugins/jetpack/changelog/refactor-prod-blocks-registration-3 b/projects/plugins/jetpack/changelog/refactor-prod-blocks-registration-3 new file mode 100644 index 0000000000000..00fe192fd3de6 --- /dev/null +++ b/projects/plugins/jetpack/changelog/refactor-prod-blocks-registration-3 @@ -0,0 +1,4 @@ +Significance: patch +Type: other + +Refactor production blocks registration