@automattic/newspack-blocks 1.60.1 → 1.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/.cache/babel/3a66da0fe7ab175effa6a338812e46cb.json.gz +0 -0
  2. package/.cache/babel/9ed09b96b5f2df9daa6ce37304a7440e.json.gz +0 -0
  3. package/.cache/babel/dd70bbfe108da5e2fc7bd73bc688a05a.json.gz +0 -0
  4. package/CHANGELOG.md +30 -0
  5. package/composer.lock +6 -6
  6. package/dist/author-profile/view.asset.php +1 -1
  7. package/dist/author-profile/view.css +1 -1
  8. package/dist/author-profile/view.rtl.css +1 -1
  9. package/dist/donateStreamlined.asset.php +1 -1
  10. package/dist/donateStreamlined.js +1 -1
  11. package/dist/editor.asset.php +1 -1
  12. package/dist/editor.css +1 -1
  13. package/dist/editor.js +1 -1
  14. package/dist/editor.rtl.css +1 -1
  15. package/includes/class-newspack-blocks-api.php +3 -13
  16. package/includes/class-newspack-blocks.php +48 -39
  17. package/newspack-blocks.php +2 -2
  18. package/package.json +3 -3
  19. package/src/blocks/author-profile/editor.scss +5 -1
  20. package/src/blocks/author-profile/view.scss +4 -2
  21. package/src/blocks/donate/streamlined/index.ts +7 -1
  22. package/src/blocks/homepage-articles/class-wp-rest-newspack-articles-controller.php +1 -2
  23. package/src/blocks/homepage-articles/edit.js +10 -18
  24. package/src/blocks/homepage-articles/templates/article.php +8 -1
  25. package/src/blocks/homepage-articles/view.php +65 -0
  26. package/src/blocks/iframe/class-wp-rest-newspack-iframe-controller.php +0 -1
  27. package/src/components/query-controls.js +90 -94
  28. package/vendor/autoload.php +19 -1
  29. package/vendor/composer/ClassLoader.php +24 -15
  30. package/vendor/composer/InstalledVersions.php +9 -7
  31. package/vendor/composer/autoload_classmap.php +1 -1
  32. package/vendor/composer/autoload_namespaces.php +1 -1
  33. package/vendor/composer/autoload_psr4.php +1 -1
  34. package/vendor/composer/autoload_real.php +7 -26
  35. package/vendor/composer/autoload_static.php +2 -2
  36. package/vendor/composer/installed.php +3 -3
  37. package/.cache/babel/62b5d63d437188c9504804ced0783c31.json.gz +0 -0
  38. package/.cache/babel/9b4ddedacf987769a9fe17e8aa8aa4cd.json.gz +0 -0
  39. package/.cache/babel/de3c26fe430ad8ad5100705a33cb0cc3.json.gz +0 -0
@@ -3,15 +3,11 @@
3
3
  */
4
4
  import { __ } from '@wordpress/i18n';
5
5
  import { Component } from '@wordpress/element';
6
- import { Button, QueryControls as BaseControl, ToggleControl } from '@wordpress/components';
6
+ import { Button, QueryControls as BasicQueryControls, ToggleControl } from '@wordpress/components';
7
7
  import apiFetch from '@wordpress/api-fetch';
8
8
  import { addQueryArgs } from '@wordpress/url';
9
9
  import { decodeEntities } from '@wordpress/html-entities';
10
10
 
11
- /**
12
- * External dependencies.
13
- */
14
-
15
11
  /**
16
12
  * Internal dependencies.
17
13
  */
@@ -170,8 +166,6 @@ class QueryControls extends Component {
170
166
  } );
171
167
  };
172
168
 
