WooCommerce Gutenberg Products Block - Version 4.9.1

Version Description

  • 2021-04-13 =

Bug Fixes

  • Check if Cart and Checkout are registered before removing payment methods. (4056)
Download this release

Release Info

Developer automattic
Plugin Icon 128x128 WooCommerce Gutenberg Products Block
Version 4.9.1
Comparing to
See all releases

Code changes from version 4.9.0 to 4.9.1

readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: gutenberg, woocommerce, woo commerce, products, blocks, woocommerce blocks
4
  Requires at least: 5.5
5
  Tested up to: 5.7
6
  Requires PHP: 7.0
7
- Stable tag: 4.9.0
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -85,6 +85,12 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/
85
 
86
  == Changelog ==
87
 
 
 
 
 
 
 
88
  = 4.9.0 - 2021-04-12 =
89
  #### Enhancements
90
 
4
  Requires at least: 5.5
5
  Tested up to: 5.7
6
  Requires PHP: 7.0
7
+ Stable tag: 4.9.1
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
85
 
86
  == Changelog ==
87
 
88
+ = 4.9.1 - 2021-04-13 =
89
+
90
+ #### Bug Fixes
91
+
92
+ - Check if Cart and Checkout are registered before removing payment methods. ([4056](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4056))
93
+
94
  = 4.9.0 - 2021-04-12 =
95
  #### Enhancements
96
 
