Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bruit/component

Package Overview
Dependencies
Maintainers
3
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 1.3.9 to 1.3.10

dist/bruit/p-37d9bcff.system.js

0

CHANGELOG.md

@@ -0,0 +0,0 @@ # Changelog

2

dist/bruit/bruit.esm.js

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

import{p as o,g as r,b as i}from"./p-30d2f875.js";o().then(o=>(r(),i([["p-peslcpsi",[[1,"bruit-core",{config:[1,"brt-config"],_bruitCoreConfig:[32],modalOpened:[32],modalBrtField:[32],modalError:[32],_bruitIoConfig:[32],newFeedback:[64],sendFeedback:[64]}],[1,"bruit-io",{config:[1,"brt-config"],data:[16],dataFn:[16],_config:[32]}],[0,"bruit-rating",{value:[1538],max:[1538],color:[1],offColor:[1,"off-color"],onBorderColor:[32]}],[0,"bruit-select",{id:[1],options:[16],value:[1],required:[4]}]]]],o)));
import{p as o,g as r,b as i}from"./p-fe5d9284.js";o().then(o=>(r(),i([["p-gfa8wjji",[[1,"bruit-core",{config:[1,"brt-config"],_bruitCoreConfig:[32],modalOpened:[32],modalBrtField:[32],modalError:[32],_bruitIoConfig:[32],newFeedback:[64],sendFeedback:[64]}],[1,"bruit-io",{config:[1,"brt-config"],data:[16],dataFn:[16],_config:[32]}],[0,"bruit-rating",{value:[1538],max:[1538],color:[1],offColor:[1,"off-color"],onBorderColor:[32]}],[0,"bruit-select",{id:[1],options:[16],value:[1],required:[4]}]]]],o)));
'use strict';
const core = require('./core-13336e64.js');
const core = require('./core-d38a67ea.js');

@@ -5,0 +5,0 @@ core.patchBrowser().then(options => {

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

const core = require('./core-13336e64.js');
const core = require('./core-d38a67ea.js');

@@ -8,0 +8,0 @@ const defineCustomElements = (win, options) => {

@@ -29,3 +29,6 @@ import { BrtFieldType } from '@bruit/types/dist/enums/brt-field-type';

const [screenShot, navigator, serviceWorkers] = await Promise.all([
ScreenTool.getScreenshot(this.bruitIoConfig),
ScreenTool.getScreenshot(this.bruitIoConfig).catch(err => {
console.error('!!! An error occured with the screeshot, we send feedback without it. err=', err);
return Promise.resolve(null);
}),
NavigatorTool.getInfo(),

@@ -32,0 +35,0 @@ NavigatorTool.getServiceWorkersList()

{
"entries": [
"components/bruit-select/bruit-select.js",
"components/bruit-io/bruit-io.js",
"components/bruit-rating/bruit-rating.js",
"components/bruit-core/bruit-core.js"
"components\\bruit-io\\bruit-io.js",
"components\\bruit-core\\bruit-core.js",
"components\\bruit-rating\\bruit-rating.js",
"components\\bruit-select\\bruit-select.js"
],
"compiler": {
"name": "@stencil/core",
"version": "1.8.2",
"version": "1.8.5",
"typescriptVersion": "3.7.2"

@@ -12,0 +12,0 @@ },

@@ -576,3 +576,3 @@ import { BrtFieldType } from '@bruit/types/dist/enums/brt-field-type';

"tags": [],
"text": "emit bruit-error on internal error or config error\nex : BruitIo.addEventListener('onError',error=>...)"
"text": "emit bruit-error on internal error or config error\r\nex : BruitIo.addEventListener('onError',error=>...)"
},

@@ -618,3 +618,3 @@ "complexType": {

"docs": {
"text": "called on click on component\ninit a feedback, wait user submit, send feedback",
"text": "called on click on component\r\ninit a feedback, wait user submit, send feedback",
"tags": []

@@ -621,0 +621,0 @@ }

@@ -81,3 +81,3 @@ import { h } from "@stencil/core";

h("svg", { viewBox: "0 0 96 96", width: "30", height: "30", xmlns: "http://www.w3.org/2000/svg" },
h("path", { d: "M73.3,35.3h-8.9c-1.4-2.5-3.4-4.6-5.8-6.2l5.2-5.2l-4.5-4.5l-6.9,6.9C51,26,49.6,25.8,48,25.8\ns-3,0.2-4.5,0.5l-6.9-6.9L32.2,24l5.1,5.2c-2.3,1.6-4.3,3.7-5.7,6.2h-8.9v6.3h6.6c-0.2,1-0.3,2.1-0.3,3.2V48h-6.3v6.3H29v3.2\nc0,1.1,0.1,2.1,0.3,3.2h-6.6V67h8.9c3.3,5.7,9.4,9.5,16.4,9.5s13.1-3.8,16.4-9.5h8.9v-6.3h-6.6c0.2-1,0.3-2.1,0.3-3.2v-3.2h6.3V48\nH67v-3.2c0-1.1-0.1-2.1-0.3-3.2h6.6V35.3z M54.3,60.7H41.7v-6.3h12.7V60.7z M54.3,48H41.7v-6.3h12.7V48z" }))));
h("path", { d: "M73.3,35.3h-8.9c-1.4-2.5-3.4-4.6-5.8-6.2l5.2-5.2l-4.5-4.5l-6.9,6.9C51,26,49.6,25.8,48,25.8\r\ns-3,0.2-4.5,0.5l-6.9-6.9L32.2,24l5.1,5.2c-2.3,1.6-4.3,3.7-5.7,6.2h-8.9v6.3h6.6c-0.2,1-0.3,2.1-0.3,3.2V48h-6.3v6.3H29v3.2\r\nc0,1.1,0.1,2.1,0.3,3.2h-6.6V67h8.9c3.3,5.7,9.4,9.5,16.4,9.5s13.1-3.8,16.4-9.5h8.9v-6.3h-6.6c0.2-1,0.3-2.1,0.3-3.2v-3.2h6.3V48\r\nH67v-3.2c0-1.1-0.1-2.1-0.3-3.2h6.6V35.3z M54.3,60.7H41.7v-6.3h12.7V60.7z M54.3,48H41.7v-6.3h12.7V48z" }))));
}

