@wordpress/block-serialization-default-parser
Advanced tools
+3
-3
| { | ||
| "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" | ||
| } |
+6
-8
@@ -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 @@ |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
0
-100%116210
-0.02%148
-1.33%Updated