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

@bruit/component

Package Overview
Dependencies
Maintainers
1
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bruit/component - npm Package Compare versions

Comparing version 0.4.11 to 0.5.0-1

dist/bruit/76hh5rt5.entry.js

4

dist/bruit.js
/*!
* Built with http://stenciljs.com
* 2018-11-21T11:11:15
* 2018-11-29T14:02:21
*/
!function(e,t,r,n,i,s,o,c,u,a,l,d,p,h){for(l=e.bruit=e.bruit||{},(d=t.createElement("style")).innerHTML="bruit-io{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),p=t.head.querySelector("meta[charset]"),t.head.insertBefore(d,p?p.nextSibling:t.head.firstChild),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("bruit"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var n=e["s-apps"],i=0,s=0;s<n.length;s++)if(e[n[s]].componentOnReady){if(e[n[s]].componentOnReady(t,r))return;i++}if(i<n.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,a),i=i||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(h=p[d]).src&&!h.hasAttribute("data-resources-url");d--);p=h.getAttribute("data-resources-url"),!i&&p&&(i=p),!i&&h.src&&(i=(p=h.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"bruit/"),d=t.createElement("script"),function(e,t,r,n){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=i+"bruit.xbnv5xmc.js":(d.src=i+"bruit.hzr9t143.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",i),d.setAttribute("data-namespace","bruit"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,0,HTMLElement.prototype);
!function(e,t,r,i,n,s,o,u,c,a,l,d,p,h){for(l=e.bruit=e.bruit||{},(d=t.createElement("style")).innerHTML="bruit-io,bruit-modal{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),p=t.head.querySelector("meta[charset]"),t.head.insertBefore(d,p?p.nextSibling:t.head.firstChild),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("bruit"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var i=e["s-apps"],n=0,s=0;s<i.length;s++)if(e[i[s]].componentOnReady){if(e[i[s]].componentOnReady(t,r))return;n++}if(n<i.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,a),n=n||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(h=p[d]).src&&!h.hasAttribute("data-resources-url");d--);p=h.getAttribute("data-resources-url"),!n&&p&&(n=p),!n&&h.src&&(n=(p=h.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"bruit/"),d=t.createElement("script"),function(e,t,r,i){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=n+"bruit.hs74ga9t.js":(d.src=n+"bruit.xwzb4af4.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",n),d.setAttribute("data-namespace","bruit"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,0,HTMLElement.prototype);

@@ -55,2 +55,55 @@ {

]
},
{
"tag": "bruit-modal",
"dependencies": [],
"componentClass": "BruitModal",
"componentPath": "components/bruit-modal/bruit-modal.js",
"styles": {
"$": {
"stylePaths": [
"components/bruit-modal/bruit-modal.scss"
]
}
},
"props": [
{
"name": "config",
"type": "String",
"attr": "config",
"watch": [
"initConfig"
]
},
{
"name": "data",
"attr": "data"
},
{
"name": "dataFn",
"attr": "data-fn"
}
],
"states": [
{
"name": "_config"
},
{
"name": "modalBrtField"
},
{
"name": "modalError"
},
{
"name": "modalOpened"
}
],
"hostElement": {
"name": "bruitElement"
},
"events": [
{
"event": "onError"
}
]
}

@@ -57,0 +110,0 @@ ],

// bruit: Host Data, ES Module/es2017 Target
export const BruitIo = ["bruit-io","851gdxec",1,[["_config",16],["bruitElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["modalBrtField",16],["modalError",16],["modalOpened",16]]];
export const BruitIo = ["bruit-io","ohghnbch",1,[["_config",16],["bruitElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["modalBrtField",16],["modalError",16],["modalOpened",16]]];
export const BruitModal = ["bruit-modal","76hh5rt5",1,[["_config",16],["bruitElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["modalBrtField",16],["modalError",16],["modalOpened",16]]];

@@ -6,3 +6,4 @@

import {
BruitIo
BruitIo,
BruitModal
} from './bruit.components.js';

@@ -12,4 +13,5 @@

return defineCustomElement(win, [
BruitIo
BruitIo,
BruitModal
], opts);
}
// bruit: Host Data, ES Module/es5 Target
export var BruitIo = ["bruit-io","851gdxec",1,[["_config",16],["bruitElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["modalBrtField",16],["modalError",16],["modalOpened",16]]];
export var BruitIo = ["bruit-io","ohghnbch",1,[["_config",16],["bruitElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["modalBrtField",16],["modalError",16],["modalOpened",16]]];
export var BruitModal = ["bruit-modal","76hh5rt5",1,[["_config",16],["bruitElement",64],["config",1,0,1,2],["data",1],["dataFn",1],["modalBrtField",16],["modalError",16],["modalOpened",16]]];

@@ -6,3 +6,4 @@

import {
BruitIo
BruitIo,
BruitModal
} from './bruit.components.js';

@@ -12,4 +13,5 @@

return defineCustomElement(win, [
BruitIo
BruitIo,
BruitModal
], opts);
}

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

import { BruitConfig } from './../models/bruit-config.class';
import { BruitConfig } from '../models/bruit-config.class';
export declare class ConsoleTool {

@@ -3,0 +3,0 @@ private static BUFFER_SIZE;

@@ -45,2 +45,29 @@ /* tslint:disable */

}
interface BruitModal {
'config': BrtConfig | string;
/**
* field array to add in feedback
*/
'data': Array<BrtData>;
/**
* FN or PROMISE return field array to add in feedback
*/
'dataFn': () => Array<BrtData> | Promise<Array<BrtData>>;
}
interface BruitModalAttributes extends StencilHTMLAttributes {
'config'?: BrtConfig | string;
/**
* field array to add in feedback
*/
'data'?: Array<BrtData>;
/**
* FN or PROMISE return field array to add in feedback
*/
'dataFn'?: () => Array<BrtData> | Promise<Array<BrtData>>;
/**
* emit bruit-error on internal error or config error ex : BruitIo.addEventListener('onError',error=>...)
*/
'onOnError'?: (event: CustomEvent) => void;
}
}

@@ -51,2 +78,3 @@

'BruitIo': Components.BruitIo;
'BruitModal': Components.BruitModal;
}

@@ -56,2 +84,3 @@

'bruit-io': Components.BruitIoAttributes;
'bruit-modal': Components.BruitModalAttributes;
}

@@ -66,4 +95,11 @@

interface HTMLBruitModalElement extends Components.BruitModal, HTMLStencilElement {}
var HTMLBruitModalElement: {
prototype: HTMLBruitModalElement;
new (): HTMLBruitModalElement;
};
interface HTMLElementTagNameMap {
'bruit-io': HTMLBruitIoElement
'bruit-modal': HTMLBruitModalElement
}

@@ -73,2 +109,3 @@

'bruit-io': HTMLBruitIoElement;
'bruit-modal': HTMLBruitModalElement;
}

@@ -75,0 +112,0 @@

{
"name": "@bruit/component",
"version": "0.4.11",
"version": "0.5.0-1",
"description": "send your feedbacks with bruit.io",

@@ -5,0 +5,0 @@ "private": false,

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