@wordpress/block-serialization-spec-parser 5.54.1-next.v.202609031004.0 → 5.55.1-next.v.202609171837.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/CHANGELOG.md +2 -0
- package/README.md +2 -2
- package/package.json +3 -3
- package/shared-tests.js +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -4,8 +4,8 @@ This library contains the grammar file (`grammar.pegjs`) for WordPress posts whi
|
|
|
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
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
7
|
+
- [PEG.js](https://github.com/pegjs/pegjs)
|
|
8
|
+
- [Parsing expression grammar](https://en.wikipedia.org/wiki/Parsing_expression_grammar)
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
11
11
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/block-serialization-spec-parser",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.55.1-next.v.202609171837.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,7 +37,7 @@
|
|
|
37
37
|
"phpegjs": "^1.0.0-beta7"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"vitest": "^
|
|
40
|
+
"vitest": "^5.0.0"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"build:js": "pegjs --format commonjs -o ./parser.js ./grammar.pegjs",
|
|
49
49
|
"build:php": "node bin/create-php-parser.js"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "7fc9f6676debc888d2f071d17cb71837040d4b48"
|
|
52
52
|
}
|
package/shared-tests.js
CHANGED
|
@@ -332,7 +332,7 @@ const hasPHP =
|
|
|
332
332
|
} );
|
|
333
333
|
|
|
334
334
|
return phpProcess.status === 0 && phpProcess.stdout === '1';
|
|
335
|
-
|
|
335
|
+
} )()
|
|
336
336
|
: false;
|
|
337
337
|
|
|
338
338
|
// Skipping if `php` isn't available to us, such as in local dev without it
|
|
@@ -380,7 +380,7 @@ export const phpTester = ( name, filename, testRunner = globalThis ) => {
|
|
|
380
380
|
'failed to parse JSON:\n' + phpProcess.stdout
|
|
381
381
|
);
|
|
382
382
|
}
|
|
383
|
-
|
|
383
|
+
}, testRunner )
|
|
384
384
|
: () => {}
|
|
385
385
|
);
|
|
386
386
|
};
|