Socket
Socket
Sign inDemoInstall

@pie-api/pie-api-live-components

Package Overview
Dependencies
Maintainers
2
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pie-api/pie-api-live-components - npm Package Compare versions

Comparing version 1.16.5 to 1.16.6

dist/cjs/response-loader-be3a5f6e.js

2

dist/cjs/pie-response-cell.cjs.entry.js

@@ -6,3 +6,3 @@ 'use strict';

const index = require('./index-891f9e46.js');
const responseLoader = require('./response-loader-cb92cf09.js');
const responseLoader = require('./response-loader-be3a5f6e.js');

@@ -9,0 +9,0 @@ /**

@@ -6,3 +6,3 @@ 'use strict';

const index = require('./index-891f9e46.js');
const responseLoader = require('./response-loader-cb92cf09.js');
const responseLoader = require('./response-loader-be3a5f6e.js');

@@ -9,0 +9,0 @@ /**

@@ -113,3 +113,7 @@ const tagMap = {

host.shadowRoot.innerHTML = "";
pieConfig.pies && pieConfig.pies.forEach((pie) => {
const { pies } = pieConfig;
// when there are multi-parts, the black listed item types should be not taken in
// consideration in order to determine if an empty cell should be displayed or not
const notBlackListedModels = pies && pies.reduce((acc, pie) => (acc + (!pie.blackListed ? 1 : 0)), 0);
pies && pies.forEach((pie) => {
var _a, _b;

@@ -120,3 +124,3 @@ let elementSpecifier = ((_a = pie.elements) !== null && _a !== void 0 ? _a : {})[elementName];

// if multi-part, render an empty cell/response for the entire item
if (!multiPart && models && models.length > 1) {
if (!multiPart && notBlackListedModels > 1) {
tag = `empty-tag-${elementName}`.toLowerCase();

@@ -173,3 +177,3 @@ elementSpecifier = pieResponsesMapping.empty[elementName];

});
return (pieConfig.pies && pieConfig.pies.filter(pie => !pie.blackListed).length == found);
return (pies && pies.filter(pie => !pie.blackListed).length == found);
};

@@ -176,0 +180,0 @@ /**

import { r as registerInstance, d as getContext, h, g as getElement } from './index-fb214d28.js';
import { l as loadResponseElement } from './response-loader-9213c0b5.js';
import { l as loadResponseElement } from './response-loader-71f6b853.js';

@@ -4,0 +4,0 @@ /**

import { r as registerInstance, d as getContext, h, g as getElement } from './index-fb214d28.js';
import { l as loadResponseElement } from './response-loader-9213c0b5.js';
import { l as loadResponseElement } from './response-loader-71f6b853.js';

@@ -4,0 +4,0 @@ /**

@@ -1,1 +0,1 @@

import{p as e,b as s}from"./p-41e07f8c.js";e().then(e=>s([["p-000be550",[[0,"item-metadata",{_key:[1,"key"],attribute:[1]}]]],["p-7835da61",[[0,"pie-api-live",{metadata:[16],token:[1],host:[1],apiUrl:[1,"api-url"],liveUrl:[1,"live-url"],hostUrl:[1,"host-url"]},[[0,"attachSession","handleLiveSessionAdded"]]]]],["p-c3923a88",[[1,"pie-live-session",{sessionId:[513,"session-id"],token:[1],client:[16],apiUrl:[1,"api-url"],metadata:[16],sessionData:[32]}]]],["p-e7fee046",[[1,"pie-response",{sessionData:[8,"session-data"],multiPart:[4,"multi-part"]}]]],["p-552786fd",[[1,"pie-response-cell",{sessionData:[8,"session-data"],multiPart:[4,"multi-part"]}]]]],e));
import{p as e,b as s}from"./p-41e07f8c.js";e().then(e=>s([["p-000be550",[[0,"item-metadata",{_key:[1,"key"],attribute:[1]}]]],["p-7835da61",[[0,"pie-api-live",{metadata:[16],token:[1],host:[1],apiUrl:[1,"api-url"],liveUrl:[1,"live-url"],hostUrl:[1,"host-url"]},[[0,"attachSession","handleLiveSessionAdded"]]]]],["p-c3923a88",[[1,"pie-live-session",{sessionId:[513,"session-id"],token:[1],client:[16],apiUrl:[1,"api-url"],metadata:[16],sessionData:[32]}]]],["p-f9065c77",[[1,"pie-response",{sessionData:[8,"session-data"],multiPart:[4,"multi-part"]}]]],["p-af92dce5",[[1,"pie-response-cell",{sessionData:[8,"session-data"],multiPart:[4,"multi-part"]}]]]],e));
{
"name": "@pie-api/pie-api-live-components",
"version": "1.16.5",
"version": "1.16.6",
"description": "Custom Elements that work with PIE Api Live services",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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