@manifoldco/shadowcat
Advanced tools
Comparing version 0.1.2-test.0 to 0.1.3-rc.0
@@ -5,7 +5,7 @@ 'use strict'; | ||
const __chunk_1 = require('./chunk-8ab7ab54.js'); | ||
const core = require('./core-136c5e11.js'); | ||
const defineCustomElements = (win, options) => { | ||
return __chunk_1.patchEsm().then(() => { | ||
__chunk_1.bootstrapLazy([["manifold-oauth.cjs",[[0,"manifold-oauth",{"oauthUrl":[1,"oauth-url"]}]]]], options); | ||
return core.patchEsm().then(() => { | ||
core.bootstrapLazy([["manifold-oauth.cjs",[[0,"manifold-oauth",{"oauthUrl":[1,"oauth-url"]}]]]], options); | ||
}); | ||
@@ -12,0 +12,0 @@ }; |
@@ -5,8 +5,8 @@ 'use strict'; | ||
const __chunk_1 = require('./chunk-8ab7ab54.js'); | ||
const core = require('./core-136c5e11.js'); | ||
class ManifoldOauth { | ||
const ManifoldOauth = class { | ||
constructor(hostRef) { | ||
__chunk_1.registerInstance(this, hostRef); | ||
this.oauthUrl = "https://login.manifold.co/signin/oauth/web"; | ||
core.registerInstance(this, hostRef); | ||
this.oauthUrl = 'https://login.manifold.co/signin/oauth/web'; | ||
this.tokenListener = (ev) => { | ||
@@ -17,18 +17,32 @@ const pumaToken = ev.data; | ||
expiry: pumaToken.expiry, | ||
error: pumaToken.error | ||
error: pumaToken.error, | ||
duration: new Date().getTime() - this.loadTime.getTime(), | ||
}); | ||
}; | ||
this.receiveManifoldToken = __chunk_1.createEvent(this, "receiveManifoldToken", 7); | ||
this.receiveManifoldToken = core.createEvent(this, "receiveManifoldToken", 7); | ||
} | ||
componentWillLoad() { | ||
window.addEventListener("message", this.tokenListener); | ||
this.loadTime = new Date(); | ||
window.addEventListener('message', this.tokenListener); | ||
} | ||
componentDidUnload() { | ||
window.removeEventListener("message", this.tokenListener); | ||
window.removeEventListener('message', this.tokenListener); | ||
} | ||
render() { | ||
return __chunk_1.h("iframe", { style: { display: "none" }, src: this.oauthUrl }); | ||
return (core.h("iframe", { src: this.oauthUrl, allowtransparency: "true", "aria-hidden": "true", frameborder: "0", id: "manifold-oauth-window", name: "manifold-oauth-window", scrolling: "no", tabindex: "-1", style: { | ||
border: 'none', | ||
display: 'block', | ||
height: '1px', | ||
left: '0', | ||
margin: '0px', | ||
padding: '0px', | ||
pointerEvents: 'none', | ||
position: 'fixed', | ||
userSelect: 'none', | ||
visibility: 'hidden', | ||
width: '75vw', | ||
} })); | ||
} | ||
} | ||
}; | ||
exports.manifold_oauth = ManifoldOauth; |
@@ -7,3 +7,3 @@ { | ||
"name": "@stencil/core", | ||
"version": "1.2.3", | ||
"version": "1.3.0", | ||
"typescriptVersion": "3.5.3" | ||
@@ -10,0 +10,0 @@ }, |
import { h } from "@stencil/core"; | ||
export class ManifoldOauth { | ||
constructor() { | ||
this.oauthUrl = "https://login.manifold.co/signin/oauth/web"; | ||
this.oauthUrl = 'https://login.manifold.co/signin/oauth/web'; | ||
this.tokenListener = (ev) => { | ||
@@ -10,3 +10,4 @@ const pumaToken = ev.data; | ||
expiry: pumaToken.expiry, | ||
error: pumaToken.error | ||
error: pumaToken.error, | ||
duration: new Date().getTime() - this.loadTime.getTime(), | ||
}); | ||
@@ -16,9 +17,22 @@ }; | ||
componentWillLoad() { | ||
window.addEventListener("message", this.tokenListener); | ||
this.loadTime = new Date(); | ||
window.addEventListener('message', this.tokenListener); | ||
} | ||
componentDidUnload() { | ||
window.removeEventListener("message", this.tokenListener); | ||
window.removeEventListener('message', this.tokenListener); | ||
} | ||
render() { | ||
return h("iframe", { style: { display: "none" }, src: this.oauthUrl }); | ||
return (h("iframe", { src: this.oauthUrl, allowtransparency: "true", "aria-hidden": "true", frameborder: "0", id: "manifold-oauth-window", name: "manifold-oauth-window", scrolling: "no", tabindex: "-1", style: { | ||
border: 'none', | ||
display: 'block', | ||
height: '1px', | ||
left: '0', | ||
margin: '0px', | ||
padding: '0px', | ||
pointerEvents: 'none', | ||
position: 'fixed', | ||
userSelect: 'none', | ||
visibility: 'hidden', | ||
width: '75vw', | ||
} })); | ||
} | ||
@@ -43,3 +57,3 @@ static get is() { return "manifold-oauth"; } | ||
"reflect": false, | ||
"defaultValue": "\"https://login.manifold.co/signin/oauth/web\"" | ||
"defaultValue": "'https://login.manifold.co/signin/oauth/web'" | ||
} | ||
@@ -46,0 +60,0 @@ }; } |
@@ -1,7 +0,7 @@ | ||
import { r as registerInstance, c as createEvent, h } from './chunk-0b47c027.js'; | ||
import { r as registerInstance, c as createEvent, h } from './core-205678be.js'; | ||
var ManifoldOauth = /** @class */ (function () { | ||
function ManifoldOauth(hostRef) { | ||
function class_1(hostRef) { | ||
var _this = this; | ||
registerInstance(this, hostRef); | ||
this.oauthUrl = "https://login.manifold.co/signin/oauth/web"; | ||
this.oauthUrl = 'https://login.manifold.co/signin/oauth/web'; | ||
this.tokenListener = function (ev) { | ||
@@ -12,3 +12,4 @@ var pumaToken = ev.data; | ||
expiry: pumaToken.expiry, | ||
error: pumaToken.error | ||
error: pumaToken.error, | ||
duration: new Date().getTime() - _this.loadTime.getTime(), | ||
}); | ||
@@ -18,13 +19,26 @@ }; | ||
} | ||
ManifoldOauth.prototype.componentWillLoad = function () { | ||
window.addEventListener("message", this.tokenListener); | ||
class_1.prototype.componentWillLoad = function () { | ||
this.loadTime = new Date(); | ||
window.addEventListener('message', this.tokenListener); | ||
}; | ||
ManifoldOauth.prototype.componentDidUnload = function () { | ||
window.removeEventListener("message", this.tokenListener); | ||
class_1.prototype.componentDidUnload = function () { | ||
window.removeEventListener('message', this.tokenListener); | ||
}; | ||
ManifoldOauth.prototype.render = function () { | ||
return h("iframe", { style: { display: "none" }, src: this.oauthUrl }); | ||
class_1.prototype.render = function () { | ||
return (h("iframe", { src: this.oauthUrl, allowtransparency: "true", "aria-hidden": "true", frameborder: "0", id: "manifold-oauth-window", name: "manifold-oauth-window", scrolling: "no", tabindex: "-1", style: { | ||
border: 'none', | ||
display: 'block', | ||
height: '1px', | ||
left: '0', | ||
margin: '0px', | ||
padding: '0px', | ||
pointerEvents: 'none', | ||
position: 'fixed', | ||
userSelect: 'none', | ||
visibility: 'hidden', | ||
width: '75vw', | ||
} })); | ||
}; | ||
return ManifoldOauth; | ||
return class_1; | ||
}()); | ||
export { ManifoldOauth as manifold_oauth }; |
@@ -1,7 +0,7 @@ | ||
import { r as registerInstance, c as createEvent, h } from './chunk-0b47c027.js'; | ||
import { r as registerInstance, c as createEvent, h } from './core-205678be.js'; | ||
class ManifoldOauth { | ||
const ManifoldOauth = class { | ||
constructor(hostRef) { | ||
registerInstance(this, hostRef); | ||
this.oauthUrl = "https://login.manifold.co/signin/oauth/web"; | ||
this.oauthUrl = 'https://login.manifold.co/signin/oauth/web'; | ||
this.tokenListener = (ev) => { | ||
@@ -12,3 +12,4 @@ const pumaToken = ev.data; | ||
expiry: pumaToken.expiry, | ||
error: pumaToken.error | ||
error: pumaToken.error, | ||
duration: new Date().getTime() - this.loadTime.getTime(), | ||
}); | ||
@@ -19,12 +20,25 @@ }; | ||
componentWillLoad() { | ||
window.addEventListener("message", this.tokenListener); | ||
this.loadTime = new Date(); | ||
window.addEventListener('message', this.tokenListener); | ||
} | ||
componentDidUnload() { | ||
window.removeEventListener("message", this.tokenListener); | ||
window.removeEventListener('message', this.tokenListener); | ||
} | ||
render() { | ||
return h("iframe", { style: { display: "none" }, src: this.oauthUrl }); | ||
return (h("iframe", { src: this.oauthUrl, allowtransparency: "true", "aria-hidden": "true", frameborder: "0", id: "manifold-oauth-window", name: "manifold-oauth-window", scrolling: "no", tabindex: "-1", style: { | ||
border: 'none', | ||
display: 'block', | ||
height: '1px', | ||
left: '0', | ||
margin: '0px', | ||
padding: '0px', | ||
pointerEvents: 'none', | ||
position: 'fixed', | ||
userSelect: 'none', | ||
visibility: 'hidden', | ||
width: '75vw', | ||
} })); | ||
} | ||
} | ||
}; | ||
export { ManifoldOauth as manifold_oauth }; |
@@ -379,3 +379,9 @@ /* | ||
// computes the css scopes that might affect this particular element | ||
var scopes = globalScopes.concat(getScopesForElement(hostScopeMap, hostEl)); | ||
// avoiding using spread arrays to avoid ts helper fns when in es5 | ||
var scopes = []; | ||
var scopesForElement = getScopesForElement(hostScopeMap, hostEl); | ||
// globalScopes are always took into account | ||
globalScopes.forEach(function (s) { return scopes.push(s); }); | ||
// the parent scopes are computed by walking parent dom until <html> is reached | ||
scopesForElement.forEach(function (s) { return scopes.push(s); }); | ||
// each scope might have an array of associated selectors | ||
@@ -382,0 +388,0 @@ // let's flatten the complete array of selectors from all the scopes |
@@ -93,2 +93,3 @@ (function(){ | ||
(function(a){"function"!==typeof a.matches&&(a.matches=a.msMatchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||function(a){a=(this.document||this.ownerDocument).querySelectorAll(a);for(var b=0;a[b]&&a[b]!==this;)++b;return!!a[b]});"function"!==typeof a.closest&&(a.closest=function(a){for(var b=this;b&&1===b.nodeType;){if(b.matches(a))return b;b=b.parentNode}return null})})(window.Element.prototype); | ||
/*! | ||
@@ -98,2 +99,3 @@ Element.getRootNode() | ||
(function(c){function d(a){a=b(a);return 11===a.nodeType?d(a.host):a}function b(a){return a.parentNode?b(a.parentNode):a}"function"!==typeof c.getRootNode&&(c.getRootNode=function(a){return a&&a.composed?d(this):b(this)})})(Element.prototype); | ||
/*! | ||
@@ -108,2 +110,1 @@ Element.remove() | ||
!function(e){'classList'in e||Object.defineProperty(e,"classList",{get:function(){var e=this,t=(e.getAttribute("class")||"").replace(/^\s+|\s$/g,"").split(/\s+/g);function n(){t.length>0?e.setAttribute("class",t.join(" ")):e.removeAttribute("class")}return""===t[0]&&t.splice(0,1),t.toggle=function(e,i){void 0!==i?i?t.add(e):t.remove(e):-1!==t.indexOf(e)?t.splice(t.indexOf(e),1):t.push(e),n()},t.add=function(){for(var e=[].slice.call(arguments),i=0,s=e.length;i<s;i++)-1===t.indexOf(e[i])&&t.push(e[i]);n()},t.remove=function(){for(var e=[].slice.call(arguments),i=0,s=e.length;i<s;i++)-1!==t.indexOf(e[i])&&t.splice(t.indexOf(e[i]),1);n()},t.item=function(e){return t[e]},t.contains=function(e){return-1!==t.indexOf(e)},t.replace=function(e,i){-1!==t.indexOf(e)&&t.splice(t.indexOf(e),1,i),n()},t.value=e.getAttribute("class")||"",t}})}(Element.prototype); | ||
@@ -24,2 +24,3 @@ export function applyPolyfills() { | ||
!String.prototype.startsWith || !String.prototype.endsWith || | ||
(win.NodeList && !win.NodeList.prototype.forEach) || | ||
!win.fetch || | ||
@@ -26,0 +27,0 @@ !checkIfURLIsSupported() || |
@@ -1,4 +0,5 @@ | ||
/* | ||
* SystemJS 3.1.3 | ||
*/ | ||
!function(){var e,n="undefined"!=typeof self,t=n?self:global;if("undefined"!=typeof location){var r=(e=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==r&&(e=e.slice(0,r+1))}var i=/\\/g,o="undefined"!=typeof Symbol,u=o&&Symbol.toStringTag,f=o?Symbol():"@";function c(){this[f]={}}var l,s=c.prototype;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 i=n[f][t];if(i)return i;var o=[],c=Object.create(null);u&&Object.defineProperty(c,u,{value:"Module"});var l=Promise.resolve().then(function(){return n.instantiate(t,r)}).then(function(e){if(!e)throw new Error("Module "+t+" did not instantiate");var r=e[1](function(e,n){i.h=!0;var t=!1;if("object"!=typeof e)e in c&&c[e]===n||(c[e]=n,t=!0);else for(var r in e){var u=e[r];r in c&&c[r]===u||(c[r]=u,t=!0)}if(t)for(var f=0;f<o.length;f++)o[f](c);return n},2===e[1].length?{import:function(e){return n.import(e,t)},meta:n.createContext(t)}:void 0);return i.e=r.execute||function(){},[e[0],r.setters||[]]}),s=l.then(function(r){return Promise.all(r[0].map(function(i,o){var u=r[1][o];return Promise.resolve(n.resolve(i,t)).then(function(r){var i=e(n,r,t);return Promise.resolve(i.I).then(function(){return u&&(i.i.push(u),!i.h&&i.I||u(i.n)),i})})})).then(function(e){i.d=e})});return s.catch(function(e){i.e=null,i.er=e}),i=n[f][t]={id:t,i:o,n:c,I:l,L:s,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]){if(r[t.id]=!0,!t.e){if(t.er)throw t.er;return t.E?t.E:void 0}var i;return t.d.forEach(function(t){var o=e(n,t,r);o&&(i=i||[]).push(o)}),i?Promise.all(i).then(o):o()}function o(){try{var e=t.e.call(d);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 a,d=Object.freeze(Object.create(null));t.System=new c,"undefined"!=typeof window&&window.addEventListener("error",function(e){a=e.error});var v=s.register;s.register=function(e,n){a=void 0,v.call(this,e,n)},s.instantiate=function(e,n){var t=this;return new Promise(function(r,i){var o=document.createElement("script");o.charset="utf-8",o.async=!0,o.crossOrigin="anonymous",o.addEventListener("error",function(){i(new Error("Error loading "+e+(n?" from "+n:"")))}),o.addEventListener("load",function(){if(document.head.removeChild(o),a)return i(a),a=void 0;r(t.getRegister())}),o.src=e,document.head.appendChild(o)})},n&&"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(n,t){var r=function(e,n){if(-1!==e.indexOf("\\")&&(e=e.replace(i,"/")),"/"===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,r=n.slice(0,n.indexOf(":")+1);if(t="/"===n[r.length+1]?"file:"!==r?(t=n.slice(r.length+2)).slice(t.indexOf("/")+1):n.slice(8):n.slice(r.length+("/"===n[r.length])),"/"===e[0])return n.slice(0,n.length-t.length-1)+e;for(var o=t.slice(0,t.lastIndexOf("/")+1)+e,u=[],f=-1,c=0;c<o.length;c++)-1!==f?"/"===o[c]&&(u.push(o.slice(f,c+1)),f=-1):"."===o[c]?"."!==o[c+1]||"/"!==o[c+2]&&c+2!==o.length?"/"===o[c+1]||c+1===o.length?c+=1:f=c:(u.pop(),c+=2):f=c;return-1!==f&&u.push(o.slice(f)),n.slice(0,n.length-t.length)+u.join("")}}(n,t||e);if(!r){if(-1!==n.indexOf(":"))return Promise.resolve(n);throw new Error('Cannot resolve "'+n+(t?'" from '+t:'"'))}return Promise.resolve(r)}}(); | ||
/** | ||
* SystemJS 4.0.2 | ||
* MANUAL PATCH: remove script.crossOrigin = "anonymous" | ||
*/ | ||
!function(){const e="undefined"!=typeof self,n=e?self:global;let t;if("undefined"!=typeof document){const e=document.querySelector("base[href]");e&&(t=e.href)}if(!t&&"undefined"!=typeof location){const e=(t=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==e&&(t=t.slice(0,e+1))}const r=/\\/g,o="undefined"!=typeof Symbol,i=o&&Symbol.toStringTag,c=o?Symbol():"@";function u(){this[c]={}}const s=u.prototype;let l;s.import=function(e,n){const t=this;return Promise.resolve(t.resolve(e,n)).then(function(e){const n=function e(n,t,r){let o=n[c][t];if(o)return o;const u=[],s=Object.create(null);i&&Object.defineProperty(s,i,{value:"Module"});let l=Promise.resolve().then(function(){return n.instantiate(t,r)}).then(function(e){if(!e)throw Error("Module "+t+" did not instantiate");const r=e[1](function(e,n){o.h=!0;let t=!1;if("object"!=typeof e)e in s&&s[e]===n||(s[e]=n,t=!0);else for(let n in e){let r=e[n];n in s&&s[n]===r||(s[n]=r,t=!0)}if(t)for(let 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||[]]});const f=l.then(function(r){return Promise.all(r[0].map(function(o,i){const c=r[1][i];return Promise.resolve(n.resolve(o,t)).then(function(r){const 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}let o;return t.d.forEach(function(t){{const i=e(n,t,r);i&&(o=o||[]).push(i)}}),o?Promise.all(o).then(i):i();function i(){try{let 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(){const e=l;return l=void 0,e};const f=Object.freeze(Object.create(null));n.System=new u;const d=s.register;s.register=function(e,n){d.call(this,e,n)},s.instantiate=function(e,n){const 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){let i;function c(n){n.filename===e&&(i=n.error)}window.addEventListener("error",c);const 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){const n=this;return new Promise(function(t,r){try{importScripts(e)}catch(e){r(e)}t(n.getRegister())})}),s.resolve=function(e,n){const 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]){const t=n.slice(0,n.indexOf(":")+1);let 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;const o=r.slice(0,r.lastIndexOf("/")+1)+e,i=[];let c=-1;for(let 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)}}(); |
{ | ||
"name": "shadowcat-loader", | ||
"name": "manifold-loader", | ||
"typings": "./index.d.ts", | ||
@@ -4,0 +4,0 @@ "module": "./index.mjs", |
@@ -1,6 +0,7 @@ | ||
import { EventEmitter } from "../../stencil.core"; | ||
import { AuthToken } from "../../interface"; | ||
import { EventEmitter } from '../../stencil.core'; | ||
import { AuthToken } from '../../interface'; | ||
export declare class ManifoldOauth { | ||
oauthUrl?: string; | ||
receiveManifoldToken: EventEmitter<AuthToken>; | ||
private loadTime?; | ||
tokenListener: (ev: MessageEvent) => void; | ||
@@ -7,0 +8,0 @@ componentWillLoad(): void; |
@@ -1,2 +0,3 @@ | ||
export * from "./components"; | ||
// Note: this is a circular dependency which can cause issues. Is this OK? | ||
export * from './components'; // eslint-disable-line import/no-cycle | ||
@@ -12,2 +13,3 @@ export interface AuthError { | ||
error?: AuthError; | ||
duration?: number; | ||
} | ||
@@ -14,0 +16,0 @@ |
{ | ||
"name": "@manifoldco/shadowcat", | ||
"description": "Invisible web component auth implementation of Manifold's PUMA", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/manifoldco/shadowcat.git" | ||
}, | ||
"homepage": "https://github.com/manifoldco/shadowcat", | ||
"bugs": { "url": "https://github.com/manifoldco/shadowcat/issues" }, | ||
"engines": { "node": ">=10.16.0" }, | ||
"author": "manifoldco", | ||
"license": "BSD", | ||
"main": "dist/index.js", | ||
@@ -19,16 +28,11 @@ "module": "dist/index.mjs", | ||
{ | ||
"path": "./dist/esm/manifold-!(mock)*.js", | ||
"maxSize": "1 kB", | ||
"path": "./dist/esm/manifold*.js", | ||
"maxSize": "2 kB", | ||
"compression": "none" | ||
}, | ||
{ | ||
"path": "./dist/esm/chunk-*.js", | ||
"maxSize": "40 kB", | ||
"compression": "none" | ||
} | ||
], | ||
"devDependencies": { | ||
"@stencil/core": "^1.2.3", | ||
"@types/jest": "24.0.16", | ||
"@types/puppeteer": "1.19.0", | ||
"@stencil/core": "^1.3.0", | ||
"@types/jest": "24.0.17", | ||
"@types/puppeteer": "1.19.1", | ||
"fs-extra": "^8.1.0", | ||
@@ -40,4 +44,3 @@ "jest": "24.8.0", | ||
}, | ||
"license": "MIT", | ||
"version": "0.1.2-test.0" | ||
"version": "0.1.3-rc.0" | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
659752
9949
1
1
108
1
1
11