173
- // Linter seems to be confused by returning an array.
174
- // eslint-disable-next-line react/require-render-return
175
169
  render = () => {
176
170
  const {
177
171
  specificMode,
@@ -192,93 +186,95 @@ class QueryControls extends Component {
192
186
  } = this.props;
193
187
  const { showAdvancedFilters } = this.state;
194
188
 
195
- return [
196
- enableSpecific && (
197
- <ToggleControl
198
- key="specificMode"
199
- checked={ specificMode }
200
- onChange={ onSpecificModeChange }
201
- label={ __( 'Choose Specific Posts', 'newspack-blocks' ) }
202
- />
203
- ),
204
- specificMode && (
205
- <AutocompleteTokenField
206
- key="posts"
207
- tokens={ specificPosts || [] }
208
- onChange={ onSpecificPostsChange }
209
- fetchSuggestions={ this.fetchPostSuggestions }
210
- fetchSavedInfo={ this.fetchSavedPosts }
211
- label={ __( 'Posts', 'newspack-blocks' ) }
212
- help={ __(
213
- 'Begin typing post title, click autocomplete result to select.',
214
- 'newspack-blocks'
215
- ) }
216
- />
217
- ),
218
- ! specificMode && <BaseControl key="queryControls" { ...this.props } />,
219
- ! specificMode && onAuthorsChange && (
220
- <AutocompleteTokenField
221
- key="authors"
222
- tokens={ authors || [] }
223
- onChange={ onAuthorsChange }
224
- fetchSuggestions={ this.fetchAuthorSuggestions }
225
- fetchSavedInfo={ this.fetchSavedAuthors }
226
- label={ __( 'Authors', 'newspack-blocks' ) }
227
- />
228
- ),
229
- ! specificMode && onCategoriesChange && (
230
- <AutocompleteTokenField
231
- key="categories"
232
- tokens={ categories || [] }
233
- onChange={ onCategoriesChange }
234
- fetchSuggestions={ this.fetchCategorySuggestions }
235
- fetchSavedInfo={ this.fetchSavedCategories }
236
- label={ __( 'Categories', 'newspack-blocks' ) }
237
- />
238
- ),
239
- ! specificMode && onTagsChange && (
240
- <AutocompleteTokenField
241
- key="tags"
242
- tokens={ tags || [] }
243
- onChange={ onTagsChange }
244
- fetchSuggestions={ this.fetchTagSuggestions }
245
- fetchSavedInfo={ this.fetchSavedTags }
246
- label={ __( 'Tags', 'newspack-blocks' ) }
247
- />
248
- ),
249
- ! specificMode && onTagExclusionsChange && (
250
- <p key="toggle-advanced-filters">
251
- <Button
252
- isLink
253
- onClick={ () => this.setState( { showAdvancedFilters: ! showAdvancedFilters } ) }
254
- >
255
- { showAdvancedFilters
256
- ? __( 'Hide Advanced Filters', 'newspack-blocks' )
257
- : __( 'Show Advanced Filters', 'newspack-blocks' ) }
258
- </Button>
259
- </p>
260
- ),
261
- ! specificMode && onTagExclusionsChange && showAdvancedFilters && (
262
- <AutocompleteTokenField
263
- key="tag-exclusion"
264
- tokens={ tagExclusions || [] }
265
- onChange={ onTagExclusionsChange }
266
- fetchSuggestions={ this.fetchTagSuggestions }
267
- fetchSavedInfo={ this.fetchSavedTags }
268
- label={ __( 'Excluded Tags', 'newspack-blocks' ) }
269
- />
270
- ),
271
- ! specificMode && onCategoryExclusionsChange && showAdvancedFilters && (
272
- <AutocompleteTokenField
273
- key="category-exclusion"
274
- tokens={ categoryExclusions || [] }
275
- onChange={ onCategoryExclusionsChange }
276
- fetchSuggestions={ this.fetchCategorySuggestions }
277
- fetchSavedInfo={ this.fetchSavedCategories }
278
- label={ __( 'Excluded Categories', 'newspack-blocks' ) }
279
- />
280
- ),
281
- ];
189
+ return (
190
+ <>
191
+ { enableSpecific && (
192
+ <ToggleControl
193
+ checked={ specificMode }
194
+ onChange={ onSpecificModeChange }
195
+ label={ __( 'Choose Specific Posts', 'newspack-blocks' ) }
196
+ />
197
+ ) }
198
+ { specificMode ? (
199
+ <AutocompleteTokenField
200
+ tokens={ specificPosts || [] }
201
+ onChange={ onSpecificPostsChange }
202
+ fetchSuggestions={ this.fetchPostSuggestions }
203
+ fetchSavedInfo={ this.fetchSavedPosts }
204
+ label={ __( 'Posts', 'newspack-blocks' ) }
205
+ help={ __(
206
+ 'Begin typing post title, click autocomplete result to select.',
207
+ 'newspack-blocks'
208
+ ) }
209
+ />
210
+ ) : (
211
+ <>
212
+ <BasicQueryControls { ...this.props } />
213
+ { onAuthorsChange && (
214
+ <AutocompleteTokenField
215
+ tokens={ authors || [] }
216
+ onChange={ onAuthorsChange }
217
+ fetchSuggestions={ this.fetchAuthorSuggestions }
218
+ fetchSavedInfo={ this.fetchSavedAuthors }
219
+ label={ __( 'Authors', 'newspack-blocks' ) }
220
+ />
221
+ ) }
222
+ { onCategoriesChange && (
223
+ <AutocompleteTokenField
224
+ tokens={ categories || [] }
225
+ onChange={ onCategoriesChange }
226
+ fetchSuggestions={ this.fetchCategorySuggestions }
227
+ fetchSavedInfo={ this.fetchSavedCategories }
228
+ label={ __( 'Categories', 'newspack-blocks' ) }
229
+ />
230
+ ) }
231
+ { onTagsChange && (
232
+ <AutocompleteTokenField
233
+ tokens={ tags || [] }
234
+ onChange={ onTagsChange }
235
+ fetchSuggestions={ this.fetchTagSuggestions }
236
+ fetchSavedInfo={ this.fetchSavedTags }
237
+ label={ __( 'Tags', 'newspack-blocks' ) }
238
+ />
239
+ ) }
240
+ { onTagExclusionsChange && (
241
+ <p>
242
+ <Button
243
+ isLink
244
+ onClick={ () => this.setState( { showAdvancedFilters: ! showAdvancedFilters } ) }
245
+ >
246
+ { showAdvancedFilters
247
+ ? __( 'Hide Advanced Filters', 'newspack-blocks' )
248
+ : __( 'Show Advanced Filters', 'newspack-blocks' ) }
249
+ </Button>
250
+ </p>
251
+ ) }
252
+ { showAdvancedFilters && (
253
+ <>
254
+ { onTagExclusionsChange && (
255
+ <AutocompleteTokenField
256
+ tokens={ tagExclusions || [] }
257
+ onChange={ onTagExclusionsChange }
258
+ fetchSuggestions={ this.fetchTagSuggestions }
259
+ fetchSavedInfo={ this.fetchSavedTags }
260
+ label={ __( 'Excluded Tags', 'newspack-blocks' ) }
261
+ />
262
+ ) }
263
+ { onCategoryExclusionsChange && (
264
+ <AutocompleteTokenField
265
+ tokens={ categoryExclusions || [] }
266
+ onChange={ onCategoryExclusionsChange }
267
+ fetchSuggestions={ this.fetchCategorySuggestions }
268
+ fetchSavedInfo={ this.fetchSavedCategories }
269
+ label={ __( 'Excluded Categories', 'newspack-blocks' ) }
270
+ />
271
+ ) }
272
+ </>
273
+ ) }
274
+ </>
275
+ ) }
276
+ </>
277
+ );
282
278
  };
283
279
  }
