@wordpress/block-serialization-spec-parser 4.2.1-next.253d9b6e21.0 → 4.3.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 4.3.0 (2022-01-27)
6
+
5
7
  ## 4.2.0 (2021-07-21)
6
8
 
7
9
  ## 4.1.0 (2021-05-20)
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Gutenberg
2
2
 
3
- Copyright 2016-2021 by the contributors
3
+ Copyright 2016-2022 by the contributors
4
4
 
5
5
  **License for Contributions (on and after April 15, 2021)**
6
6
 
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.2.1-next.253d9b6e21.0",
3
+ "version": "4.3.1",
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": "c4b9acee18dfcc1767c35631f90725c7d604c5e9"
40
+ "gitHead": "2e4922861e49f5a090f9dc52056165092cfba163"
41
41
  }
package/shared-tests.js CHANGED
@@ -335,9 +335,9 @@ const hasPHP =
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
338
- ? // eslint-disable-next-line jest/valid-describe, jest/valid-title
338
+ ? // eslint-disable-next-line jest/valid-describe-callback, jest/valid-title
339
339
  ( ...args ) => describe( ...args )
340
- : // eslint-disable-next-line jest/no-disabled-tests, jest/valid-describe, jest/valid-title
340
+ : // eslint-disable-next-line jest/no-disabled-tests, jest/valid-describe-callback, jest/valid-title
341
341
  ( ...args ) => describe.skip( ...args );
342
342
 
343
343
  export const phpTester = ( name, filename ) =>
package/test/index.js CHANGED
@@ -9,7 +9,7 @@ import path from 'path';
9
9
  import { parse } from '../';
10
10
  import { jsTester, phpTester } from '../shared-tests';
11
11
 
12
- describe( 'block-serialization-spec-parser-js', jsTester( parse ) ); // eslint-disable-line jest/valid-describe
12
+ describe( 'block-serialization-spec-parser-js', jsTester( parse ) ); // eslint-disable-line jest/valid-describe-callback
13
13
 
14
14
  phpTester(
15
15
  'block-serialization-spec-parser-php',