@wordpress/block-serialization-spec-parser 4.3.0 → 4.3.2-next.a55ed9455a.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.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Block Serialization Spec Parser
2
2
 
3
- This library contains the grammar file (`grammar.pegjs`) for WordPress posts which is a block serialization [_specification_](/docs/contributors/grammar.md) which is used to generate the actual _parser_ which is also bundled in this package.
3
+ This library contains the grammar file (`grammar.pegjs`) for WordPress posts which is a block serialization [_specification_](https://github.com/WordPress/gutenberg/tree/HEAD/docs/contributors/code/grammar.md) which is used to generate the actual _parser_ which is also bundled in this package.
4
4
 
5
5
  PEG parser generators are available in many languages, though different libraries may require some translation of this grammar into their syntax. For more information see:
6
6
 
@@ -24,4 +24,10 @@ parse( '<!-- wp:core/more --><!--more--><!-- /wp:core/more -->' );
24
24
  // [{"attrs": null, "blockName": "core/more", "innerBlocks": [], "innerHTML": "<!--more-->"}]
25
25
  ```
26
26
 
27
- <br/><br/><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p>
27
+ ## Contributing to this package
28
+
29
+ This is an individual package that's part of the Gutenberg project. The project is organized as a monorepo. It's made up of multiple self-contained software packages, each with a specific purpose. The packages in this monorepo are published to [npm](https://www.npmjs.com/) and used by [WordPress](https://make.wordpress.org/core/) as well as other software projects.
30
+
31
+ To find out more about contributing to this package or Gutenberg as a whole, please read the project's main [contributor guide](https://github.com/WordPress/gutenberg/tree/HEAD/CONTRIBUTING.md).
32
+
33
+ <br /><br /><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/block-serialization-spec-parser",
3
- "version": "4.3.0",
3
+ "version": "4.3.2-next.a55ed9455a.0",
4
4
  "description": "Block serialization specification parser for WordPress posts.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -37,5 +37,5 @@
37
37
  "build:js": "pegjs --format commonjs -o ./parser.js ./grammar.pegjs",
38
38
  "build:php": "node bin/create-php-parser.js"
39
39
  },
40
- "gitHead": "d95ccb9366e249133cdb1d7b25c382446b9ee502"
40
+ "gitHead": "c5108185851b824d531bce55991a3589947e8551"
41
41
  }
package/shared-tests.js CHANGED
@@ -331,7 +331,7 @@ const hasPHP =
331
331
  } )()
332
332
  : false;
333
333
 
334
- // skipping if `php` isn't available to us, such as in local dev without it
334
+ // Skipping if `php` isn't available to us, such as in local dev without it
335
335
  // skipping preserves snapshots while commenting out or simply
336
336
  // not injecting the tests prompts `jest` to remove "obsolete snapshots"
337
337
  const makeTest = hasPHP
@@ -351,7 +351,7 @@ export const phpTester = ( name, filename ) =>
351
351
  {
352
352
  input: doc,
353
353
  encoding: 'utf8',
354
- timeout: 30 * 1000, // abort after 30 seconds, that's too long anyway
354
+ timeout: 30 * 1000, // Abort after 30 seconds, that's too long anyway.
355
355
  }
356
356
  );
357
357