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

@londondynamics/pericles-webcomponent

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@londondynamics/pericles-webcomponent - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

35

dist/configurator.js

@@ -54,3 +54,3 @@ /**

*/
const { is: gt, defineProperty: yt, getOwnPropertyDescriptor: _t, getOwnPropertyNames: ft, getOwnPropertySymbols: mt, getPrototypeOf: $t } = Object, $ = globalThis, K = $.trustedTypes, wt = K ? K.emptyScript : "", j = $.reactiveElementPolyfillSupport, C = (s, t) => s, I = { toAttribute(s, t) {
const { is: gt, defineProperty: yt, getOwnPropertyDescriptor: _t, getOwnPropertyNames: ft, getOwnPropertySymbols: mt, getPrototypeOf: $t } = Object, $ = globalThis, K = $.trustedTypes, wt = K ? K.emptyScript : "", D = $.reactiveElementPolyfillSupport, C = (s, t) => s, I = { toAttribute(s, t) {
switch (t) {

@@ -296,3 +296,3 @@ case Boolean:

}
A.elementStyles = [], A.shadowRootOptions = { mode: "open" }, A[C("elementProperties")] = /* @__PURE__ */ new Map(), A[C("finalized")] = /* @__PURE__ */ new Map(), j == null || j({ ReactiveElement: A }), ($.reactiveElementVersions ?? ($.reactiveElementVersions = [])).push("2.0.4");
A.elementStyles = [], A.shadowRootOptions = { mode: "open" }, A[C("elementProperties")] = /* @__PURE__ */ new Map(), A[C("finalized")] = /* @__PURE__ */ new Map(), D == null || D({ ReactiveElement: A }), ($.reactiveElementVersions ?? ($.reactiveElementVersions = [])).push("2.0.4");
/**

@@ -340,3 +340,3 @@ * @license

const _ = g[o++], f = r.getAttribute(u).split(m), k = /([.?@])?(.*)/.exec(_);
a.push({ type: 1, index: n, name: k[2], strings: f, ctor: k[1] === "." ? Pt : k[1] === "?" ? Ct : k[1] === "@" ? Mt : D }), r.removeAttribute(u);
a.push({ type: 1, index: n, name: k[2], strings: f, ctor: k[1] === "." ? Pt : k[1] === "?" ? Ct : k[1] === "@" ? Mt : j }), r.removeAttribute(u);
} else

@@ -471,3 +471,3 @@ u.startsWith(m) && (a.push({ type: 6, index: n }), r.removeAttribute(u));

}
class D {
class j {
get tagName() {

@@ -499,3 +499,3 @@ return this.element.tagName;

}
class Pt extends D {
class Pt extends j {
constructor() {

@@ -508,3 +508,3 @@ super(...arguments), this.type = 3;

}
class Ct extends D {
class Ct extends j {
constructor() {

@@ -517,3 +517,3 @@ super(...arguments), this.type = 4;

}
class Mt extends D {
class Mt extends j {
constructor(t, e, i, r, n) {

@@ -667,2 +667,5 @@ super(t, e, i, r, n), this.type = 5;

], Tt = (s) => s.replace(/([-_]\w)/g, (t) => t[1].toUpperCase()), Ht = (s) => {
const t = Tt(s);
return t.includes("showAr") ? t.replace("showAr", "showAR") : t;
}, It = (s) => {
let t = new URLSearchParams();

@@ -674,12 +677,12 @@ return kt.forEach((e) => {

return;
i === "yes" && (i = "true"), i === "no" && (i = "false"), t.append(Tt(e), i);
i === "yes" && (i = "true"), i === "no" && (i = "false"), t.append(Ht(e), i);
}
}), t;
};
var It = Object.defineProperty, Lt = Object.getOwnPropertyDescriptor, l = (s, t, e, i) => {
for (var r = i > 1 ? void 0 : i ? Lt(t, e) : t, n = s.length - 1, o; n >= 0; n--)
var Lt = Object.defineProperty, jt = Object.getOwnPropertyDescriptor, l = (s, t, e, i) => {
for (var r = i > 1 ? void 0 : i ? jt(t, e) : t, n = s.length - 1, o; n >= 0; n--)
(o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
return i && r && It(t, e, r), r;
return i && r && Lt(t, e, r), r;
};
const Dt = "{host}{viewer}/by_scene_id/{scene_id}", jt = "{host}{viewer}/by_product_id/{customer_id}/{product_id}", zt = "{host}{viewer}/by_product_id/{customer_id}/{sku}", Bt = "{host}{viewer}/by_hash/{customer_id}/{hash}";
const Dt = "{host}{viewer}/by_scene_id/{scene_id}", zt = "{host}{viewer}/by_product_id/{customer_id}/{product_id}", Bt = "{host}{viewer}/by_product_id/{customer_id}/{sku}", qt = "{host}{viewer}/by_hash/{customer_id}/{hash}";
function T(s, t) {

@@ -1004,3 +1007,3 @@ var e = new RegExp(Object.keys(t).join("|"), "gi");

let s = null, t = null;
if (console.log("this.defaultSelection?", this.defaultSelection), this.host ? this.customerId ? this.hash ? t = T(Bt, {
if (console.log("this.defaultSelection?", this.defaultSelection), this.host ? this.customerId ? this.hash ? t = T(qt, {
"{viewer}": "",

@@ -1015,3 +1018,3 @@ "{host}": this.host,

"{scene_id}": this.sceneId
}) : this.sku ? t = T(zt, {
}) : this.sku ? t = T(Bt, {
"{viewer}": this.viewer === "360" ? "/360" : "",

@@ -1021,3 +1024,3 @@ "{host}": this.host,

"{sku}": this.sku
}) : this.productId ? t = T(jt, {
}) : this.productId ? t = T(zt, {
"{viewer}": this.viewer === "360" ? "/360" : "",

@@ -1030,3 +1033,3 @@ "{host}": this.host,

let e = "";
return this.hasAttributes() && (e += Ht(this)), Object.keys(this.defaultSelection).length > 0 && (e += new URLSearchParams(this.defaultSelection).toString()), e.length && (t += "?" + e), st`<iframe
return Object.keys(this.defaultSelection).length > 0 && (e += new URLSearchParams(this.defaultSelection).toString()), this.hasAttributes() && (Object.keys(this.defaultSelection).length > 0 && (e += "&"), e += It(this)), e.length && (t += "?" + e), st`<iframe
src="${t}"

@@ -1033,0 +1036,0 @@ width="100%"

{
"name": "@londondynamics/pericles-webcomponent",
"license": "MIT",
"version": "2.1.0",
"version": "2.1.1",
"type": "module",

@@ -6,0 +6,0 @@ "keywords": [

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