@contentstack/utils
Advanced tools
Comparing version 1.3.13 to 1.3.14
@@ -73,3 +73,3 @@ 'use strict'; | ||
/*! ***************************************************************************** | ||
/****************************************************************************** | ||
Copyright (c) Microsoft Corporation. | ||
@@ -88,3 +88,3 @@ | ||
***************************************************************************** */ | ||
/* global Reflect, Promise */ | ||
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */ | ||
@@ -99,2 +99,4 @@ var extendStatics = function(d, b) { | ||
function __extends(d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
@@ -116,2 +118,7 @@ function __() { this.constructor = d; } | ||
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { | ||
var e = new Error(message); | ||
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; | ||
}; | ||
function elementToJson(element) { | ||
@@ -564,3 +571,3 @@ var obj = {}; | ||
_a[MarkType$1.INLINE_CODE] = function (text) { | ||
return "<span>".concat(sanitizeHTML(text), "</span>"); | ||
return "<span data-type='inlineCode'>".concat(sanitizeHTML(text), "</span>"); | ||
}, | ||
@@ -567,0 +574,0 @@ _a[MarkType$1.SUBSCRIPT] = function (text) { |
@@ -139,3 +139,3 @@ var _a; | ||
_a[MarkType.INLINE_CODE] = function (text) { | ||
return "<span>".concat(sanitizeHTML(text), "</span>"); | ||
return "<span data-type='inlineCode'>".concat(sanitizeHTML(text), "</span>"); | ||
}, | ||
@@ -142,0 +142,0 @@ _a[MarkType.SUBSCRIPT] = function (text) { |
{ | ||
"name": "@contentstack/utils", | ||
"version": "1.3.13", | ||
"version": "1.3.14", | ||
"description": "Contentstack utilities for Javascript", | ||
@@ -37,15 +37,15 @@ "main": "dist/index.es.js", | ||
"devDependencies": { | ||
"@babel/preset-env": "^7.22.20", | ||
"@commitlint/cli": "^17.7.1", | ||
"@commitlint/config-conventional": "^17.7.0", | ||
"@babel/preset-env": "^7.26.0", | ||
"@commitlint/cli": "^17.8.1", | ||
"@commitlint/config-conventional": "^17.8.1", | ||
"@types/jest": "^26.0.24", | ||
"babel-core": "^4.7.16", | ||
"babel-jest": "^29.7.0", | ||
"babel-loader": "8.1.0", | ||
"babel-loader": "8.4.1", | ||
"babel-preset-es2015": "^6.24.1", | ||
"commitizen": "^4.3.0", | ||
"eslint": "^8.50.0", | ||
"commitizen": "^4.3.1", | ||
"eslint": "^8.57.1", | ||
"husky": "^8.0.3", | ||
"jest": "^29.7.0", | ||
"jest-coverage-badges": "^1.0.0", | ||
"jest-coverage-badges": "^1.1.2", | ||
"jest-environment-jsdom": "^29.7.0", | ||
@@ -57,9 +57,9 @@ "jest-html-reporters": "^2.1.7", | ||
"prettier": "^2.8.8", | ||
"rollup": "^2.79.1", | ||
"rollup": "^2.79.2", | ||
"rollup-plugin-json": "^4.0.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-sourcemaps": "^0.6.3", | ||
"rollup-plugin-typescript2": "^0.28.0", | ||
"ts-jest": "^29.1.1", | ||
"ts-node": "^10.9.1", | ||
"rollup-plugin-typescript2": "^0.36.0", | ||
"ts-jest": "^29.2.5", | ||
"ts-node": "^10.9.2", | ||
"tslint": "^6.1.3", | ||
@@ -66,0 +66,0 @@ "tslint-config-prettier": "^1.18.0", |
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
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
256494
2204