284
280
 
@@ -2,6 +2,24 @@
2
2
 
3
3
  // autoload.php @generated by Composer
4
4
 
5
+ if (PHP_VERSION_ID < 50600) {
6
+ if (!headers_sent()) {
7
+ header('HTTP/1.1 500 Internal Server Error');
8
+ }
9
+ $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
10
+ if (!ini_get('display_errors')) {
11
+ if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
12
+ fwrite(STDERR, $err);
13
+ } elseif (!headers_sent()) {
14
+ echo $err;
15
+ }
16
+ }
17
+ trigger_error(
18
+ $err,
19
+ E_USER_ERROR
20
+ );
21
+ }
22
+
5
23
  require_once __DIR__ . '/composer/autoload_real.php';
6
24
 
7
- return ComposerAutoloaderInitcf78bb37f80571250abebcf812575eed::getLoader();
25
+ return ComposerAutoloaderInit6c48257b500dde261f28a2d07827bdd6::getLoader();
@@ -42,6 +42,9 @@ namespace Composer\Autoload;
42
42
  */
43
43
  class ClassLoader
44
44
  {
45
+ /** @var \Closure(string):void */
46
+ private static $includeFile;
47
+
45
48
  /** @var ?string */
46
49
  private $vendorDir;
47
50
 
@@ -106,6 +109,7 @@ class ClassLoader
106
109
  public function __construct($vendorDir = null)
107
110
  {
108
111
  $this->vendorDir = $vendorDir;
112
+ self::initializeIncludeClosure();
109
113
  }
110
114
 
111
115
  /**
@@ -149,7 +153,7 @@ class ClassLoader
149
153
 
150
154
  /**
151
155
  * @return string[] Array of classname => path
152
- * @psalm-var array<string, string>
156
+ * @psalm-return array<string, string>
153
157
  */
154
158
  public function getClassMap()
155
159
  {
@@ -425,7 +429,7 @@ class ClassLoader
425
429
  public function loadClass($class)
426
430
  {
427
431
  if ($file = $this->findFile($class)) {
428
- includeFile($file);
432
+ (self::$includeFile)($file);
429
433
 
430
434
  return true;
431
435
  }
@@ -555,18 +559,23 @@ class ClassLoader
555
559
 
556
560
  return false;
557
561
  }
558
- }
559
562
 
560
- /**
561
- * Scope isolated include.
562
- *
563
- * Prevents access to $this/self from included files.
564
- *
565
- * @param string $file
566
- * @return void
567
- * @private
568
- */
569
- function includeFile($file)
570
- {
571
- include $file;
563
+ private static function initializeIncludeClosure(): void
564
+ {
565
+ if (self::$includeFile !== null) {
566
+ return;
567
+ }
568
+
569
+ /**
570
+ * Scope isolated include.
571
+ *
572
+ * Prevents access to $this/self from included files.
573
+ *
574
+ * @param string $file
575
+ * @return void
576
+ */
577
+ self::$includeFile = static function($file) {
578
+ include $file;
579
+ };
580
+ }
572
581
  }
@@ -21,12 +21,14 @@ use Composer\Semver\VersionParser;
21
21
  * See also https://getcomposer.org/doc/07-runtime.md#installed-versions
22
22
  *
23
23
  * To require its presence, you can require `composer-runtime-api ^2.0`
24
+ *
25
+ * @final
24
26
  */
25
27
  class InstalledVersions
26
28
  {
27
29
  /**
28
30
  * @var mixed[]|null
29
- * @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
31
+ * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
30
32
  */
31
33
  private static $installed;
32
34
 
@@ -37,7 +39,7 @@ class InstalledVersions
37
39
 
38
40
  /**
39
41
  * @var array[]
40
- * @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
42
+ * @psalm-var array<string, array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
41
43
  */
42
44
  private static $installedByVendor = array();
43
45
 
@@ -241,7 +243,7 @@ class InstalledVersions
241
243
 
242
244
  /**
243
245
  * @return array
244
- * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
246
+ * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
245
247
  */
246
248
  public static function getRootPackage()
247
249
  {
@@ -255,7 +257,7 @@ class InstalledVersions
255
257
  *
256
258
  * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
257
259
  * @return array[]
258
- * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
260
+ * @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}
259
261
  */
260
262
  public static function getRawData()
261
263
  {
@@ -278,7 +280,7 @@ class InstalledVersions
278
280
  * Returns the raw data of all installed.php which are currently loaded for custom implementations
279
281
  *
280
282
  * @return array[]
281
- * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
283
+ * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
282
284
  */
283
285
  public static function getAllRawData()
284
286
  {
@@ -301,7 +303,7 @@ class InstalledVersions
301
303
  * @param array[] $data A vendor/composer/installed.php data set
302
304
  * @return void
303
305
  *
304
- * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data
306
+ * @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $data
305
307
  */
306
308
  public static function reload($data)
307
309
  {
@@ -311,7 +313,7 @@ class InstalledVersions
311
313
 
312
314
  /**
313
315
  * @return array[]
314
- * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
316
+ * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
315
317
  */
316
318
  private static function getInstalled()
317
319
  {
@@ -2,7 +2,7 @@
2
2
 
3
3
  // autoload_classmap.php @generated by Composer
4
4
 
5
- $vendorDir = dirname(dirname(__FILE__));
5
+ $vendorDir = dirname(__DIR__);
6
6
  $baseDir = dirname($vendorDir);
7
7
 
8
8
  return array(
@@ -2,7 +2,7 @@
2
2
 
3
3
  // autoload_namespaces.php @generated by Composer
4
4
 
5
- $vendorDir = dirname(dirname(__FILE__));
5
+ $vendorDir = dirname(__DIR__);
6
6
  $baseDir = dirname($vendorDir);
7
7
 
8
8
  return array(
@@ -2,7 +2,7 @@
2
2
 
3
3
  // autoload_psr4.php @generated by Composer
4
4
 
5
- $vendorDir = dirname(dirname(__FILE__));
5
+ $vendorDir = dirname(__DIR__);
6
6
  $baseDir = dirname($vendorDir);
7
7
 
8
8
  return array(
@@ -2,7 +2,7 @@
2
2
 
3
3
  // autoload_real.php @generated by Composer
4
4
 
5
- class ComposerAutoloaderInitcf78bb37f80571250abebcf812575eed
5
+ class ComposerAutoloaderInit6c48257b500dde261f28a2d07827bdd6
6
6
  {
7
7
  private static $loader;
8
8
 
@@ -22,31 +22,12 @@ class ComposerAutoloaderInitcf78bb37f80571250abebcf812575eed
22
22
  return self::$loader;
23
23
  }
24
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInitcf78bb37f80571250abebcf812575eed', 'loadClassLoader'), true, true);
26
- self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
27
- spl_autoload_unregister(array('ComposerAutoloaderInitcf78bb37f80571250abebcf812575eed', '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\ComposerStaticInitcf78bb37f80571250abebcf812575eed::getInitializer($loader));
34
- } else {
35
- $map = require __DIR__ . '/autoload_namespaces.php';
36
- foreach ($map as $namespace => $path) {
37
- $loader->set($namespace, $path);
38
- }
39
-
40
- $map = require __DIR__ . '/autoload_psr4.php';
41
- foreach ($map as $namespace => $path) {
42
- $loader->setPsr4($namespace, $path);
43
- }
44
-
45
- $classMap = require __DIR__ . '/autoload_classmap.php';
46
- if ($classMap) {
47
- $loader->addClassMap($classMap);
48
- }
49
- }
25
+ spl_autoload_register(array('ComposerAutoloaderInit6c48257b500dde261f28a2d07827bdd6', 'loadClassLoader'), true, true);
26
+ self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit6c48257b500dde261f28a2d07827bdd6', 'loadClassLoader'));
28
+
29
+ require __DIR__ . '/autoload_static.php';
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit6c48257b500dde261f28a2d07827bdd6::getInitializer($loader));
50
31
 
51
32
  $loader->register(true);
52
33
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  namespace Composer\Autoload;
6
6
 
7
- class ComposerStaticInitcf78bb37f80571250abebcf812575eed
7
+ class ComposerStaticInit6c48257b500dde261f28a2d07827bdd6
8
8
  {
9
9
  public static $classMap = array (
10
10
  'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
@@ -13,7 +13,7 @@ class ComposerStaticInitcf78bb37f80571250abebcf812575eed
13
13
  public static function getInitializer(ClassLoader $loader)
14
14
  {
15
15
  return \Closure::bind(function () use ($loader) {
16
- $loader->classMap = ComposerStaticInitcf78bb37f80571250abebcf812575eed::$classMap;
16
+ $loader->classMap = ComposerStaticInit6c48257b500dde261f28a2d07827bdd6::$classMap;
17
17
 
18
18
  }, null, ClassLoader::class);
19
19
  }
@@ -1,22 +1,22 @@
1
1
  <?php return array(
2
2
  'root' => array(
3
+ 'name' => 'automattic/newspack-blocks',
3
4
  'pretty_version' => 'dev-master',
4
5
  'version' => 'dev-master',
6
+ 'reference' => '9fb95823000c240c7c838087cd464251002801f0',
5
7
  'type' => 'wordpress-plugin',
6
8
  'install_path' => __DIR__ . '/../../',
7
9
  'aliases' => array(),
8
- 'reference' => 'b0a62680b729314d9acaff8e85cafcfaf779489c',
9
- 'name' => 'automattic/newspack-blocks',
10
10
  'dev' => false,
11
11
  ),
12
12
  'versions' => array(
13
13
  'automattic/newspack-blocks' => array(
14
14
  'pretty_version' => 'dev-master',
15
15
  'version' => 'dev-master',
16
+ 'reference' => '9fb95823000c240c7c838087cd464251002801f0',
16
17
  'type' => 'wordpress-plugin',
17
18
  'install_path' => __DIR__ . '/../../',
18
19
  'aliases' => array(),
19
- 'reference' => 'b0a62680b729314d9acaff8e85cafcfaf779489c',
20
20
  'dev_requirement' => false,
21
21
  ),
22
22
  ),