@contentful/content-source-maps
Advanced tools
Comparing version 0.10.0 to 0.11.0
@@ -1,2 +0,2 @@ | ||
var k = { 0: 8203, 1: 8204, 2: 8205, 3: 8290, 4: 8291, 5: 8288, 6: 65279, 7: 8289, 8: 119155, 9: 119156, a: 119157, b: 119158, c: 119159, d: 119160, e: 119161, f: 119162 }, b = { 0: 8203, 1: 8204, 2: 8205, 3: 65279 }, V = new Array(4).fill(String.fromCodePoint(b[0])).join(""), J = "\0"; | ||
var R = { 0: 8203, 1: 8204, 2: 8205, 3: 8290, 4: 8291, 5: 8288, 6: 65279, 7: 8289, 8: 119155, 9: 119156, a: 119157, b: 119158, c: 119159, d: 119160, e: 119161, f: 119162 }, b = { 0: 8203, 1: 8204, 2: 8205, 3: 65279 }, V = new Array(4).fill(String.fromCodePoint(b[0])).join(""), J = "\0"; | ||
function _(e) { | ||
@@ -24,3 +24,3 @@ let t = JSON.stringify(e); | ||
} | ||
var G = Object.fromEntries(Object.entries(b).map((e) => e.reverse())), R = Object.fromEntries(Object.entries(k).map((e) => e.reverse())), Z = `${Object.values(k).map((e) => `\\u{${e.toString(16)}}`).join("")}`, I = new RegExp(`[${Z}]{4,}`, "gu"); | ||
var G = Object.fromEntries(Object.entries(b).map((e) => e.reverse())), k = Object.fromEntries(Object.entries(R).map((e) => e.reverse())), Z = `${Object.values(R).map((e) => `\\u{${e.toString(16)}}`).join("")}`, I = new RegExp(`[${Z}]{4,}`, "gu"); | ||
function H(e) { | ||
@@ -51,3 +51,3 @@ let t = e.match(I); | ||
for (let c = e.length * 0.5; c--; ) { | ||
let u = `${R[e[c * 2].codePointAt(0)]}${R[e[c * 2 + 1].codePointAt(0)]}`; | ||
let u = `${k[e[c * 2].codePointAt(0)]}${k[e[c * 2 + 1].codePointAt(0)]}`; | ||
n.unshift(String.fromCharCode(parseInt(u, 16))); | ||
@@ -213,3 +213,3 @@ } | ||
origin: "contentful.com", | ||
href: `${`${u || "https://app.contentful.com"}/spaces/${o}/environments/${n}`}/${t === "Entry" ? "entries" : "assets"}/${e}/?focusedField=${r}&focusedLocale=${s}`, | ||
href: `${`${u || "https://app.contentful.com"}/spaces/${o}/environments/${n}`}/${t === "Entry" ? "entries" : "assets"}/${e}/?focusedField=${r}&focusedLocale=${s}?source=vercel-content-link`, | ||
contentful: { | ||
@@ -216,0 +216,0 @@ space: o, |
{ | ||
"name": "@contentful/content-source-maps", | ||
"author": "Contentful GmbH", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"description": "Base SDK for building Content Source Maps with Contentful", | ||
@@ -49,3 +49,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "b3197f3f432223f9db620361e5472a7cd9d41138" | ||
"gitHead": "bb5a176cc733a8ae36275da9f983db157954bc5b" | ||
} |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
109327
0