@@ -162,3 +162,3 @@ }

"tags": [],
"text": "FN or PROMISE\nreturn field array to add in feedback"
"text": "FN or PROMISE\r\nreturn field array to add in feedback"
}

@@ -178,3 +178,3 @@ }

"tags": [],
"text": "emit bruit-error on internal error or config error\nex : BruitIo.addEventListener('onError',error=>...)"
"text": "emit bruit-error on internal error or config error\r\nex : BruitIo.addEventListener('onError',error=>...)"
},

@@ -181,0 +181,0 @@ "complexType": {

@@ -0,0 +0,0 @@ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};

@@ -0,0 +0,0 @@ (function () {

@@ -0,0 +0,0 @@ var __spreadArrays = (this && this.__spreadArrays) || function () {

@@ -475,3 +475,5 @@ /*

loadDocumentStyles(doc, globalScopes);
return loadDocumentLinks(doc, globalScopes);
return loadDocumentLinks(doc, globalScopes).then(function () {
updateGlobalScopes(globalScopes);
});
}

@@ -478,0 +480,0 @@ function startWatcher(doc, globalScopes) {

/**
* SystemJS 4.0.2
* MANUAL PATCH: remove script.crossOrigin = "anonymous"
* MANUAL PATCH: add conditionally apply, n.System=n.System||new u
*/
!function(){var e="undefined"!=typeof self,n=e?self:global;var t;if("undefined"!=typeof document){var e=document.querySelector("base[href]");e&&(t=e.href)}if(!t&&"undefined"!=typeof location){var e=(t=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==e&&(t=t.slice(0,e+1))}var r=/\\/g,o="undefined"!=typeof Symbol,i=o&&Symbol.toStringTag,c=o?Symbol():"@";function u(){this[c]={}}var s=u.prototype;var l;s.import=function(e,n){var t=this;return Promise.resolve(t.resolve(e,n)).then(function(e){var n=function e(n,t,r){var o=n[c][t];if(o)return o;var u=[],s=Object.create(null);i&&Object.defineProperty(s,i,{value:"Module"});var l=Promise.resolve().then(function(){return n.instantiate(t,r)}).then(function(e){if(!e)throw Error("Module "+t+" did not instantiate");var r=e[1](function(e,n){o.h=!0;var t=!1;if("object"!=typeof e)e in s&&s[e]===n||(s[e]=n,t=!0);else for(var n in e){var r=e[n];n in s&&s[n]===r||(s[n]=r,t=!0)}if(t)for(var e=0;e<u.length;e++)u[e](s);return n},2===e[1].length?{import:function(e){return n.import(e,t)},meta:n.createContext(t)}:void 0);return o.e=r.execute||function(){},[e[0],r.setters||[]]});var f=l.then(function(r){return Promise.all(r[0].map(function(o,i){var c=r[1][i];return Promise.resolve(n.resolve(o,t)).then(function(r){var o=e(n,r,t);return Promise.resolve(o.I).then(function(){return c&&(o.i.push(c),!o.h&&o.I||c(o.n)),o})})})).then(function(e){o.d=e})});return f.catch(function(e){o.e=null,o.er=e}),o=n[c][t]={id:t,i:u,n:s,I:l,L:f,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0}}(t,e);return n.C||function(e,n){return n.C=function e(n,t,r){if(!r[t.id])return r[t.id]=!0,Promise.resolve(t.L).then(function(){return Promise.all(t.d.map(function(t){return e(n,t,r)}))})}(e,n,{}).then(function(){return function e(n,t,r){if(r[t.id])return;if(r[t.id]=!0,!t.e){if(t.er)throw t.er;return t.E?t.E:void 0}var o;return t.d.forEach(function(t){{var i=e(n,t,r);i&&(o=o||[]).push(i)}}),o?Promise.all(o).then(i):i();function i(){try{var e=t.e.call(f);if(e)return e=e.then(function(){t.C=t.n,t.E=null}),t.E=t.E||e;t.C=t.n}catch(e){throw t.er=e,e}finally{t.L=t.I=void 0,t.e=null}}}(e,n,{})}).then(function(){return n.n})}(t,n)})},s.createContext=function(e){return{url:e}},s.register=function(e,n){l=[e,n]},s.getRegister=function(){var e=l;return l=void 0,e};var f=Object.freeze(Object.create(null));n.System=new u;var d=s.register;s.register=function(e,n){d.call(this,e,n)},s.instantiate=function(e,n){var t=this;return".json"===e.substr(-5)?fetch(e).then(function(e){return e.text()}).then(function(e){return[[],function(n){return{execute:function(){n("default",JSON.parse(e))}}}]}):new Promise(function(r,o){var i;function c(n){n.filename===e&&(i=n.error)}window.addEventListener("error",c);var u=document.createElement("script");u.charset="utf-8",u.async=!0,u.addEventListener("error",function(){window.removeEventListener("error",c),o(Error("Error loading "+e+(n?" from "+n:"")))}),u.addEventListener("load",function(){window.removeEventListener("error",c),document.head.removeChild(u),i?o(i):r(t.getRegister())}),u.src=e,document.head.appendChild(u)})},e&&"function"==typeof importScripts&&(s.instantiate=function(e){var n=this;return new Promise(function(t,r){try{importScripts(e)}catch(e){r(e)}t(n.getRegister())})}),s.resolve=function(e,n){var o=function(e,n){if(-1!==e.indexOf("\\")&&(e=e.replace(r,"/")),"/"===e[0]&&"/"===e[1])return n.slice(0,n.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){var t=n.slice(0,n.indexOf(":")+1);var r;if(r="/"===n[t.length+1]?"file:"!==t?(r=n.slice(t.length+2)).slice(r.indexOf("/")+1):n.slice(8):n.slice(t.length+("/"===n[t.length])),"/"===e[0])return n.slice(0,n.length-r.length-1)+e;var o=r.slice(0,r.lastIndexOf("/")+1)+e,i=[];var c=-1;for(var e=0;e<o.length;e++)-1!==c?"/"===o[e]&&(i.push(o.slice(c,e+1)),c=-1):"."===o[e]?"."!==o[e+1]||"/"!==o[e+2]&&e+2!==o.length?"/"===o[e+1]||e+1===o.length?e+=1:c=e:(i.pop(),e+=2):c=e;return-1!==c&&i.push(o.slice(c)),n.slice(0,n.length-r.length)+i.join("")}}(e,n||t);if(!o){if(-1!==e.indexOf(":"))return Promise.resolve(e);throw Error('Cannot resolve "'+e+(n?'" from '+n:'"'))}return Promise.resolve(o)}}();
!function(){var e="undefined"!=typeof self,n=e?self:global;var t;if("undefined"!=typeof document){var e=document.querySelector("base[href]");e&&(t=e.href)}if(!t&&"undefined"!=typeof location){var e=(t=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==e&&(t=t.slice(0,e+1))}var r=/\\/g,o="undefined"!=typeof Symbol,i=o&&Symbol.toStringTag,c=o?Symbol():"@";function u(){this[c]={}}var s=u.prototype;var l;s.import=function(e,n){var t=this;return Promise.resolve(t.resolve(e,n)).then(function(e){var n=function e(n,t,r){var o=n[c][t];if(o)return o;var u=[],s=Object.create(null);i&&Object.defineProperty(s,i,{value:"Module"});var l=Promise.resolve().then(function(){return n.instantiate(t,r)}).then(function(e){if(!e)throw Error("Module "+t+" did not instantiate");var r=e[1](function(e,n){o.h=!0;var t=!1;if("object"!=typeof e)e in s&&s[e]===n||(s[e]=n,t=!0);else for(var n in e){var r=e[n];n in s&&s[n]===r||(s[n]=r,t=!0)}if(t)for(var e=0;e<u.length;e++)u[e](s);return n},2===e[1].length?{import:function(e){return n.import(e,t)},meta:n.createContext(t)}:void 0);return o.e=r.execute||function(){},[e[0],r.setters||[]]});var f=l.then(function(r){return Promise.all(r[0].map(function(o,i){var c=r[1][i];return Promise.resolve(n.resolve(o,t)).then(function(r){var o=e(n,r,t);return Promise.resolve(o.I).then(function(){return c&&(o.i.push(c),!o.h&&o.I||c(o.n)),o})})})).then(function(e){o.d=e})});return f.catch(function(e){o.e=null,o.er=e}),o=n[c][t]={id:t,i:u,n:s,I:l,L:f,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0}}(t,e);return n.C||function(e,n){return n.C=function e(n,t,r){if(!r[t.id])return r[t.id]=!0,Promise.resolve(t.L).then(function(){return Promise.all(t.d.map(function(t){return e(n,t,r)}))})}(e,n,{}).then(function(){return function e(n,t,r){if(r[t.id])return;if(r[t.id]=!0,!t.e){if(t.er)throw t.er;return t.E?t.E:void 0}var o;return t.d.forEach(function(t){{var i=e(n,t,r);i&&(o=o||[]).push(i)}}),o?Promise.all(o).then(i):i();function i(){try{var e=t.e.call(f);if(e)return e=e.then(function(){t.C=t.n,t.E=null}),t.E=t.E||e;t.C=t.n}catch(e){throw t.er=e,e}finally{t.L=t.I=void 0,t.e=null}}}(e,n,{})}).then(function(){return n.n})}(t,n)})},s.createContext=function(e){return{url:e}},s.register=function(e,n){l=[e,n]},s.getRegister=function(){var e=l;return l=void 0,e};var f=Object.freeze(Object.create(null));n.System=n.System||new u;var d=s.register;s.register=function(e,n){d.call(this,e,n)},s.instantiate=function(e,n){var t=this;return".json"===e.substr(-5)?fetch(e).then(function(e){return e.text()}).then(function(e){return[[],function(n){return{execute:function(){n("default",JSON.parse(e))}}}]}):new Promise(function(r,o){var i;function c(n){n.filename===e&&(i=n.error)}window.addEventListener("error",c);var u=document.createElement("script");u.charset="utf-8",u.async=!0,u.addEventListener("error",function(){window.removeEventListener("error",c),o(Error("Error loading "+e+(n?" from "+n:"")))}),u.addEventListener("load",function(){window.removeEventListener("error",c),document.head.removeChild(u),i?o(i):r(t.getRegister())}),u.src=e,document.head.appendChild(u)})},e&&"function"==typeof importScripts&&(s.instantiate=function(e){var n=this;return new Promise(function(t,r){try{importScripts(e)}catch(e){r(e)}t(n.getRegister())})}),s.resolve=function(e,n){var o=function(e,n){if(-1!==e.indexOf("\\")&&(e=e.replace(r,"/")),"/"===e[0]&&"/"===e[1])return n.slice(0,n.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){var t=n.slice(0,n.indexOf(":")+1);var r;if(r="/"===n[t.length+1]?"file:"!==t?(r=n.slice(t.length+2)).slice(r.indexOf("/")+1):n.slice(8):n.slice(t.length+("/"===n[t.length])),"/"===e[0])return n.slice(0,n.length-r.length-1)+e;var o=r.slice(0,r.lastIndexOf("/")+1)+e,i=[];var c=-1;for(var e=0;e<o.length;e++)-1!==c?"/"===o[e]&&(i.push(o.slice(c,e+1)),c=-1):"."===o[e]?"."!==o[e+1]||"/"!==o[e+2]&&e+2!==o.length?"/"===o[e+1]||e+1===o.length?e+=1:c=e:(i.pop(),e+=2):c=e;return-1!==c&&i.push(o.slice(c)),n.slice(0,n.length-r.length)+i.join("")}}(e,n||t);if(!o){if(-1!==e.indexOf(":"))return Promise.resolve(e);throw Error('Cannot resolve "'+e+(n?'" from '+n:'"'))}return Promise.resolve(o)}}();

@@ -0,0 +0,0 @@ import { BrtFeedback } from '@bruit/types';

@@ -0,0 +0,0 @@ import { BrtCookies, BrtData, BrtFeedback, BrtField, BrtLog, BrtNavigatorInfo, BrtScreenInfo, BrtServiceWorker } from '@bruit/types';

@@ -0,0 +0,0 @@ export declare class ClickTool {

@@ -0,0 +0,0 @@ import { BruitCoreConfig } from '../models/bruit-core-config.class';

@@ -0,0 +0,0 @@ export declare class HttpTool {

@@ -0,0 +0,0 @@ import { BrtCookies, BrtNavigatorInfo, BrtNetwork, BrtPermissions, BrtServiceWorker, BrtServiceWorkerState, BrtStorageEstimate } from "@bruit/types";

@@ -0,0 +0,0 @@ import { BrtScreenInfo } from '@bruit/types';

@@ -0,0 +0,0 @@ export declare class UrlTool {

@@ -0,0 +0,0 @@ import { BrtCoreConfig, BrtData, BrtError, BrtField } from '@bruit/types';

@@ -0,0 +0,0 @@ import { BrtConfig, BrtData } from '@bruit/types';

@@ -0,0 +0,0 @@ import { EventEmitter } from '../../stencil.core';

@@ -0,0 +0,0 @@ export declare class BruitSelect {

@@ -0,0 +0,0 @@ export declare enum SubmitButtonState {

@@ -0,0 +0,0 @@ export * from '@bruit/types/dist/enums/brt-field-type';

@@ -0,0 +0,0 @@ declare module "*.json" {

@@ -0,0 +0,0 @@ import { BrtCoreConfig, BrtError } from '@bruit/types';

@@ -0,0 +0,0 @@ import { BrtConfig, BrtError, BrtField } from '@bruit/types';

export default function start(config: any): void;
export declare function format(first: string, middle: string, last: string): string;
{
"name": "@bruit/component",
"version": "1.3.9",
"version": "1.3.10",
"description": "send your feedbacks with bruit.io",

@@ -41,3 +41,3 @@ "keywords": [

"devDependencies": {
"@stencil/core": "^1.8.2",
"@stencil/core": "^1.8.5",
"@stencil/sass": "^1.1.1",

@@ -64,3 +64,3 @@ "chalk": "^3.0.0",

"@bruit/types": "1.3.1",
"bowser": "^2.7.0",
"bowser": "^2.8.1",
"html2canvas": "^1.0.0-rc.5",

@@ -67,0 +67,0 @@ "lz-string": "^1.4.4"

@@ -0,0 +0,0 @@ <p align="center">

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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

Sorry, the diff of this file is too big to display

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

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