@contentful/rich-text-html-renderer
Advanced tools
Comparing version 16.6.6 to 16.6.7
@@ -325,2 +325,19 @@ 'use strict'; | ||
function commonjsRequire(path) { | ||
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.'); | ||
} | ||
var schemas = {}; | ||
Object.defineProperty(schemas, "__esModule", { value: true }); | ||
schemas.getSchemaWithNodeType = getSchemaWithNodeType; | ||
function getSchemaWithNodeType(nodeType) { | ||
try { | ||
return commonjsRequire("./generated/".concat(nodeType, ".json")); | ||
} | ||
catch (error) { | ||
throw new Error("Schema for nodeType \"".concat(nodeType, "\" was not found.")); | ||
} | ||
} | ||
(function (exports) { | ||
@@ -354,3 +371,3 @@ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.helpers = exports.EMPTY_DOCUMENT = exports.MARKS = exports.INLINES = exports.BLOCKS = void 0; | ||
exports.getSchemaWithNodeType = exports.helpers = exports.EMPTY_DOCUMENT = exports.MARKS = exports.INLINES = exports.BLOCKS = void 0; | ||
var blocks_1 = blocks; | ||
@@ -369,2 +386,4 @@ Object.defineProperty(exports, "BLOCKS", { enumerable: true, get: function () { return blocks_1.BLOCKS; } }); | ||
exports.helpers = helpers$1; | ||
var schemas_1 = schemas; | ||
Object.defineProperty(exports, "getSchemaWithNodeType", { enumerable: true, get: function () { return schemas_1.getSchemaWithNodeType; } }); | ||
@@ -371,0 +390,0 @@ } (dist)); |
{ | ||
"name": "@contentful/rich-text-html-renderer", | ||
"version": "16.6.6", | ||
"version": "16.6.7", | ||
"main": "dist/rich-text-html-renderer.es5.js", | ||
@@ -28,3 +28,3 @@ "typings": "dist/types/index.d.ts", | ||
"dependencies": { | ||
"@contentful/rich-text-types": "^16.8.1", | ||
"@contentful/rich-text-types": "^16.8.2", | ||
"escape-html": "^1.0.3" | ||
@@ -38,3 +38,3 @@ }, | ||
}, | ||
"gitHead": "ded6d12f1561a6a10c25e708a111b0687eeee69c" | ||
"gitHead": "f8be2b22478bde3039cea21767058a17665a002e" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
148870
1795