src/Package.php CHANGED
@@ -106,7 +106,7 @@ class Package {
106
  NewPackage::class,
107
  function ( $container ) {
108
  // leave for automated version bumping.
109
- $version = '4.9.0';
110
  return new NewPackage(
111
  $version,
112
  dirname( __DIR__ ),
106
  NewPackage::class,
107
  function ( $container ) {
108
  // leave for automated version bumping.
109
+ $version = '4.9.1';
110
  return new NewPackage(
111
  $version,
112
  dirname( __DIR__ ),
src/Payments/Api.php CHANGED
@@ -216,6 +216,12 @@ class Api {
216
 
217
  $cart_checkout_scripts = [ 'wc-cart-block', 'wc-cart-block-frontend', 'wc-checkout-block', 'wc-checkout-block-frontend' ];
218
  foreach ( $cart_checkout_scripts as $script_handle ) {
 
 
 
 
 
 
219
  // Remove payment method script from dependencies.
220
  $wp_scripts->registered[ $script_handle ]->deps = array_diff(
221
  $wp_scripts->registered[ $script_handle ]->deps,
216
 
217
  $cart_checkout_scripts = [ 'wc-cart-block', 'wc-cart-block-frontend', 'wc-checkout-block', 'wc-checkout-block-frontend' ];
218
  foreach ( $cart_checkout_scripts as $script_handle ) {
219
+ if (
220
+ ! array_key_exists( $script_handle, $wp_scripts->registered ) ||
221
+ ! property_exists( $wp_scripts->registered[ $script_handle ], 'deps' )
222
+ ) {
223
+ continue;
224
+ }
225
  // Remove payment method script from dependencies.
226
  $wp_scripts->registered[ $script_handle ]->deps = array_diff(
227
  $wp_scripts->registered[ $script_handle ]->deps,
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit18e691114cd5c60269a98642967dd46e::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitdc626e89ccc8fca6cd6fabe222c1ad17::getLoader();
vendor/autoload_packages.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp18e691114cd5c60269a98642967dd46e;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
9
 
10
  // phpcs:ignore
11
 
vendor/composer/InstalledVersions.php CHANGED
@@ -1,28 +1,28 @@
1
  <?php
2
 
3
- /*
4
- * This file is part of Composer.
5
- *
6
- * (c) Nils Adermann <naderman@naderman.de>
7
- * Jordi Boggiano <j.boggiano@seld.be>
8
- *
9
- * For the full copyright and license information, please view the LICENSE
10
- * file that was distributed with this source code.
11
- */
12
 
13
  namespace Composer;
14
 
15
  use Composer\Autoload\ClassLoader;
16
  use Composer\Semver\VersionParser;
17
 
18
- /**
19
- * This class is copied in every Composer installed project and available to all
20
- *
21
- * To require it's presence, you can require `composer-runtime-api ^2.0`
22
- */
23
  class InstalledVersions
24
  {
25
- private static $installed = array (
26
  'root' =>
27
  array (
28
  'pretty_version' => 'dev-trunk',
@@ -30,7 +30,7 @@ class InstalledVersions
30
  'aliases' =>
31
  array (
32
  ),
33
- 'reference' => '0cc8945631a1954b048caeaa12a8c1c730bd6951',
34
  'name' => 'woocommerce/woocommerce-blocks',
35
  ),
36
  'versions' =>
@@ -74,242 +74,242 @@ class InstalledVersions
74
  'aliases' =>
75
  array (
76
  ),
77
- 'reference' => '0cc8945631a1954b048caeaa12a8c1c730bd6951',
78
  ),
79
  ),
80
  );
81
- private static $canGetVendors;
82
- private static $installedByVendor = array();
83
-
84
- /**
85
- * Returns a list of all package names which are present, either by being installed, replaced or provided
86
- *
87
- * @return string[]
88
- * @psalm-return list<string>
89
- */
90
- public static function getInstalledPackages()
91
- {
92
- $packages = array();
93
- foreach (self::getInstalled() as $installed) {
94
- $packages[] = array_keys($installed['versions']);
95
- }
96
-
97
-
98
- if (1 === \count($packages)) {
99
- return $packages[0];
100
- }
101
-
102
- return array_keys(array_flip(\call_user_func_array('array_merge', $packages)));
103
- }
104
-
105
- /**
106
- * Checks whether the given package is installed
107
- *
108
- * This also returns true if the package name is provided or replaced by another package
109
- *
110
- * @param string $packageName
111
- * @return bool
112
- */
113
- public static function isInstalled($packageName)
114
- {
115
- foreach (self::getInstalled() as $installed) {
116
- if (isset($installed['versions'][$packageName])) {
117
- return true;
118
- }
119
- }
120
-
121
- return false;
122
- }
123
-
124
- /**
125
- * Checks whether the given package satisfies a version constraint
126
- *
127
- * e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call:
128
- *
129
- * Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3')
130
- *
131
- * @param VersionParser $parser Install composer/semver to have access to this class and functionality
132
- * @param string $packageName
133
- * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
134
- *
135
- * @return bool
136
- */
137
- public static function satisfies(VersionParser $parser, $packageName, $constraint)
138
- {
139
- $constraint = $parser->parseConstraints($constraint);
140
- $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
141
-
142
- return $provided->matches($constraint);
143
- }
144
-
145
- /**
146
- * Returns a version constraint representing all the range(s) which are installed for a given package
147
- *
148
- * It is easier to use this via isInstalled() with the $constraint argument if you need to check
149
- * whether a given version of a package is installed, and not just whether it exists
150
- *
151
- * @param string $packageName
152
- * @return string Version constraint usable with composer/semver
153
- */
154
- public static function getVersionRanges($packageName)
155
- {
156
- foreach (self::getInstalled() as $installed) {
157
- if (!isset($installed['versions'][$packageName])) {
158
- continue;
159
- }
160
-
161
- $ranges = array();
162
- if (isset($installed['versions'][$packageName]['pretty_version'])) {
163
- $ranges[] = $installed['versions'][$packageName]['pretty_version'];
164
- }
165
- if (array_key_exists('aliases', $installed['versions'][$packageName])) {
166
- $ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
167
- }
168
- if (array_key_exists('replaced', $installed['versions'][$packageName])) {
169
- $ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
170
- }
171
- if (array_key_exists('provided', $installed['versions'][$packageName])) {
172
- $ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
173
- }
174
-
175
- return implode(' || ', $ranges);
176
- }
177
-
178
- throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
179
- }
180
-
181
- /**
182
- * @param string $packageName
183
- * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
184
- */
185
- public static function getVersion($packageName)
186
- {
187
- foreach (self::getInstalled() as $installed) {
188
- if (!isset($installed['versions'][$packageName])) {
189
- continue;
190
- }
191
-
192
- if (!isset($installed['versions'][$packageName]['version'])) {
193
- return null;
194
- }
195
-
196
- return $installed['versions'][$packageName]['version'];
197
- }
198
-
199
- throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
200
- }
201
-
202
- /**
203
- * @param string $packageName
204
- * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
205
- */
206
- public static function getPrettyVersion($packageName)
207
- {
208
- foreach (self::getInstalled() as $installed) {
209
- if (!isset($installed['versions'][$packageName])) {
210
- continue;
211
- }
212
-
213
- if (!isset($installed['versions'][$packageName]['pretty_version'])) {
214
- return null;
215
- }
216
-
217
- return $installed['versions'][$packageName]['pretty_version'];
218
- }
219
-
220
- throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
221
- }
222
-
223
- /**
224
- * @param string $packageName
225
- * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference
226
- */
227
- public static function getReference($packageName)
228
- {
229
- foreach (self::getInstalled() as $installed) {
230
- if (!isset($installed['versions'][$packageName])) {
231
- continue;
232
- }
233
-
234
- if (!isset($installed['versions'][$packageName]['reference'])) {
235
- return null;
236
- }
237
-
238
- return $installed['versions'][$packageName]['reference'];
239
- }
240
-
241
- throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
242
- }
243
-
244
- /**
245
- * @return array
246
- * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[]}
247
- */
248
- public static function getRootPackage()
249
- {
250
- $installed = self::getInstalled();
251
-
252
- return $installed[0]['root'];
253
- }
254
-
255
- /**
256
- * Returns the raw installed.php data for custom implementations
257
- *
258
- * @return array[]
259
- * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[]}, versions: list<string, array{pretty_version: ?string, version: ?string, aliases: ?string[], reference: ?string, replaced: ?string[], provided: ?string[]}>}
260
- */
261
- public static function getRawData()
262
- {
263
- return self::$installed;
264
- }
265
-
266
- /**
267
- * Lets you reload the static array from another file
268
- *
269
- * This is only useful for complex integrations in which a project needs to use
270
- * this class but then also needs to execute another project's autoloader in process,
271
- * and wants to ensure both projects have access to their version of installed.php.
272
- *
273
- * A typical case would be PHPUnit, where it would need to make sure it reads all
274
- * the data it needs from this class, then call reload() with
275
- * `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure
276
- * the project in which it runs can then also use this class safely, without
277
- * interference between PHPUnit's dependencies and the project's dependencies.
278
- *
279
- * @param array[] $data A vendor/composer/installed.php data set
280
- * @return void
281
- *
282
- * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[]}, versions: list<string, array{pretty_version: ?string, version: ?string, aliases: ?string[], reference: ?string, replaced: ?string[], provided: ?string[]}>} $data
283
- */
284
- public static function reload($data)
285
- {
286
- self::$installed = $data;
287
- self::$installedByVendor = array();
288
- }
289
-
290
- /**
291
- * @return array[]
292
- */
293
- private static function getInstalled()
294
- {
295
- if (null === self::$canGetVendors) {
296
- self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders');
297
- }
298
-
299
- $installed = array();
300
-
301
- if (self::$canGetVendors) {
302
- foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
303
- if (isset(self::$installedByVendor[$vendorDir])) {
304
- $installed[] = self::$installedByVendor[$vendorDir];
305
- } elseif (is_file($vendorDir.'/composer/installed.php')) {
306
- $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
307
- }
308
- }
309
- }
310
-
311
- $installed[] = self::$installed;
312
-
313
- return $installed;
314
- }
315
  }
1
  <?php
2
 
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
 
13
  namespace Composer;
14
 
15
  use Composer\Autoload\ClassLoader;
16
  use Composer\Semver\VersionParser;
17
 
18
+
19
+
20
+
21
+
22
+
23
  class InstalledVersions
24
  {
25
+ private static $installed = array (
26
  'root' =>
27
  array (
28
  'pretty_version' => 'dev-trunk',
30
  'aliases' =>
31
  array (
32
  ),
33
+ 'reference' => 'a074162193ff8cf2dde019272e070963db4acd83',
34
  'name' => 'woocommerce/woocommerce-blocks',
35
  ),
36
  'versions' =>
74
  'aliases' =>
75
  array (
76
  ),
77
+ 'reference' => 'a074162193ff8cf2dde019272e070963db4acd83',
78
  ),
79
  ),
80
  );
81
+ private static $canGetVendors;
82
+ private static $installedByVendor = array();
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+ public static function getInstalledPackages()
91
+ {
92
+ $packages = array();
93
+ foreach (self::getInstalled() as $installed) {
94
+ $packages[] = array_keys($installed['versions']);
95
+ }
96
+
97
+
98
+ if (1 === \count($packages)) {
99
+ return $packages[0];
100
+ }
101
+
102
+ return array_keys(array_flip(\call_user_func_array('array_merge', $packages)));
103
+ }
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+ public static function isInstalled($packageName)
114
+ {
115
+ foreach (self::getInstalled() as $installed) {
116
+ if (isset($installed['versions'][$packageName])) {
117
+ return true;
118
+ }
119
+ }
120
+
121
+ return false;
122
+ }
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+ public static function satisfies(VersionParser $parser, $packageName, $constraint)
138
+ {
139
+ $constraint = $parser->parseConstraints($constraint);
140
+ $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
141
+
142
+ return $provided->matches($constraint);
143
+ }
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+ public static function getVersionRanges($packageName)
155
+ {
156
+ foreach (self::getInstalled() as $installed) {
157
+ if (!isset($installed['versions'][$packageName])) {
158
+ continue;
159
+ }
160
+
161
+ $ranges = array();
162
+ if (isset($installed['versions'][$packageName]['pretty_version'])) {
163
+ $ranges[] = $installed['versions'][$packageName]['pretty_version'];
164
+ }
165
+ if (array_key_exists('aliases', $installed['versions'][$packageName])) {
166
+ $ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
167
+ }
168
+ if (array_key_exists('replaced', $installed['versions'][$packageName])) {
169
+ $ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
170
+ }
171
+ if (array_key_exists('provided', $installed['versions'][$packageName])) {
172
+ $ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
173
+ }
174
+
175
+ return implode(' || ', $ranges);
176
+ }
177
+
178
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
179
+ }
180
+
181
+
182
+
183
+
184
+
185
+ public static function getVersion($packageName)
186
+ {
187
+ foreach (self::getInstalled() as $installed) {
188
+ if (!isset($installed['versions'][$packageName])) {
189
+ continue;
190
+ }
191
+
192
+ if (!isset($installed['versions'][$packageName]['version'])) {
193
+ return null;
194
+ }
195
+
196
+ return $installed['versions'][$packageName]['version'];
197
+ }
198
+
199
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
200
+ }
201
+
202
+
203
+
204
+
205
+
206
+ public static function getPrettyVersion($packageName)
207
+ {
208
+ foreach (self::getInstalled() as $installed) {
209
+ if (!isset($installed['versions'][$packageName])) {
210
+ continue;
211
+ }
212
+
213
+ if (!isset($installed['versions'][$packageName]['pretty_version'])) {
214
+ return null;
215
+ }
216
+
217
+ return $installed['versions'][$packageName]['pretty_version'];
218
+ }
219
+
220
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
221
+ }
222
+
223
+
224
+
225
+
226
+
227
+ public static function getReference($packageName)
228
+ {
229
+ foreach (self::getInstalled() as $installed) {
230
+ if (!isset($installed['versions'][$packageName])) {
231
+ continue;
232
+ }
233
+
234
+ if (!isset($installed['versions'][$packageName]['reference'])) {
235
+ return null;
236
+ }
237
+
238
+ return $installed['versions'][$packageName]['reference'];
239
+ }
240
+
241
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
242
+ }
243
+
244
+
245
+
246
+
247
+
248
+ public static function getRootPackage()
249
+ {
250
+ $installed = self::getInstalled();
251
+
252
+ return $installed[0]['root'];
253
+ }
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+ public static function getRawData()
262
+ {
263
+ return self::$installed;
264
+ }
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+ public static function reload($data)
285
+ {
286
+ self::$installed = $data;
287
+ self::$installedByVendor = array();
288
+ }
289
+
290
+
291
+
292
+
293
+ private static function getInstalled()
294
+ {
295
+ if (null === self::$canGetVendors) {
296
+ self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders');
297
+ }
298
+
299
+ $installed = array();
300
+
301
+ if (self::$canGetVendors) {
302
+ foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
303
+ if (isset(self::$installedByVendor[$vendorDir])) {
304
+ $installed[] = self::$installedByVendor[$vendorDir];
305
+ } elseif (is_file($vendorDir.'/composer/installed.php')) {
306
+ $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
307
+ }
308
+ }
309
+ }
310
+
311
+ $installed[] = self::$installed;
312
+
313
+ return $installed;
314
+ }
315
  }
vendor/composer/LICENSE CHANGED
@@ -1,3 +1,4 @@
 
1
  Copyright (c) Nils Adermann, Jordi Boggiano
2
 
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -17,3 +18,4 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
  THE SOFTWARE.
 
1
+
2
  Copyright (c) Nils Adermann, Jordi Boggiano
3
 
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
18
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
  THE SOFTWARE.
21
+
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit18e691114cd5c60269a98642967dd46e
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit18e691114cd5c60269a98642967dd46e
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit18e691114cd5c60269a98642967dd46e', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
27
- spl_autoload_unregister(array('ComposerAutoloaderInit18e691114cd5c60269a98642967dd46e', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInit18e691114cd5c60269a98642967dd46e::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitdc626e89ccc8fca6cd6fabe222c1ad17
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInitdc626e89ccc8fca6cd6fabe222c1ad17', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
27
+ spl_autoload_unregister(array('ComposerAutoloaderInitdc626e89ccc8fca6cd6fabe222c1ad17', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInitdc626e89ccc8fca6cd6fabe222c1ad17::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit18e691114cd5c60269a98642967dd46e
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'C' =>
@@ -41,9 +41,9 @@ class ComposerStaticInit18e691114cd5c60269a98642967dd46e
41
  public static function getInitializer(ClassLoader $loader)
42
  {
43
  return \Closure::bind(function () use ($loader) {
44
- $loader->prefixLengthsPsr4 = ComposerStaticInit18e691114cd5c60269a98642967dd46e::$prefixLengthsPsr4;
45
- $loader->prefixDirsPsr4 = ComposerStaticInit18e691114cd5c60269a98642967dd46e::$prefixDirsPsr4;
46
- $loader->classMap = ComposerStaticInit18e691114cd5c60269a98642967dd46e::$classMap;
47
 
48
  }, null, ClassLoader::class);
49
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitdc626e89ccc8fca6cd6fabe222c1ad17
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'C' =>
41
  public static function getInitializer(ClassLoader $loader)
42
  {
43
  return \Closure::bind(function () use ($loader) {
44
+ $loader->prefixLengthsPsr4 = ComposerStaticInitdc626e89ccc8fca6cd6fabe222c1ad17::$prefixLengthsPsr4;
45
+ $loader->prefixDirsPsr4 = ComposerStaticInitdc626e89ccc8fca6cd6fabe222c1ad17::$prefixDirsPsr4;
46
+ $loader->classMap = ComposerStaticInitdc626e89ccc8fca6cd6fabe222c1ad17::$classMap;
47
 
48
  }, null, ClassLoader::class);
49
  }
vendor/composer/installed.php CHANGED
@@ -6,7 +6,7 @@
6
  'aliases' =>
7
  array (
8
  ),
9
- 'reference' => '0cc8945631a1954b048caeaa12a8c1c730bd6951',
10
  'name' => 'woocommerce/woocommerce-blocks',
11
  ),
12
  'versions' =>
@@ -50,7 +50,7 @@
50
  'aliases' =>
51
  array (
52
  ),
53
- 'reference' => '0cc8945631a1954b048caeaa12a8c1c730bd6951',
54
  ),
55
  ),
56
  );
6
  'aliases' =>
7
  array (
8
  ),
9
+ 'reference' => 'a074162193ff8cf2dde019272e070963db4acd83',
10
  'name' => 'woocommerce/woocommerce-blocks',
11
  ),
12
  'versions' =>
50
  'aliases' =>
51
  array (
52
  ),
53
+ 'reference' => 'a074162193ff8cf2dde019272e070963db4acd83',
54
  ),
55
  ),
56
  );
vendor/composer/jetpack_autoload_psr4.php CHANGED
@@ -11,7 +11,7 @@ return array(
11
  'path' => array( $vendorDir . '/composer/installers/src/Composer/Installers' )
12
  ),
13
  'Automattic\\WooCommerce\\Blocks\\' => array(
14
- 'version' => '4.9.0.0',
15
  'path' => array( $baseDir . '/src' )
16
  ),
17
  'Automattic\\Jetpack\\Autoloader\\' => array(
11
  'path' => array( $vendorDir . '/composer/installers/src/Composer/Installers' )
12
  ),
13
  'Automattic\\WooCommerce\\Blocks\\' => array(
14
+ 'version' => '4.9.1.0',
15
  'path' => array( $baseDir . '/src' )
16
  ),
17
  'Automattic\\Jetpack\\Autoloader\\' => array(
vendor/jetpack-autoloader/class-autoloader-handler.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp18e691114cd5c60269a98642967dd46e;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-autoloader-locator.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp18e691114cd5c60269a98642967dd46e;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-autoloader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp18e691114cd5c60269a98642967dd46e;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-container.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp18e691114cd5c60269a98642967dd46e;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-hook-manager.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp18e691114cd5c60269a98642967dd46e;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-latest-autoloader-guard.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp18e691114cd5c60269a98642967dd46e;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-manifest-reader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp18e691114cd5c60269a98642967dd46e;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-path-processor.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp18e691114cd5c60269a98642967dd46e;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-php-autoloader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp18e691114cd5c60269a98642967dd46e;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-plugin-locator.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp18e691114cd5c60269a98642967dd46e;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-plugins-handler.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp18e691114cd5c60269a98642967dd46e;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-version-loader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp18e691114cd5c60269a98642967dd46e;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-version-selector.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp18e691114cd5c60269a98642967dd46e;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
9
 
10
  // phpcs:ignore
11
 
woocommerce-gutenberg-products-block.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WooCommerce Blocks
4
  * Plugin URI: https://github.com/woocommerce/woocommerce-gutenberg-products-block
5
  * Description: WooCommerce blocks for the Gutenberg editor.
6
- * Version: 4.9.0
7
  * Author: Automattic
8
  * Author URI: https://woocommerce.com
9
  * Text Domain: woo-gutenberg-products-block
3
  * Plugin Name: WooCommerce Blocks
4
  * Plugin URI: https://github.com/woocommerce/woocommerce-gutenberg-products-block
5
  * Description: WooCommerce blocks for the Gutenberg editor.
6
+ * Version: 4.9.1
7
  * Author: Automattic
8
  * Author URI: https://woocommerce.com
9
  * Text Domain: woo-gutenberg-products-block