@lu-development/ux-gdpr-consent
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -5,6 +5,7 @@ 'use strict'; | ||
const core = require('./core-a8c4dfe2.js'); | ||
const core = require('./core-9c778cda.js'); | ||
const defineCustomElements = (win, options) => { | ||
return core.patchEsm().then(() => { | ||
core.globals(); | ||
core.bootstrapLazy([["ux-gdpr-consent.cjs",[[1,"ux-gdpr-consent",{"hidden":[32],"grantConsentCookie":[64],"revokeConsentCookie":[64],"resetConsentCookie":[64]},[[4,"gdpr-consent-revoke","handleRevoke"],[4,"gdpr-consent-reset","handleReset"]]]]]], options); | ||
@@ -11,0 +12,0 @@ }); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const core = require('./core-a8c4dfe2.js'); | ||
const core = require('./core-9c778cda.js'); | ||
@@ -12,2 +12,3 @@ const GdprConsent = class { | ||
this.cookieName = "gdpr-consent"; | ||
this.accessKey = "39380e5616ba3b5913c5d00598f6ec4a"; | ||
this.hidden = true; | ||
@@ -33,3 +34,3 @@ this.consentEmitter = core.createEvent(this, "gdpr-consent", 7); | ||
default: | ||
this.isEU = await fetch(`https://geoip-js.maxmind.com/geoip/v2.1/country/me?referrer=${encodeURIComponent(`${location.protocol}//${location.hostname}`)}`) | ||
this.isEU = await fetch(`http://api.ipstack.com/check?access_key=${this.accessKey}&fields=location.is_eu`) | ||
.then(response => { | ||
@@ -39,6 +40,10 @@ if (!response.ok) { | ||
} | ||
return response | ||
.json() | ||
.then(data => data.country.hasOwnProperty("is_in_european_union")); | ||
return response.json(); | ||
}) | ||
.then(data => { | ||
if (data.hasOwnProperty("error")) { | ||
return true; | ||
} | ||
return data.location.is_eu; | ||
}) | ||
.catch(error => { | ||
@@ -99,5 +104,5 @@ console.error(error); | ||
get el() { return core.getElement(this); } | ||
static get style() { return ":host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;position:fixed;bottom:0;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100vw;background:#fff;font-family:Roboto,sans-serif;font-size:1em;-webkit-box-shadow:-14px 0 28px 0 rgba(0,0,0,.18),-10px 0 10px 0 rgba(0,0,0,.09);box-shadow:-14px 0 28px 0 rgba(0,0,0,.18),-10px 0 10px 0 rgba(0,0,0,.09);z-index:100000}:host .ux-gdpr__text-container{padding:1.714285714em 1.714285714em 1.571428571em;-ms-flex:0 1 26.642857143em;flex:0 1 26.642857143em}:host .ux-gdpr__header{margin:0 0 .571428571em;font-size:1em;font-weight:500;line-height:1}:host .ux-gdpr__description,:host .ux-gdpr__header{-ms-flex:1 1 100%;flex:1 1 100%;font-family:inherit}:host .ux-gdpr__description{margin:0;font-size:.857142857em}:host .ux-gdpr__link,:host .ux-gdpr__link:visited{-webkit-transition:-webkit-box-shadow .2s ease-out;transition:-webkit-box-shadow .2s ease-out;transition:box-shadow .2s ease-out;transition:box-shadow .2s ease-out,-webkit-box-shadow .2s ease-out;color:#2272bd;text-decoration:none}:host .ux-gdpr__link:focus,:host .ux-gdpr__link:visited:focus{outline:none;-webkit-box-shadow:0 0 0 .142857143em #2272bd;box-shadow:0 0 0 .142857143em #2272bd}:host .ux-gdpr__action-container{padding:0 2em 0;display:-ms-flexbox;display:flex;-ms-flex:0 1 17.142857143em;flex:0 1 17.142857143em;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host .ux-gdpr__button_grant,:host .ux-gdpr__button_revoke{border-radius:.142857143em;margin:0 0 2em 0;padding:0;height:2.833333333em;-webkit-transition:-webkit-box-shadow .2s ease-out;transition:-webkit-box-shadow .2s ease-out;transition:box-shadow .2s ease-out;transition:box-shadow .2s ease-out,-webkit-box-shadow .2s ease-out;border:none;background:none;font-family:inherit;font-size:.857142857em;font-weight:300}:host .ux-gdpr__button_grant:focus,:host .ux-gdpr__button_revoke:focus{outline:none;-webkit-box-shadow:0 0 0 .142857143em #2272bd;box-shadow:0 0 0 .142857143em #2272bd}:host .ux-gdpr__button_revoke{-ms-flex-order:0;order:0;width:9.166666667em;background-color:#fff;color:#2272bd;-webkit-box-shadow:inset 0 0 0 .071428571em #c6c7c9;box-shadow:inset 0 0 0 .071428571em #c6c7c9}:host .ux-gdpr__button_grant{-ms-flex-order:1;order:1;width:13.333333333em;background-color:#2272bd;color:#fff}\@media (min-width:21.375em){:host .ux-gdpr__action-container{-ms-flex:0 1 20.428571429em;flex:0 1 20.428571429em;-ms-flex-pack:justify;justify-content:space-between}}\@media (min-width:45em){:host{-ms-flex-wrap:nowrap;flex-wrap:nowrap}:host .ux-gdpr__text-container{padding:1.714285714em 2.285714286em 1.571428571em;-ms-flex:1 1 100%;flex:1 1 100%;max-width:82.428571429em}:host .ux-gdpr__action-container{padding:0 2.285714286em 0 0;-ms-flex:0 0 20.428571429em;flex:0 0 20.428571429em;-ms-flex-wrap:nowrap;flex-wrap:nowrap}:host .ux-gdpr__button_grant,:host .ux-gdpr__button_revoke{margin:0}}"; } | ||
static get style() { return ":host([hidden]) {\n display: none;\n}\n\n:host {\n display: -ms-flexbox;\n display: flex;\n position: fixed;\n bottom: 0;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n width: 100vw;\n background: white;\n font-family: \"Roboto\", sans-serif;\n font-size: 1em;\n -webkit-box-shadow: -14px 0 28px 0 rgba(0, 0, 0, 0.18), -10px 0 10px 0 rgba(0, 0, 0, 0.09);\n box-shadow: -14px 0 28px 0 rgba(0, 0, 0, 0.18), -10px 0 10px 0 rgba(0, 0, 0, 0.09);\n z-index: 100000;\n}\n:host .ux-gdpr__text-container {\n padding: 1.714285714em 1.714285714em 1.571428571em;\n -ms-flex: 0 1 26.642857143em;\n flex: 0 1 26.642857143em;\n}\n:host .ux-gdpr__header {\n margin: 0 0 0.571428571em;\n -ms-flex: 1 1 100%;\n flex: 1 1 100%;\n font-size: 1em;\n font-weight: 500;\n font-family: inherit;\n line-height: 1;\n}\n:host .ux-gdpr__description {\n margin: 0;\n -ms-flex: 1 1 100%;\n flex: 1 1 100%;\n font-family: inherit;\n font-size: 0.857142857em;\n}\n:host .ux-gdpr__link,\n:host .ux-gdpr__link:visited {\n -webkit-transition: -webkit-box-shadow 0.2s ease-out;\n transition: -webkit-box-shadow 0.2s ease-out;\n transition: box-shadow 0.2s ease-out;\n transition: box-shadow 0.2s ease-out, -webkit-box-shadow 0.2s ease-out;\n color: #2272bd;\n text-decoration: none;\n}\n:host .ux-gdpr__link:focus,\n:host .ux-gdpr__link:visited:focus {\n outline: none;\n -webkit-box-shadow: 0 0 0 0.142857143em #2272bd;\n box-shadow: 0 0 0 0.142857143em #2272bd;\n}\n:host .ux-gdpr__action-container {\n padding: 0 2em 0;\n display: -ms-flexbox;\n display: flex;\n -ms-flex: 0 1 17.142857143em;\n flex: 0 1 17.142857143em;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n:host .ux-gdpr__button_revoke,\n:host .ux-gdpr__button_grant {\n border-radius: 0.142857143em;\n margin: 0 0 2em 0;\n padding: 0;\n height: 2.833333333em;\n -webkit-transition: -webkit-box-shadow 0.2s ease-out;\n transition: -webkit-box-shadow 0.2s ease-out;\n transition: box-shadow 0.2s ease-out;\n transition: box-shadow 0.2s ease-out, -webkit-box-shadow 0.2s ease-out;\n border: none;\n background: none;\n font-family: inherit;\n font-size: 0.857142857em;\n font-weight: 300;\n}\n:host .ux-gdpr__button_revoke:focus,\n:host .ux-gdpr__button_grant:focus {\n outline: none;\n -webkit-box-shadow: 0 0 0 0.142857143em #2272bd;\n box-shadow: 0 0 0 0.142857143em #2272bd;\n}\n:host .ux-gdpr__button_revoke {\n -ms-flex-order: 0;\n order: 0;\n width: 9.166666667em;\n background-color: white;\n color: #2272bd;\n -webkit-box-shadow: inset 0 0 0 0.071428571em #c6c7c9;\n box-shadow: inset 0 0 0 0.071428571em #c6c7c9;\n}\n:host .ux-gdpr__button_grant {\n -ms-flex-order: 1;\n order: 1;\n width: 13.333333333em;\n background-color: #2272bd;\n color: white;\n}\n\n\@media all and (min-width: 21.375em) {\n :host .ux-gdpr__action-container {\n -ms-flex: 0 1 20.428571429em;\n flex: 0 1 20.428571429em;\n -ms-flex-pack: justify;\n justify-content: space-between;\n }\n}\n\@media all and (min-width: 45em) {\n :host {\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n }\n :host .ux-gdpr__text-container {\n padding: 1.714285714em 2.285714286em 1.571428571em;\n -ms-flex: 1 1 100%;\n flex: 1 1 100%;\n max-width: 82.428571429em;\n }\n :host .ux-gdpr__action-container {\n padding: 0 2.285714286em 0 0;\n -ms-flex: 0 0 20.428571429em;\n flex: 0 0 20.428571429em;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n }\n :host .ux-gdpr__button_revoke,\n:host .ux-gdpr__button_grant {\n margin: 0;\n }\n}"; } | ||
}; | ||
exports.ux_gdpr_consent = GdprConsent; |
'use strict'; | ||
const core = require('./core-a8c4dfe2.js'); | ||
const core = require('./core-9c778cda.js'); | ||
core.patchBrowser().then(options => { | ||
core.globals(); | ||
return core.bootstrapLazy([["ux-gdpr-consent.cjs",[[1,"ux-gdpr-consent",{"hidden":[32],"grantConsentCookie":[64],"revokeConsentCookie":[64],"resetConsentCookie":[64]},[[4,"gdpr-consent-revoke","handleRevoke"],[4,"gdpr-consent-reset","handleReset"]]]]]], options); | ||
}); |
@@ -5,2 +5,3 @@ import { h, Host } from "@stencil/core"; | ||
this.cookieName = "gdpr-consent"; | ||
this.accessKey = "39380e5616ba3b5913c5d00598f6ec4a"; | ||
this.hidden = true; | ||
@@ -25,3 +26,3 @@ } | ||
default: | ||
this.isEU = await fetch(`https://geoip-js.maxmind.com/geoip/v2.1/country/me?referrer=${encodeURIComponent(`${location.protocol}//${location.hostname}`)}`) | ||
this.isEU = await fetch(`http://api.ipstack.com/check?access_key=${this.accessKey}&fields=location.is_eu`) | ||
.then(response => { | ||
@@ -31,6 +32,10 @@ if (!response.ok) { | ||
} | ||
return response | ||
.json() | ||
.then(data => data.country.hasOwnProperty("is_in_european_union")); | ||
return response.json(); | ||
}) | ||
.then(data => { | ||
if (data.hasOwnProperty("error")) { | ||
return true; | ||
} | ||
return data.location.is_eu; | ||
}) | ||
.catch(error => { | ||
@@ -37,0 +42,0 @@ console.error(error); |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './core-fab31531.js'; | ||
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './core-73f420e2.js'; | ||
@@ -7,2 +7,3 @@ const GdprConsent = class { | ||
this.cookieName = "gdpr-consent"; | ||
this.accessKey = "39380e5616ba3b5913c5d00598f6ec4a"; | ||
this.hidden = true; | ||
@@ -28,3 +29,3 @@ this.consentEmitter = createEvent(this, "gdpr-consent", 7); | ||
default: | ||
this.isEU = await fetch(`https://geoip-js.maxmind.com/geoip/v2.1/country/me?referrer=${encodeURIComponent(`${location.protocol}//${location.hostname}`)}`) | ||
this.isEU = await fetch(`http://api.ipstack.com/check?access_key=${this.accessKey}&fields=location.is_eu`) | ||
.then(response => { | ||
@@ -34,6 +35,10 @@ if (!response.ok) { | ||
} | ||
return response | ||
.json() | ||
.then(data => data.country.hasOwnProperty("is_in_european_union")); | ||
return response.json(); | ||
}) | ||
.then(data => { | ||
if (data.hasOwnProperty("error")) { | ||
return true; | ||
} | ||
return data.location.is_eu; | ||
}) | ||
.catch(error => { | ||
@@ -94,5 +99,5 @@ console.error(error); | ||
get el() { return getElement(this); } | ||
static get style() { return ":host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;position:fixed;bottom:0;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100vw;background:#fff;font-family:Roboto,sans-serif;font-size:1em;-webkit-box-shadow:-14px 0 28px 0 rgba(0,0,0,.18),-10px 0 10px 0 rgba(0,0,0,.09);box-shadow:-14px 0 28px 0 rgba(0,0,0,.18),-10px 0 10px 0 rgba(0,0,0,.09);z-index:100000}:host .ux-gdpr__text-container{padding:1.714285714em 1.714285714em 1.571428571em;-ms-flex:0 1 26.642857143em;flex:0 1 26.642857143em}:host .ux-gdpr__header{margin:0 0 .571428571em;font-size:1em;font-weight:500;line-height:1}:host .ux-gdpr__description,:host .ux-gdpr__header{-ms-flex:1 1 100%;flex:1 1 100%;font-family:inherit}:host .ux-gdpr__description{margin:0;font-size:.857142857em}:host .ux-gdpr__link,:host .ux-gdpr__link:visited{-webkit-transition:-webkit-box-shadow .2s ease-out;transition:-webkit-box-shadow .2s ease-out;transition:box-shadow .2s ease-out;transition:box-shadow .2s ease-out,-webkit-box-shadow .2s ease-out;color:#2272bd;text-decoration:none}:host .ux-gdpr__link:focus,:host .ux-gdpr__link:visited:focus{outline:none;-webkit-box-shadow:0 0 0 .142857143em #2272bd;box-shadow:0 0 0 .142857143em #2272bd}:host .ux-gdpr__action-container{padding:0 2em 0;display:-ms-flexbox;display:flex;-ms-flex:0 1 17.142857143em;flex:0 1 17.142857143em;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host .ux-gdpr__button_grant,:host .ux-gdpr__button_revoke{border-radius:.142857143em;margin:0 0 2em 0;padding:0;height:2.833333333em;-webkit-transition:-webkit-box-shadow .2s ease-out;transition:-webkit-box-shadow .2s ease-out;transition:box-shadow .2s ease-out;transition:box-shadow .2s ease-out,-webkit-box-shadow .2s ease-out;border:none;background:none;font-family:inherit;font-size:.857142857em;font-weight:300}:host .ux-gdpr__button_grant:focus,:host .ux-gdpr__button_revoke:focus{outline:none;-webkit-box-shadow:0 0 0 .142857143em #2272bd;box-shadow:0 0 0 .142857143em #2272bd}:host .ux-gdpr__button_revoke{-ms-flex-order:0;order:0;width:9.166666667em;background-color:#fff;color:#2272bd;-webkit-box-shadow:inset 0 0 0 .071428571em #c6c7c9;box-shadow:inset 0 0 0 .071428571em #c6c7c9}:host .ux-gdpr__button_grant{-ms-flex-order:1;order:1;width:13.333333333em;background-color:#2272bd;color:#fff}\@media (min-width:21.375em){:host .ux-gdpr__action-container{-ms-flex:0 1 20.428571429em;flex:0 1 20.428571429em;-ms-flex-pack:justify;justify-content:space-between}}\@media (min-width:45em){:host{-ms-flex-wrap:nowrap;flex-wrap:nowrap}:host .ux-gdpr__text-container{padding:1.714285714em 2.285714286em 1.571428571em;-ms-flex:1 1 100%;flex:1 1 100%;max-width:82.428571429em}:host .ux-gdpr__action-container{padding:0 2.285714286em 0 0;-ms-flex:0 0 20.428571429em;flex:0 0 20.428571429em;-ms-flex-wrap:nowrap;flex-wrap:nowrap}:host .ux-gdpr__button_grant,:host .ux-gdpr__button_revoke{margin:0}}"; } | ||
static get style() { return ":host([hidden]) {\n display: none;\n}\n\n:host {\n display: -ms-flexbox;\n display: flex;\n position: fixed;\n bottom: 0;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n width: 100vw;\n background: white;\n font-family: \"Roboto\", sans-serif;\n font-size: 1em;\n -webkit-box-shadow: -14px 0 28px 0 rgba(0, 0, 0, 0.18), -10px 0 10px 0 rgba(0, 0, 0, 0.09);\n box-shadow: -14px 0 28px 0 rgba(0, 0, 0, 0.18), -10px 0 10px 0 rgba(0, 0, 0, 0.09);\n z-index: 100000;\n}\n:host .ux-gdpr__text-container {\n padding: 1.714285714em 1.714285714em 1.571428571em;\n -ms-flex: 0 1 26.642857143em;\n flex: 0 1 26.642857143em;\n}\n:host .ux-gdpr__header {\n margin: 0 0 0.571428571em;\n -ms-flex: 1 1 100%;\n flex: 1 1 100%;\n font-size: 1em;\n font-weight: 500;\n font-family: inherit;\n line-height: 1;\n}\n:host .ux-gdpr__description {\n margin: 0;\n -ms-flex: 1 1 100%;\n flex: 1 1 100%;\n font-family: inherit;\n font-size: 0.857142857em;\n}\n:host .ux-gdpr__link,\n:host .ux-gdpr__link:visited {\n -webkit-transition: -webkit-box-shadow 0.2s ease-out;\n transition: -webkit-box-shadow 0.2s ease-out;\n transition: box-shadow 0.2s ease-out;\n transition: box-shadow 0.2s ease-out, -webkit-box-shadow 0.2s ease-out;\n color: #2272bd;\n text-decoration: none;\n}\n:host .ux-gdpr__link:focus,\n:host .ux-gdpr__link:visited:focus {\n outline: none;\n -webkit-box-shadow: 0 0 0 0.142857143em #2272bd;\n box-shadow: 0 0 0 0.142857143em #2272bd;\n}\n:host .ux-gdpr__action-container {\n padding: 0 2em 0;\n display: -ms-flexbox;\n display: flex;\n -ms-flex: 0 1 17.142857143em;\n flex: 0 1 17.142857143em;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n:host .ux-gdpr__button_revoke,\n:host .ux-gdpr__button_grant {\n border-radius: 0.142857143em;\n margin: 0 0 2em 0;\n padding: 0;\n height: 2.833333333em;\n -webkit-transition: -webkit-box-shadow 0.2s ease-out;\n transition: -webkit-box-shadow 0.2s ease-out;\n transition: box-shadow 0.2s ease-out;\n transition: box-shadow 0.2s ease-out, -webkit-box-shadow 0.2s ease-out;\n border: none;\n background: none;\n font-family: inherit;\n font-size: 0.857142857em;\n font-weight: 300;\n}\n:host .ux-gdpr__button_revoke:focus,\n:host .ux-gdpr__button_grant:focus {\n outline: none;\n -webkit-box-shadow: 0 0 0 0.142857143em #2272bd;\n box-shadow: 0 0 0 0.142857143em #2272bd;\n}\n:host .ux-gdpr__button_revoke {\n -ms-flex-order: 0;\n order: 0;\n width: 9.166666667em;\n background-color: white;\n color: #2272bd;\n -webkit-box-shadow: inset 0 0 0 0.071428571em #c6c7c9;\n box-shadow: inset 0 0 0 0.071428571em #c6c7c9;\n}\n:host .ux-gdpr__button_grant {\n -ms-flex-order: 1;\n order: 1;\n width: 13.333333333em;\n background-color: #2272bd;\n color: white;\n}\n\n\@media all and (min-width: 21.375em) {\n :host .ux-gdpr__action-container {\n -ms-flex: 0 1 20.428571429em;\n flex: 0 1 20.428571429em;\n -ms-flex-pack: justify;\n justify-content: space-between;\n }\n}\n\@media all and (min-width: 45em) {\n :host {\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n }\n :host .ux-gdpr__text-container {\n padding: 1.714285714em 2.285714286em 1.571428571em;\n -ms-flex: 1 1 100%;\n flex: 1 1 100%;\n max-width: 82.428571429em;\n }\n :host .ux-gdpr__action-container {\n padding: 0 2.285714286em 0 0;\n -ms-flex: 0 0 20.428571429em;\n flex: 0 0 20.428571429em;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n }\n :host .ux-gdpr__button_revoke,\n:host .ux-gdpr__button_grant {\n margin: 0;\n }\n}"; } | ||
}; | ||
export { GdprConsent as ux_gdpr_consent }; |
@@ -6,2 +6,3 @@ import { EventEmitter } from "../../stencil.core"; | ||
isEU: boolean; | ||
accessKey: string; | ||
el: HTMLElement; | ||
@@ -8,0 +9,0 @@ hidden: boolean; |
@@ -1,1 +0,6 @@ | ||
import{p as e,b as o}from"./p-552631d0.js";e().then(e=>o([["p-vymd0sjl",[[1,"ux-gdpr-consent",{hidden:[32],grantConsentCookie:[64],revokeConsentCookie:[64],resetConsentCookie:[64]},[[4,"gdpr-consent-revoke","handleRevoke"],[4,"gdpr-consent-reset","handleReset"]]]]]],e)); | ||
import { p as patchBrowser, g as globals, b as bootstrapLazy } from './core-e27749d7.js'; | ||
patchBrowser().then(options => { | ||
globals(); | ||
return bootstrapLazy([["ux-gdpr-consent",[[1,"ux-gdpr-consent",{"hidden":[32],"grantConsentCookie":[64],"revokeConsentCookie":[64],"resetConsentCookie":[64]},[[4,"gdpr-consent-revoke","handleRevoke"],[4,"gdpr-consent-reset","handleReset"]]]]]], options); | ||
}); |
{ | ||
"name": "@lu-development/ux-gdpr-consent", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "GDPR compliance plugin", | ||
@@ -24,7 +24,12 @@ "main": "dist/index.js", | ||
"publish.dev": "npm publish --access public --tag dev", | ||
"publish.prod": "npm publish --access public --tag latest" | ||
"publish.prod": "npm publish --access public" | ||
}, | ||
"devDependencies": { | ||
"@stencil/core": "^1.5.1", | ||
"@stencil/sass": "^1.0.1" | ||
"@stencil/sass": "^1.0.1", | ||
"@types/jest": "24.0.18", | ||
"@types/puppeteer": "1.19.1", | ||
"jest": "24.8.0", | ||
"jest-cli": "24.8.0", | ||
"puppeteer": "1.20.0" | ||
}, | ||
@@ -31,0 +36,0 @@ "license": "MIT", |
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 not supported yet
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
790768
16011
5
11
7
53