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

@nguniversal/aspnetcore-engine

Package Overview
Dependencies
Maintainers
3
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nguniversal/aspnetcore-engine - npm Package Compare versions

Comparing version 12.0.0-next.0 to 12.0.0-next.1

4

bundles/aspnetcore-engine.umd.js

@@ -325,3 +325,3 @@ (function (global, factory) {

// tslint:disable: no-non-null-assertion
var elements = __spread(Array.from(doc.head.children), Array.from(doc.body.children));
var elements = __spreadArray(__spreadArray([], __read(Array.from(doc.head.children))), __read(Array.from(doc.body.children)));
try {

@@ -383,3 +383,3 @@ // tslint:enable: no-non-null-assertion

document: options.document || options.appSelector,
providers: __spread((options.providers || []), [getReqResProviders(options.request.origin, options.request.data.request)]),
providers: __spreadArray(__spreadArray([], __read((options.providers || []))), [getReqResProviders(options.request.origin, options.request.data.request)]),
bootstrap: options.ngModule,

@@ -386,0 +386,0 @@ inlineCriticalCss: options.inlineCriticalCss,

@@ -15,3 +15,3 @@ !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@nguniversal/aspnetcore-engine/tokens"),require("@nguniversal/common/engine"),require("domino")):"function"==typeof define&&define.amd?define("@nguniversal/aspnetcore-engine",["exports","@nguniversal/aspnetcore-engine/tokens","@nguniversal/common/engine","domino"],n):n(((e="undefined"!=typeof globalThis?globalThis:e||self).nguniversal=e.nguniversal||{},e.nguniversal.aspnetcoreEngine={}),e.nguniversal.aspnetcoreEngine.tokens,e.nguniversal.common.engine,e.domino)}(this,(function(e,n,r,t){"use strict";

PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function o(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var t,o,i=r.call(e),a=[];try{for(;(void 0===n||n-- >0)&&!(t=i.next()).done;)a.push(t.value)}catch(e){o={error:e}}finally{try{t&&!t.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function i(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(o(arguments[n]));return e}function a(e,n){var r,o,a=t.createDocument(e,!0),u=[],l=[],c=[],s=[],f=i(Array.from(a.head.children),Array.from(a.body.children));try{for(var p=function d(e){var n="function"==typeof Symbol&&Symbol.iterator,r=n&&e[n],t=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&t>=e.length&&(e=void 0),{value:e&&e[t++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),y=p.next();!y.done;y=p.next()){var h=y.value;switch(h.tagName.toUpperCase()){case"SCRIPT":l.push(h.outerHTML);break;case"STYLE":u.push(h.outerHTML);break;case"LINK":s.push(h.outerHTML);break;case"META":c.push(h.outerHTML)}}}catch(e){r={error:e}}finally{try{y&&!y.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}return{completeHTML:e,html:a.querySelector(n).outerHTML,globals:{title:a.title,scripts:l.join("\n"),styles:u.join("\n"),meta:c.join("\n"),links:s.join("\n")}}}var u=new r.ɵCommonEngine;
***************************************************************************** */function o(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var t,o,i=r.call(e),a=[];try{for(;(void 0===n||n-- >0)&&!(t=i.next()).done;)a.push(t.value)}catch(e){o={error:e}}finally{try{t&&!t.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function i(e,n){for(var r=0,t=n.length,o=e.length;r<t;r++,o++)e[o]=n[r];return e}function a(e,n){var r,a,u=t.createDocument(e,!0),l=[],c=[],s=[],f=[],p=i(i([],o(Array.from(u.head.children))),o(Array.from(u.body.children)));try{for(var d=function h(e){var n="function"==typeof Symbol&&Symbol.iterator,r=n&&e[n],t=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&t>=e.length&&(e=void 0),{value:e&&e[t++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(p),y=d.next();!y.done;y=d.next()){var v=y.value;switch(v.tagName.toUpperCase()){case"SCRIPT":c.push(v.outerHTML);break;case"STYLE":l.push(v.outerHTML);break;case"LINK":f.push(v.outerHTML);break;case"META":s.push(v.outerHTML)}}}catch(e){r={error:e}}finally{try{y&&!y.done&&(a=d.return)&&a.call(d)}finally{if(r)throw r.error}}return{completeHTML:e,html:u.querySelector(n).outerHTML,globals:{title:u.title,scripts:c.join("\n"),styles:l.join("\n"),meta:s.join("\n"),links:f.join("\n")}}}var u=new r.ɵCommonEngine;
/**

@@ -39,2 +39,2 @@ * @license

*/
function l(e){return"<script>window['TRANSFER_CACHE'] = "+JSON.stringify(e)+";<\/script>"},e.ngAspnetCoreEngine=function c(e){return function r(e,n,t,o){return new(t||(t=Promise))((function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function u(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){e.done?r(e.value):function n(e){return e instanceof t?e:new t((function(n){n(e)}))}(e.value).then(a,u)}l((o=o.apply(e,n||[])).next())}))}(this,void 0,void 0,(function(){var r,t;return function o(e,n){var r,t,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function l(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,t&&(o=2&i[0]?t.return:i[0]?t.throw||((o=t.return)&&o.call(t),0):t.next)&&!(o=o.call(t,i[1])).done)return o;switch(t=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,t=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=n.call(e,a)}catch(e){i=[6,e],t=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}(this,(function(o){switch(o.label){case 0:if(!e.appSelector)throw new Error("appSelector is required! Pass in \" appSelector: '<app-root></app-root>' \",\n for your root App component.");return r={url:e.url||e.request.absoluteUrl,document:e.document||e.appSelector,providers:i(e.providers||[],[(l=e.request.origin,c=e.request.data.request,s=[{provide:n.ORIGIN_URL,useValue:l},{provide:n.REQUEST,useValue:c}],s)]),bootstrap:e.ngModule,inlineCriticalCss:e.inlineCriticalCss,publicPath:e.publicPath},t=e.appSelector.substring(1,e.appSelector.indexOf(">")),[4,u.render(r)];case 1:return[2,a(o.sent(),t)]}var l,c,s}))}))},Object.defineProperty(e,"__esModule",{value:!0})}));
function l(e){return"<script>window['TRANSFER_CACHE'] = "+JSON.stringify(e)+";<\/script>"},e.ngAspnetCoreEngine=function c(e){return function r(e,n,t,o){return new(t||(t=Promise))((function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function u(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){e.done?r(e.value):function n(e){return e instanceof t?e:new t((function(n){n(e)}))}(e.value).then(a,u)}l((o=o.apply(e,n||[])).next())}))}(this,void 0,void 0,(function(){var r,t;return function l(e,n){var r,t,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function l(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,t&&(o=2&i[0]?t.return:i[0]?t.throw||((o=t.return)&&o.call(t),0):t.next)&&!(o=o.call(t,i[1])).done)return o;switch(t=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,t=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=n.call(e,a)}catch(e){i=[6,e],t=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}(this,(function(l){switch(l.label){case 0:if(!e.appSelector)throw new Error("appSelector is required! Pass in \" appSelector: '<app-root></app-root>' \",\n for your root App component.");return r={url:e.url||e.request.absoluteUrl,document:e.document||e.appSelector,providers:i(i([],o(e.providers||[])),[(c=e.request.origin,s=e.request.data.request,f=[{provide:n.ORIGIN_URL,useValue:c},{provide:n.REQUEST,useValue:s}],f)]),bootstrap:e.ngModule,inlineCriticalCss:e.inlineCriticalCss,publicPath:e.publicPath},t=e.appSelector.substring(1,e.appSelector.indexOf(">")),[4,u.render(r)];case 1:return[2,a(l.sent(),t)]}var c,s,f}))}))},Object.defineProperty(e,"__esModule",{value:!0})}));
{
"name": "@nguniversal/aspnetcore-engine",
"version": "12.0.0-next.0",
"version": "12.0.0-next.1",
"description": "ASP.NET Core Engine for running Server Angular Apps",

@@ -24,8 +24,8 @@ "author": {

"domino": "^2.1.6",
"tslib": "^2.0.0"
"tslib": "^2.1.0"
},
"peerDependencies": {
"@angular/common": "^12.0.0-next.3",
"@angular/core": "^12.0.0-next.3",
"@nguniversal/common": "12.0.0-next.0",
"@angular/common": "^12.0.0-next.5",
"@angular/core": "^12.0.0-next.5",
"@nguniversal/common": "12.0.0-next.1",
"rxjs": "^6.5.5"

@@ -32,0 +32,0 @@ },

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