New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@contentful/rich-text-html-renderer

Package Overview
Dependencies
Maintainers
111
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/rich-text-html-renderer - npm Package Compare versions

Comparing version 15.6.2 to 15.8.0

19

CHANGELOG.md

@@ -6,2 +6,21 @@ # Change Log

# [15.8.0](https://github.com/contentful/rich-text/compare/v15.7.0...v15.8.0) (2021-11-11)
### Features
* add toContentfulDocument() and toSlatejsDocument() empty block node handling ([#287](https://github.com/contentful/rich-text/issues/287)) ([fa79626](https://github.com/contentful/rich-text/commit/fa79626e4020d9640a920ca5d0ccb654e89cfa90))
# [15.7.0](https://github.com/contentful/rich-text/compare/v15.6.2...v15.7.0) (2021-11-11)
**Note:** Version bump only for package @contentful/rich-text-html-renderer
## [15.6.2](https://github.com/contentful/rich-text/compare/v15.6.1...v15.6.2) (2021-11-05)

@@ -8,0 +27,0 @@

26

dist/rich-text-html-renderer.es5.js

@@ -1159,2 +1159,4 @@ 'use strict';

* Dictionary of all container block types, and the set block types they accept as children.
*
* Note: This does not include `[BLOCKS.DOCUMENT]: TOP_LEVEL_BLOCKS`
*/

@@ -1172,2 +1174,14 @@ var CONTAINERS = (_a = {},

/**
* Array of all block types that may contain text and inline nodes.
*/
var TEXT_CONTAINERS = [
BLOCKS$1.PARAGRAPH,
BLOCKS$1.HEADING_1,
BLOCKS$1.HEADING_2,
BLOCKS$1.HEADING_3,
BLOCKS$1.HEADING_4,
BLOCKS$1.HEADING_5,
BLOCKS$1.HEADING_6,
];
/**
* Node types before `tables` release.

@@ -1254,2 +1268,3 @@ */

exports.TABLE_BLOCKS = TABLE_BLOCKS;
exports.TEXT_CONTAINERS = TEXT_CONTAINERS;
exports.TOP_LEVEL_BLOCKS = TOP_LEVEL_BLOCKS;

@@ -1270,6 +1285,7 @@ exports.V1_NODE_TYPES = V1_NODE_TYPES;

var richTextTypes_es5_7 = richTextTypes_es5.TABLE_BLOCKS;
var richTextTypes_es5_8 = richTextTypes_es5.TOP_LEVEL_BLOCKS;
var richTextTypes_es5_9 = richTextTypes_es5.V1_NODE_TYPES;
var richTextTypes_es5_10 = richTextTypes_es5.VOID_BLOCKS;
var richTextTypes_es5_11 = richTextTypes_es5.helpers;
var richTextTypes_es5_8 = richTextTypes_es5.TEXT_CONTAINERS;
var richTextTypes_es5_9 = richTextTypes_es5.TOP_LEVEL_BLOCKS;
var richTextTypes_es5_10 = richTextTypes_es5.V1_NODE_TYPES;
var richTextTypes_es5_11 = richTextTypes_es5.VOID_BLOCKS;
var richTextTypes_es5_12 = richTextTypes_es5.helpers;

@@ -1334,3 +1350,3 @@ var _a, _b;

var renderNode = _a.renderNode, renderMark = _a.renderMark;
if (richTextTypes_es5_11.isText(node)) {
if (richTextTypes_es5_12.isText(node)) {
var nodeValue = escapeHtml_1(node.value);

@@ -1337,0 +1353,0 @@ if (node.marks.length > 0) {

6

package.json
{
"name": "@contentful/rich-text-html-renderer",
"version": "15.6.2",
"version": "15.8.0",
"main": "dist/rich-text-html-renderer.es5.js",

@@ -27,3 +27,3 @@ "typings": "dist/types/index.d.ts",

"dependencies": {
"@contentful/rich-text-types": "^15.6.2",
"@contentful/rich-text-types": "^15.7.0",
"escape-html": "^1.0.3"

@@ -47,3 +47,3 @@ },

},
"gitHead": "b391b031804815917be831c1cf45635664365401"
"gitHead": "d00878e190ae694f288bea76ea8e92c1296d121e"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc