You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@wordpress/block-serialization-default-parser

Package Overview
Dependencies
Maintainers
10
Versions
219
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/block-serialization-default-parser - npm Package Compare versions

Comparing version
3.1.0
to
3.2.0
+3
-3
package.json
{
"name": "@wordpress/block-serialization-default-parser",
"version": "3.1.0",
"version": "3.2.0",
"description": "Block serialization specification parser for WordPress posts.",

@@ -25,3 +25,3 @@ "author": "The WordPress Contributors",

"dependencies": {
"@babel/runtime": "^7.3.1"
"@babel/runtime": "^7.4.4"
},

@@ -31,3 +31,3 @@ "publishConfig": {

},
"gitHead": "1e024a20a20369af7bc9720a676fdd3837a3a105"
"gitHead": "87f92f8f58a14a58b44beff0919734c546b3b975"
}

@@ -19,9 +19,7 @@ # Block Serialization Default Parser

### parse
<a name="parse" href="#parse">#</a> **parse**
[src/index.js#L150-L162](src/index.js#L150-L162)
Parser function, that converts input HTML into a block based structure.
**Usage**
_Usage_

@@ -100,9 +98,9 @@ Input post:

**Parameters**
_Parameters_
- **doc** `string`: The HTML document to parse.
- _doc_ `string`: The HTML document to parse.
**Returns**
_Returns_
`Array`: A block-based representation of the input HTML.
- `Array`: A block-based representation of the input HTML.

@@ -109,0 +107,0 @@