Socket
Socket
Sign inDemoInstall

systemjs

Package Overview
Dependencies
Maintainers
2
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

systemjs - npm Package Compare versions

Comparing version 6.12.5 to 6.12.6

2

dist/extras/amd.min.js
!function(){function e(e,r){return(r||"")+" (SystemJS Error#"+e+" https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+e+")"}!function(r){function t(){throw Error(e(5,"AMD require not supported."))}var n=["require","exports","module"];r.define=function(r,o,s){var i,u,f="string"==typeof r,l=f?r:null,a=f?o:r,d=f?s:o;if(Array.isArray(a))i=a,u=d;else if("object"==typeof a)i=[],u=function(){return a};else{if("function"!=typeof a)throw Error(e(9,"Invalid call to AMD define()"));i=n,u=a}var c=function(e,r){function n(e){u.push((function(r){i[e]=r.__useDefault?r.default:r}))}for(var o={},s={exports:o},i=[],u=[],f=0,l=0;l<e.length;l++){var a=e[l],d=u.length;"require"===a?(i[l]=t,f++):"module"===a?(i[l]=s,f++):"exports"===a?(i[l]=o,f++):n(l),f&&(e[d]=a)}f&&(e.length-=f);var c=r;return[e,function(e){return e({default:o,__useDefault:!0}),{setters:u,execute:function(){var r=c.apply(o,i);void 0!==r&&(s.exports=r),e(s.exports),e("default",s.exports)}}}]}(i,u);f?(System.registerRegistry?(System.registerRegistry[l]=c,System.register(l,c[0],c[1])):console.warn(e("W6","Include named-register.js for full named define support")),System.register(c[0],c[1])):System.register(c[0],c[1])},r.define.amd={}}("undefined"!=typeof self?self:global)}();
//# sourceMappingURL=amd.min.js
//# sourceMappingURL=amd.min.js.map
new MutationObserver((function(e){for(var t=0;t<e.length;t++){var r=e[t];if("childList"===r.type)for(var a=0;a<r.addedNodes.length;a++){var s=r.addedNodes[a];if("SCRIPT"===s.tagName&&"systemjs-importmap"===s.type&&!s.sp){System.prepareImport(!0);break}}}})).observe(document,{childList:!0,subtree:!0});
//# sourceMappingURL=dynamic-import-maps.min.js
//# sourceMappingURL=dynamic-import-maps.min.js.map
!function(t){function n(n){return!t.hasOwnProperty(n)||!isNaN(n)&&n<t.length||c&&t[n]&&"undefined"!=typeof window&&t[n].parent===window}var r,e,i,o=t.System.constructor.prototype,u=o.import;o.import=function(o,f){return function(){for(var o in r=e=void 0,t)n(o)||(r?e||(e=o):r=o,i=o)}(),u.call(this,o,f)};var f=[[],function(){return{}}],a=o.getRegister;o.getRegister=function(){var o=a.call(this);if(o)return o;var u,c=function(o){var u,f,a=0;for(var c in t)if(!n(c)){if(0===a&&c!==r||1===a&&c!==e)return c;u?(i=c,f=o&&f||c):u=c===i,a++}return f}(this.firstGlobalProp);if(!c)return f;try{u=t[c]}catch(s){return f}return[[],function(t){return{execute:function(){t(u),t({default:u,__useDefault:!0})}}}]};var c="undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Trident")}("undefined"!=typeof self?self:global);
//# sourceMappingURL=global.min.js
//# sourceMappingURL=global.min.js.map
!function(){function e(e,t){if(-1!==e.indexOf("\\")&&(e=e.replace(i,"/")),"/"===e[0]&&"/"===e[1])return t.slice(0,t.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){var n,s=t.slice(0,t.indexOf(":")+1);if(n="/"===t[s.length+1]?"file:"!==s?(n=t.slice(s.length+2)).slice(n.indexOf("/")+1):t.slice(8):t.slice(s.length+("/"===t[s.length])),"/"===e[0])return t.slice(0,t.length-n.length-1)+e;for(var r=n.slice(0,n.lastIndexOf("/")+1)+e,l=[],o=-1,c=0;c<r.length;c++)-1!==o?"/"===r[c]&&(l.push(r.slice(o,c+1)),o=-1):"."===r[c]?"."!==r[c+1]||"/"!==r[c+2]&&c+2!==r.length?"/"===r[c+1]||c+1===r.length?c+=1:o=c:(l.pop(),c+=2):o=c;return-1!==o&&l.push(r.slice(o)),t.slice(0,t.length-n.length)+l.join("")}}var t;if("undefined"!=typeof document){var n=document.querySelector("base[href]");n&&(t=n.href)}if(!t&&"undefined"!=typeof location){var s=(t=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==s&&(t=t.slice(0,s+1))}var i=/\\/g;!function(t){var n=t.System.constructor.prototype,s=/^[^#?]+\.(css|html|json|wasm)([?#].*)?$/;n.shouldFetch=function(e){return s.test(e)};var i=/^application\/json(;|$)/,r=/^text\/css(;|$)/,l=/^application\/wasm(;|$)/,o=n.fetch;n.fetch=function(n,s){return o(n,s).then((function(o){if(s.passThrough)return o;if(!o.ok)return o;var c=o.headers.get("content-type");return i.test(c)?o.json().then((function(e){return new Response(new Blob(['System.register([],function(e){return{execute:function(){e("default",'+JSON.stringify(e)+")}}})"],{type:"application/javascript"}))})):r.test(c)?o.text().then((function(t){return t=t.replace(/url\(\s*(?:(["'])((?:\\.|[^\n\\"'])+)\1|((?:\\.|[^\s,"'()\\])+))\s*\)/g,(function(t,s,i,r){return"url("+s+(e(l=i||r,o=n)||(-1!==l.indexOf(":")?l:e("./"+l,o)))+s+")";var l,o})),new Response(new Blob(["System.register([],function(e){return{execute:function(){var s=new CSSStyleSheet();s.replaceSync("+JSON.stringify(t)+');e("default",s)}}})'],{type:"application/javascript"}))})):l.test(c)?(WebAssembly.compileStreaming?WebAssembly.compileStreaming(o):o.arrayBuffer().then(WebAssembly.compile)).then((function(e){t.System.wasmModules||(t.System.wasmModules=Object.create(null)),t.System.wasmModules[n]=e;var s=[],i=[];return WebAssembly.Module.imports&&WebAssembly.Module.imports(e).forEach((function(e){var t=JSON.stringify(e.module);-1===s.indexOf(t)&&(s.push(t),i.push("function(m){i["+t+"]=m}"))})),new Response(new Blob(["System.register(["+s.join(",")+"],function(e){var i={};return{setters:["+i.join(",")+"],execute:function(){return WebAssembly.instantiate(System.wasmModules["+JSON.stringify(n)+"],i).then(function(m){e(m.exports)})}}})"],{type:"application/javascript"}))})):o}))}}("undefined"!=typeof self?self:global)}();
//# sourceMappingURL=module-types.min.js
//# sourceMappingURL=module-types.min.js.map
!function(t){var e,r=t.System.constructor.prototype,n=r.register;r.register=function(t,r,f){e="string"==typeof t?f:r,n.apply(this,arguments)};var f=r.getRegister;r.getRegister=function(){var t=f.call(this);if(!t||t[1]===e||0===t[1].length)return t;var r=t[1];return t[1]=function(t,e){var n,f=!1,u=r.call(this,(function(e,r){"object"==typeof e&&e&&e.__useDefault?(n=e.default,f=!0):"default"===e?n=r:"__useDefault"===e&&(f=!0),t(e,r)}),e),i=u.execute;return i&&(u.execute=function(){if(i.call(this),f)for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&"default"!==e&&t(e,n[e])}),u},t}}("undefined"!=typeof self?self:global);
//# sourceMappingURL=named-exports.min.js
//# sourceMappingURL=named-exports.min.js.map
!function(t){function e(t){t.registerRegistry=Object.create(null),t.namedRegisterAliases=Object.create(null)}var r=t.System;e(r);var i,s,n=r.constructor.prototype,l=r.constructor,a=function(){l.call(this),e(this)};a.prototype=n,r.constructor=a;var o=n.register;n.register=function(t,e,r){if("string"!=typeof t)return o.apply(this,arguments);var n=[e,r];return this.registerRegistry[t]=n,i||(i=n,s=t),Promise.resolve().then((function(){i=null,s=null})),o.call(this,e,r)};var c=n.resolve;n.resolve=function(t,e){try{return c.call(this,t,e)}catch(r){if(t in this.registerRegistry)return this.namedRegisterAliases[t]||t;throw r}};var u=n.instantiate;n.instantiate=function(t,e){var r=this.registerRegistry[t];return r?(this.registerRegistry[t]=null,r):u.call(this,t,e)};var g=n.getRegister;n.getRegister=function(t){var e=g.call(this,t);s&&t&&(this.namedRegisterAliases[s]=t);var r=i||e;return i=null,s=null,r}}("undefined"!=typeof self?self:global);
//# sourceMappingURL=named-register.min.js
//# sourceMappingURL=named-register.min.js.map
!function(t){var r=t.System.constructor.prototype,e=r.instantiate;r.instantiate=function(t,r){if(".wasm"===t.slice(-5))return e.call(this,t,r);var n=this;return fetch(t,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw Error(("Fetch error: "+t.status+" "+t.statusText+(r?" loading from "+r:"")||"")+" (SystemJS Error#"+7+" https://github.com/systemjs/systemjs/blob/main/docs/errors.md#7)");return t.text()})).then((function(r){return n.transform.call(this,t,r)})).then((function(r){return(0,eval)(r+"\n//# sourceURL="+t),n.getRegister(t)}))},r.transform=function(t,r){return r}}("undefined"!=typeof self?self:global);
//# sourceMappingURL=transform.min.js
//# sourceMappingURL=transform.min.js.map
!function(t){var e=t.System.constructor.prototype,n=e.import;e.import=function(){return n.apply(this,arguments).then((function(t){return t.__useDefault?t.default:t}))}}("undefined"!=typeof self?self:global);
//# sourceMappingURL=use-default.min.js
//# sourceMappingURL=use-default.min.js.map
/*!
* SJS 6.12.5
* SJS 6.12.6
*/

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

/*!
* SJS 6.12.5
* SJS 6.12.6
*/
!function(){function e(e,t){return(t||"")+" (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+e+")"}function t(e,t){if(-1!==e.indexOf("\\")&&(e=e.replace(O,"/")),"/"===e[0]&&"/"===e[1])return t.slice(0,t.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){var r,n=t.slice(0,t.indexOf(":")+1);if(r="/"===t[n.length+1]?"file:"!==n?(r=t.slice(n.length+2)).slice(r.indexOf("/")+1):t.slice(8):t.slice(n.length+("/"===t[n.length])),"/"===e[0])return t.slice(0,t.length-r.length-1)+e;for(var i=r.slice(0,r.lastIndexOf("/")+1)+e,o=[],s=-1,c=0;c<i.length;c++)-1!==s?"/"===i[c]&&(o.push(i.slice(s,c+1)),s=-1):"."===i[c]?"."!==i[c+1]||"/"!==i[c+2]&&c+2!==i.length?"/"===i[c+1]||c+1===i.length?c+=1:s=c:(o.pop(),c+=2):s=c;return-1!==s&&o.push(i.slice(s)),t.slice(0,t.length-r.length)+o.join("")}}function r(e,r){return t(e,r)||(-1!==e.indexOf(":")?e:t("./"+e,r))}function n(e,r,n,i,o){for(var u in e){var f=t(u,n)||u,a=e[u];if("string"==typeof a){var l=c(i,t(a,n)||a,o);l?r[f]=l:s("W1",u,a)}}}function i(e,t){if(t[e])return e;var r=e.length;do{var n=e.slice(0,r+1);if(n in t)return n}while(-1!==(r=e.lastIndexOf("/",r-1)))}function o(e,t){var r=i(e,t);if(r){var n=t[r];if(null===n)return;if(!(e.length>r.length&&"/"!==n[n.length-1]))return n+e.slice(r.length);s("W2",r,n)}}function s(t,r,n){console.warn(e(t,[n,r].join(", ")))}function c(e,t,r){for(var n=e.scopes,s=r&&i(r,n);s;){var c=o(t,n[s]);if(c)return c;s=i(s.slice(0,s.lastIndexOf("/")),n)}return o(t,e.imports)||-1!==t.indexOf(":")&&t}function u(){this[j]={}}function f(t,r,n){var i=t[j][r];if(i)return i;var o=[],s=Object.create(null);S&&Object.defineProperty(s,S,{value:"Module"});var c=Promise.resolve().then((function(){return t.instantiate(r,n)})).then((function(n){if(!n)throw Error(e(2,r));var c=n[1]((function(e,t){i.h=!0;var r=!1;if("string"==typeof e)e in s&&s[e]===t||(s[e]=t,r=!0);else{for(var n in e)t=e[n],n in s&&s[n]===t||(s[n]=t,r=!0);e&&e.__esModule&&(s.__esModule=e.__esModule)}if(r)for(var c=0;c<o.length;c++){var u=o[c];u&&u(s)}return t}),2===n[1].length?{import:function(e){return t.import(e,r)},meta:t.createContext(r)}:void 0);return i.e=c.execute||function(){},[n[0],c.setters||[]]}),(function(e){throw i.e=null,i.er=e,e})),u=c.then((function(e){return Promise.all(e[0].map((function(n,i){var o=e[1][i];return Promise.resolve(t.resolve(n,r)).then((function(e){var n=f(t,e,r);return Promise.resolve(n.I).then((function(){return o&&(n.i.push(o),!n.h&&n.I||o(n.n)),n}))}))}))).then((function(e){i.d=e}))}));return i=t[j][r]={id:r,i:o,n:s,I:c,L:u,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0,p:void 0}}function a(e,t,r,n){if(!n[t.id])return n[t.id]=!0,Promise.resolve(t.L).then((function(){return t.p&&null!==t.p.e||(t.p=r),Promise.all(t.d.map((function(t){return a(e,t,r,n)})))})).catch((function(e){if(t.er)throw e;throw t.e=null,e}))}function l(e,t){return t.C=a(e,t,t,{}).then((function(){return h(e,t,{})})).then((function(){return t.n}))}function h(e,t,r){function n(){try{var e=o.call(P);if(e)return e=e.then((function(){t.C=t.n,t.E=null}),(function(e){throw t.er=e,t.E=null,e})),t.E=e;t.C=t.n,t.L=t.I=void 0}catch(r){throw t.er=r,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,o=t.e;return t.e=null,t.d.forEach((function(n){try{var o=h(e,n,r);o&&(i=i||[]).push(o)}catch(s){throw t.er=s,s}})),i?Promise.all(i).then(n):n()}}function d(){[].forEach.call(document.querySelectorAll("script"),(function(t){if(!t.sp)if("systemjs-module"===t.type){if(t.sp=!0,!t.src)return;System.import("import:"===t.src.slice(0,7)?t.src.slice(7):r(t.src,v)).catch((function(e){if(e.message.indexOf("https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3")>-1){var r=document.createEvent("Event");r.initEvent("error",!1,!1),t.dispatchEvent(r)}return Promise.reject(e)}))}else if("systemjs-importmap"===t.type){t.sp=!0;var i=t.src?(System.fetch||fetch)(t.src,{integrity:t.integrity,passThrough:!0}).then((function(e){if(!e.ok)throw Error(e.status);return e.text()})).catch((function(r){return r.message=e("W4",t.src)+"\n"+r.message,console.warn(r),"function"==typeof t.onerror&&t.onerror(),"{}"})):t.innerHTML;I=I.then((function(){return i})).then((function(i){!function(t,i,o){var s={};try{s=JSON.parse(i)}catch(c){console.warn(Error(e("W5")))}!function(e,t,i){var o;for(o in e.imports&&n(e.imports,i.imports,t,i,null),e.scopes||{}){var s=r(o,t);n(e.scopes[o],i.scopes[s]||(i.scopes[s]={}),t,i,s)}for(o in e.depcache||{})i.depcache[r(o,t)]=e.depcache[o];for(o in e.integrity||{})i.integrity[r(o,t)]=e.integrity[o]}(s,o,t)}(M,i,t.src||v)}))}}))}var v,p="undefined"!=typeof Symbol,m="undefined"!=typeof self,g="undefined"!=typeof document,y=m?self:global;if(g){var E=document.querySelector("base[href]");E&&(v=E.href)}if(!v&&"undefined"!=typeof location){var w=(v=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==w&&(v=v.slice(0,w+1))}var x,O=/\\/g,S=p&&Symbol.toStringTag,j=p?Symbol():"@",b=u.prototype;b.import=function(e,t){var r=this;return Promise.resolve(r.prepareImport()).then((function(){return r.resolve(e,t)})).then((function(e){var t=f(r,e);return t.C||l(r,t)}))},b.createContext=function(e){var t=this;return{url:e,resolve:function(r,n){return Promise.resolve(t.resolve(r,n||e))}}},b.register=function(e,t){x=[e,t]},b.getRegister=function(){var e=x;return x=void 0,e};var P=Object.freeze(Object.create(null));y.System=new u;var L,C,I=Promise.resolve(),M={imports:{},scopes:{},depcache:{},integrity:{}},R=g;if(b.prepareImport=function(e){return(R||e)&&(d(),R=!1),I},g&&(d(),window.addEventListener("DOMContentLoaded",d)),g){window.addEventListener("error",(function(e){_=e.filename,W=e.error}));var T=location.origin}b.createScript=function(e){var t=document.createElement("script");t.async=!0,e.indexOf(T+"/")&&(t.crossOrigin="anonymous");var r=M.integrity[e];return r&&(t.integrity=r),t.src=e,t};var _,W,q={},k=b.register;b.register=function(e,t){if(g&&"loading"===document.readyState&&"string"!=typeof e){var r=document.querySelectorAll("script[src]"),n=r[r.length-1];if(n){L=e;var i=this;C=setTimeout((function(){q[n.src]=[e,t],i.import(n.src)}))}}else L=void 0;return k.call(this,e,t)},b.instantiate=function(t,r){var n=q[t];if(n)return delete q[t],n;var i=this;return Promise.resolve(b.createScript(t)).then((function(n){return new Promise((function(o,s){n.addEventListener("error",(function(){s(Error(e(3,[t,r].join(", "))))})),n.addEventListener("load",(function(){if(document.head.removeChild(n),_===t)s(W);else{var e=i.getRegister(t);e&&e[0]===L&&clearTimeout(C),o(e)}})),document.head.appendChild(n)}))}))},b.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(b.fetch=fetch);var A=b.instantiate,F=/^(text|application)\/(x-)?javascript(;|$)/;b.instantiate=function(t,r){var n=this;return this.shouldFetch(t)?this.fetch(t,{credentials:"same-origin",integrity:M.integrity[t]}).then((function(i){if(!i.ok)throw Error(e(7,[i.status,i.statusText,t,r].join(", ")));var o=i.headers.get("content-type");if(!o||!F.test(o))throw Error(e(4,o));return i.text().then((function(e){return e.indexOf("//# sourceURL=")<0&&(e+="\n//# sourceURL="+t),(0,eval)(e),n.getRegister(t)}))})):A.apply(this,arguments)},b.resolve=function(r,n){return c(M,t(r,n=n||v)||r,n)||function(t,r){throw Error(e(8,[t,r].join(", ")))}(r,n)};var J=b.instantiate;b.instantiate=function(e,t){var r=M.depcache[e];if(r)for(var n=0;n<r.length;n++)f(this,this.resolve(r[n],e),e);return J.call(this,e,t)},m&&"function"==typeof importScripts&&(b.instantiate=function(e){var t=this;return Promise.resolve().then((function(){return importScripts(e),t.getRegister(e)}))})}();
//# sourceMappingURL=s.min.js
//# sourceMappingURL=s.min.js.map
/*!
* SystemJS 6.12.5
* SystemJS 6.12.6
*/

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

/*!
* SystemJS 6.12.5
* SystemJS 6.12.6
*/
!function(){function e(e,t){return(t||"")+" (SystemJS Error#"+e+" https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+e+")"}function t(e,t){if(-1!==e.indexOf("\\")&&(e=e.replace(x,"/")),"/"===e[0]&&"/"===e[1])return t.slice(0,t.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){var n,r=t.slice(0,t.indexOf(":")+1);if(n="/"===t[r.length+1]?"file:"!==r?(n=t.slice(r.length+2)).slice(n.indexOf("/")+1):t.slice(8):t.slice(r.length+("/"===t[r.length])),"/"===e[0])return t.slice(0,t.length-n.length-1)+e;for(var i=n.slice(0,n.lastIndexOf("/")+1)+e,o=[],s=-1,u=0;u<i.length;u++)-1!==s?"/"===i[u]&&(o.push(i.slice(s,u+1)),s=-1):"."===i[u]?"."!==i[u+1]||"/"!==i[u+2]&&u+2!==i.length?"/"===i[u+1]||u+1===i.length?u+=1:s=u:(o.pop(),u+=2):s=u;return-1!==s&&o.push(i.slice(s)),t.slice(0,t.length-n.length)+o.join("")}}function n(e,n){return t(e,n)||(-1!==e.indexOf(":")?e:t("./"+e,n))}function r(e,n,r,i,o){for(var c in e){var a=t(c,r)||c,f=e[c];if("string"==typeof f){var l=u(i,t(f,r)||f,o);l?n[a]=l:s("W1",c,f,"bare specifier did not resolve")}}}function i(e,t){if(t[e])return e;var n=e.length;do{var r=e.slice(0,n+1);if(r in t)return r}while(-1!==(n=e.lastIndexOf("/",n-1)))}function o(e,t){var n=i(e,t);if(n){var r=t[n];if(null===r)return;if(!(e.length>n.length&&"/"!==r[r.length-1]))return r+e.slice(n.length);s("W2",n,r,"should have a trailing '/'")}}function s(t,n,r,i){console.warn(e(t,"Package target "+i+", resolving target '"+r+"' for "+n))}function u(e,t,n){for(var r=e.scopes,s=n&&i(n,r);s;){var u=o(t,r[s]);if(u)return u;s=i(s.slice(0,s.lastIndexOf("/")),r)}return o(t,e.imports)||-1!==t.indexOf(":")&&t}function c(){this[P]={}}function a(e){return e.id}function f(e,t,n,r){if(e.onload(n,t.id,t.d&&t.d.map(a),!!r),n)throw n}function l(t,n,r){var i=t[P][n];if(i)return i;var o=[],s=Object.create(null);j&&Object.defineProperty(s,j,{value:"Module"});var u=Promise.resolve().then((function(){return t.instantiate(n,r)})).then((function(r){if(!r)throw Error(e(2,"Module "+n+" did not instantiate"));var u=r[1]((function(e,t){i.h=!0;var n=!1;if("string"==typeof e)e in s&&s[e]===t||(s[e]=t,n=!0);else{for(var r in e)t=e[r],r in s&&s[r]===t||(s[r]=t,n=!0);e&&e.__esModule&&(s.__esModule=e.__esModule)}if(n)for(var u=0;u<o.length;u++){var c=o[u];c&&c(s)}return t}),2===r[1].length?{import:function(e){return t.import(e,n)},meta:t.createContext(n)}:void 0);return i.e=u.execute||function(){},[r[0],u.setters||[]]}),(function(e){throw i.e=null,i.er=e,f(t,i,e,!0),e})),c=u.then((function(e){return Promise.all(e[0].map((function(r,i){var o=e[1][i];return Promise.resolve(t.resolve(r,n)).then((function(e){var r=l(t,e,n);return Promise.resolve(r.I).then((function(){return o&&(r.i.push(o),!r.h&&r.I||o(r.n)),r}))}))}))).then((function(e){i.d=e}))}));return i=t[P][n]={id:n,i:o,n:s,I:u,L:c,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0,p:void 0}}function d(e,t,n,r){if(!r[t.id])return r[t.id]=!0,Promise.resolve(t.L).then((function(){return t.p&&null!==t.p.e||(t.p=n),Promise.all(t.d.map((function(t){return d(e,t,n,r)})))})).catch((function(n){if(t.er)throw n;throw t.e=null,f(e,t,n,!1),n}))}function h(e,t){return t.C=d(e,t,t,{}).then((function(){return p(e,t,{})})).then((function(){return t.n}))}function p(e,t,n){function r(){try{var n=o.call(L);if(n)return n=n.then((function(){t.C=t.n,t.E=null,f(e,t,null,!0)}),(function(n){throw t.er=n,t.E=null,f(e,t,n,!0),n})),t.E=n;t.C=t.n,t.L=t.I=void 0}catch(r){throw t.er=r,r}finally{f(e,t,t.er,!0)}}if(!n[t.id]){if(n[t.id]=!0,!t.e){if(t.er)throw t.er;return t.E?t.E:void 0}var i,o=t.e;return t.e=null,t.d.forEach((function(r){try{var o=p(e,r,n);o&&(i=i||[]).push(o)}catch(s){throw t.er=s,f(e,t,s,!1),s}})),i?Promise.all(i).then(r):r()}}function v(){[].forEach.call(document.querySelectorAll("script"),(function(t){if(!t.sp)if("systemjs-module"===t.type){if(t.sp=!0,!t.src)return;System.import("import:"===t.src.slice(0,7)?t.src.slice(7):n(t.src,m)).catch((function(e){if(e.message.indexOf("https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3")>-1){var n=document.createEvent("Event");n.initEvent("error",!1,!1),t.dispatchEvent(n)}return Promise.reject(e)}))}else if("systemjs-importmap"===t.type){t.sp=!0;var i=t.src?(System.fetch||fetch)(t.src,{integrity:t.integrity,passThrough:!0}).then((function(e){if(!e.ok)throw Error("Invalid status code: "+e.status);return e.text()})).catch((function(n){return n.message=e("W4","Error fetching systemjs-import map "+t.src)+"\n"+n.message,console.warn(n),"function"==typeof t.onerror&&t.onerror(),"{}"})):t.innerHTML;I=I.then((function(){return i})).then((function(i){!function(t,i,o){var s={};try{s=JSON.parse(i)}catch(u){console.warn(Error(e("W5","systemjs-importmap contains invalid JSON")+"\n\n"+i+"\n"))}!function(e,t,i){var o;for(o in e.imports&&r(e.imports,i.imports,t,i,null),e.scopes||{}){var s=n(o,t);r(e.scopes[o],i.scopes[s]||(i.scopes[s]={}),t,i,s)}for(o in e.depcache||{})i.depcache[n(o,t)]=e.depcache[o];for(o in e.integrity||{})i.integrity[n(o,t)]=e.integrity[o]}(s,o,t)}(W,i,t.src||m)}))}}))}var m,g="undefined"!=typeof Symbol,y="undefined"!=typeof self,b="undefined"!=typeof document,w=y?self:global;if(b){var S=document.querySelector("base[href]");S&&(m=S.href)}if(!m&&"undefined"!=typeof location){var E=(m=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==E&&(m=m.slice(0,E+1))}var O,x=/\\/g,j=g&&Symbol.toStringTag,P=g?Symbol():"@",M=c.prototype;M.import=function(e,t){var n=this;return Promise.resolve(n.prepareImport()).then((function(){return n.resolve(e,t)})).then((function(e){var t=l(n,e);return t.C||h(n,t)}))},M.createContext=function(e){var t=this;return{url:e,resolve:function(n,r){return Promise.resolve(t.resolve(n,r||e))}}},M.onload=function(){},M.register=function(e,t){O=[e,t]},M.getRegister=function(){var e=O;return O=void 0,e};var L=Object.freeze(Object.create(null));w.System=new c;var C,R,I=Promise.resolve(),W={imports:{},scopes:{},depcache:{},integrity:{}},T=b;if(M.prepareImport=function(e){return(T||e)&&(v(),T=!1),I},b&&(v(),window.addEventListener("DOMContentLoaded",v)),b){window.addEventListener("error",(function(e){N=e.filename,_=e.error}));var A=location.origin}M.createScript=function(e){var t=document.createElement("script");t.async=!0,e.indexOf(A+"/")&&(t.crossOrigin="anonymous");var n=W.integrity[e];return n&&(t.integrity=n),t.src=e,t};var N,_,J={},k=M.register;M.register=function(e,t){if(b&&"loading"===document.readyState&&"string"!=typeof e){var n=document.querySelectorAll("script[src]"),r=n[n.length-1];if(r){C=e;var i=this;R=setTimeout((function(){J[r.src]=[e,t],i.import(r.src)}))}}else C=void 0;return k.call(this,e,t)},M.instantiate=function(t,n){var r=J[t];if(r)return delete J[t],r;var i=this;return Promise.resolve(M.createScript(t)).then((function(r){return new Promise((function(o,s){r.addEventListener("error",(function(){s(Error(e(3,"Error loading "+t+(n?" from "+n:""))))})),r.addEventListener("load",(function(){if(document.head.removeChild(r),N===t)s(_);else{var e=i.getRegister(t);e&&e[0]===C&&clearTimeout(R),o(e)}})),document.head.appendChild(r)}))}))},M.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(M.fetch=fetch);var U=M.instantiate,$=/^(text|application)\/(x-)?javascript(;|$)/;M.instantiate=function(t,n){var r=this;return this.shouldFetch(t)?this.fetch(t,{credentials:"same-origin",integrity:W.integrity[t]}).then((function(i){if(!i.ok)throw Error(e(7,i.status+" "+i.statusText+", loading "+t+(n?" from "+n:"")));var o=i.headers.get("content-type");if(!o||!$.test(o))throw Error(e(4,'Unknown Content-Type "'+o+'", loading '+t+(n?" from "+n:"")));return i.text().then((function(e){return e.indexOf("//# sourceURL=")<0&&(e+="\n//# sourceURL="+t),(0,eval)(e),r.getRegister(t)}))})):U.apply(this,arguments)},M.resolve=function(n,r){return u(W,t(n,r=r||m)||n,r)||function(t,n){throw Error(e(8,"Unable to resolve bare specifier '"+t+(n?"' from "+n:"'")))}(n,r)};var B=M.instantiate;M.instantiate=function(e,t){var n=W.depcache[e];if(n)for(var r=0;r<n.length;r++)l(this,this.resolve(n[r],e),e);return B.call(this,e,t)},y&&"function"==typeof importScripts&&(M.instantiate=function(e){var t=this;return Promise.resolve().then((function(){return importScripts(e),t.getRegister(e)}))}),function(e){function t(t){return!e.hasOwnProperty(t)||!isNaN(t)&&t<e.length||a&&e[t]&&"undefined"!=typeof window&&e[t].parent===window}var n,r,i,o=e.System.constructor.prototype,s=o.import;o.import=function(o,u){return function(){for(var o in n=r=void 0,e)t(o)||(n?r||(r=o):n=o,i=o)}(),s.call(this,o,u)};var u=[[],function(){return{}}],c=o.getRegister;o.getRegister=function(){var o=c.call(this);if(o)return o;var s,a=function(o){var s,u,c=0;for(var a in e)if(!t(a)){if(0===c&&a!==n||1===c&&a!==r)return a;s?(i=a,u=o&&u||a):s=a===i,c++}return u}(this.firstGlobalProp);if(!a)return u;try{s=e[a]}catch(f){return u}return[[],function(e){return{execute:function(){e(s),e({default:s,__useDefault:!0})}}}]};var a="undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Trident")}("undefined"!=typeof self?self:global),function(e){var t=e.System.constructor.prototype,r=/^[^#?]+\.(css|html|json|wasm)([?#].*)?$/;t.shouldFetch=function(e){return r.test(e)};var i=/^application\/json(;|$)/,o=/^text\/css(;|$)/,s=/^application\/wasm(;|$)/,u=t.fetch;t.fetch=function(t,r){return u(t,r).then((function(u){if(r.passThrough)return u;if(!u.ok)return u;var c=u.headers.get("content-type");return i.test(c)?u.json().then((function(e){return new Response(new Blob(['System.register([],function(e){return{execute:function(){e("default",'+JSON.stringify(e)+")}}})"],{type:"application/javascript"}))})):o.test(c)?u.text().then((function(e){return e=e.replace(/url\(\s*(?:(["'])((?:\\.|[^\n\\"'])+)\1|((?:\\.|[^\s,"'()\\])+))\s*\)/g,(function(e,r,i,o){return"url("+r+n(i||o,t)+r+")"})),new Response(new Blob(["System.register([],function(e){return{execute:function(){var s=new CSSStyleSheet();s.replaceSync("+JSON.stringify(e)+');e("default",s)}}})'],{type:"application/javascript"}))})):s.test(c)?(WebAssembly.compileStreaming?WebAssembly.compileStreaming(u):u.arrayBuffer().then(WebAssembly.compile)).then((function(n){e.System.wasmModules||(e.System.wasmModules=Object.create(null)),e.System.wasmModules[t]=n;var r=[],i=[];return WebAssembly.Module.imports&&WebAssembly.Module.imports(n).forEach((function(e){var t=JSON.stringify(e.module);-1===r.indexOf(t)&&(r.push(t),i.push("function(m){i["+t+"]=m}"))})),new Response(new Blob(["System.register(["+r.join(",")+"],function(e){var i={};return{setters:["+i.join(",")+"],execute:function(){return WebAssembly.instantiate(System.wasmModules["+JSON.stringify(t)+"],i).then(function(m){e(m.exports)})}}})"],{type:"application/javascript"}))})):u}))}}("undefined"!=typeof self?self:global);var q="undefined"!=typeof Symbol&&Symbol.toStringTag;M.get=function(e){var t=this[P][e];if(t&&null===t.e&&!t.E)return t.er?null:t.n},M.set=function(t,n){try{new URL(t)}catch(s){console.warn(Error(e("W3",'"'+t+'" is not a valid URL to set in the module registry')))}var r;q&&"Module"===n[q]?r=n:(r=Object.assign(Object.create(null),n),q&&Object.defineProperty(r,q,{value:"Module"}));var i=Promise.resolve(r),o=this[P][t]||(this[P][t]={id:t,i:[],h:!1,d:[],e:null,er:void 0,E:void 0});return!o.e&&!o.E&&(Object.assign(o,{n:r,I:void 0,L:void 0,C:i}),r)},M.has=function(e){return!!this[P][e]},M.delete=function(e){var t=this[P],n=t[e];if(!n||n.p&&null!==n.p.e||n.E)return!1;var r=n.i;return n.d&&n.d.forEach((function(e){var t=e.i.indexOf(n);-1!==t&&e.i.splice(t,1)})),delete t[e],function(){var n=t[e];if(!n||!r||null!==n.e||n.E)return!1;r.forEach((function(e){n.i.push(e),e(n.n)})),r=null}};var F="undefined"!=typeof Symbol&&Symbol.iterator;M.entries=function(){var e,t,n=this,r=Object.keys(n[P]),i=0,o={next:function(){for(;void 0!==(t=r[i++])&&void 0===(e=n.get(t)););return{done:void 0===t,value:void 0!==t&&[t,e]}}};return o[F]=function(){return this},o}}();
//# sourceMappingURL=system.min.js
//# sourceMappingURL=system.min.js.map
{
"name": "systemjs",
"version": "6.12.5",
"version": "6.12.6",
"main": "dist/system-node.cjs",

@@ -5,0 +5,0 @@ "exports": {

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