@contentful/rich-text-types
Advanced tools
Comparing version 15.12.0 to 15.12.1
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -6,6 +6,6 @@ "use strict"; | ||
try { | ||
return require("./generated/" + nodeType + ".json"); | ||
return require("./generated/".concat(nodeType, ".json")); | ||
} | ||
catch (error) { | ||
throw new Error("Schema for nodeType \"" + nodeType + "\" was not found."); | ||
throw new Error("Schema for nodeType \"".concat(nodeType, "\" was not found.")); | ||
} | ||
@@ -12,0 +12,0 @@ } |
{ | ||
"name": "@contentful/rich-text-types", | ||
"version": "15.12.0", | ||
"version": "15.12.1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "typings": "dist/types/index.d.ts", |
Sorry, the diff of this file is not supported yet
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
115350
4522