@wordpress/block-serialization-spec-parser 2.0.3 → 2.0.4

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/grammar.pegjs CHANGED
@@ -328,4 +328,4 @@ Block_Attributes
328
328
  }
329
329
 
330
330
  __
331
- = [ \t\r\n]+
331
+ = [ \t\f\r\n]+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/block-serialization-spec-parser",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Block serialization specification parser for WordPress posts.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -23,6 +23,5 @@
23
23
  },
24
24
  "scripts": {
25
25
  "build": "pegjs --format umd -o ./parser.js ./grammar.pegjs"
26
- },
27
- "gitHead": "c59ef56fe16bdcc1fffd70b6e8a2fda4bf9c28fe"
26
+ }
28
27
  }
package/parser.js CHANGED
@@ -255,8 +255,8 @@
255
255
  /** <?php return json_decode( $attrs, true ); ?> **/
256
256
  return maybeJSON( attrs );
257
257
  },
258
- peg$c32 = /^[ \t\r\n]/,
259
- peg$c33 = peg$classExpectation([" ", "\t", "\r", "\n"], false, false),
258
+ peg$c32 = /^[ \t\f\r\n]/,
259
+ peg$c33 = peg$classExpectation([" ", "\t", "\f", "\r", "\n"], false, false),
260
260
 
261
261
  peg$currPos = 0,
262
262
  peg$savedPos = 0,