New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nguniversal/aspnetcore-engine

Package Overview
Dependencies
Maintainers
1
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 8.1.1 to 8.2.5

28

bundles/aspnetcore-engine.umd.js

@@ -86,2 +86,18 @@ (function (global, factory) {

/**
* Renders a Module to string.
*
* `document` is the full document HTML of the page to render, as a string.
* `url` is the URL for the current render request.
* `extraProviders` are the platform level providers for the current render request.
*
* Do not use this in a production server environment. Use pre-compiled {@link NgModuleFactory} with
* {@link renderModuleFactory} instead.
*
* @experimental
*/
function renderModule(module, options) {
var platform = _getPlatform(platformServer.platformDynamicServer, options);
return _render(platform, platform.bootstrapModule(module));
}
/**
* Renders a {@link NgModuleFactory} to string.

@@ -108,2 +124,14 @@ *

/* @internal */
var UniversalData = /** @class */ (function () {
function UniversalData() {
this.appNode = '';
this.title = '';
this.scripts = '';
this.styles = '';
this.meta = '';
this.links = '';
}
return UniversalData;
}());
/* @internal */
var appSelector = 'app-root'; // default

@@ -110,0 +138,0 @@ /* @internal */

71

fesm2015/aspnetcore-engine.js
import { ApplicationRef, CompilerFactory, NgModuleFactory } from '@angular/core';
import { PlatformState, BEFORE_APP_SERIALIZED, platformServer, INITIAL_CONFIG, platformDynamicServer } from '@angular/platform-server';
import { INITIAL_CONFIG, PlatformState, BEFORE_APP_SERIALIZED, platformDynamicServer, platformServer } from '@angular/platform-server';
import { DOCUMENT } from '@angular/common';

@@ -46,2 +46,25 @@ import { ResourceLoader } from '@angular/compiler';

/**
* @record
*/
function PlatformOptions() { }
if (false) {
/** @type {?|undefined} */
PlatformOptions.prototype.document;
/** @type {?|undefined} */
PlatformOptions.prototype.url;
/** @type {?|undefined} */
PlatformOptions.prototype.extraProviders;
}
/**
* @record
* @template T
*/
function ModuleRenderResult() { }
if (false) {
/** @type {?} */
ModuleRenderResult.prototype.html;
/** @type {?} */
ModuleRenderResult.prototype.moduleRef;
}
/**
* @param {?} platformFactory

@@ -113,2 +136,23 @@ * @param {?} options

/**
* Renders a Module to string.
*
* `document` is the full document HTML of the page to render, as a string.
* `url` is the URL for the current render request.
* `extraProviders` are the platform level providers for the current render request.
*
* Do not use this in a production server environment. Use pre-compiled {\@link NgModuleFactory} with
* {\@link renderModuleFactory} instead.
*
* \@experimental
* @template T
* @param {?} module
* @param {?} options
* @return {?}
*/
function renderModule(module, options) {
/** @type {?} */
const platform = _getPlatform(platformDynamicServer, options);
return _render(platform, platform.bootstrapModule(module));
}
/**
* Renders a {\@link NgModuleFactory} to string.

@@ -137,2 +181,27 @@ *

/* @internal */
class UniversalData {
constructor() {
this.appNode = '';
this.title = '';
this.scripts = '';
this.styles = '';
this.meta = '';
this.links = '';
}
}
if (false) {
/** @type {?} */
UniversalData.prototype.appNode;
/** @type {?} */
UniversalData.prototype.title;
/** @type {?} */
UniversalData.prototype.scripts;
/** @type {?} */
UniversalData.prototype.styles;
/** @type {?} */
UniversalData.prototype.meta;
/** @type {?} */
UniversalData.prototype.links;
}
/* @internal */
/** @type {?} */

@@ -139,0 +208,0 @@ let appSelector = 'app-root';

import { ApplicationRef, CompilerFactory, NgModuleFactory } from '@angular/core';
import { PlatformState, BEFORE_APP_SERIALIZED, platformServer, INITIAL_CONFIG, platformDynamicServer } from '@angular/platform-server';
import { INITIAL_CONFIG, PlatformState, BEFORE_APP_SERIALIZED, platformDynamicServer, platformServer } from '@angular/platform-server';
import { DOCUMENT } from '@angular/common';

@@ -90,2 +90,18 @@ import { ResourceLoader } from '@angular/compiler';

/**
* Renders a Module to string.
*
* `document` is the full document HTML of the page to render, as a string.
* `url` is the URL for the current render request.
* `extraProviders` are the platform level providers for the current render request.
*
* Do not use this in a production server environment. Use pre-compiled {@link NgModuleFactory} with
* {@link renderModuleFactory} instead.
*
* @experimental
*/
function renderModule(module, options) {
var platform = _getPlatform(platformDynamicServer, options);
return _render(platform, platform.bootstrapModule(module));
}
/**
* Renders a {@link NgModuleFactory} to string.

@@ -112,2 +128,14 @@ *

/* @internal */
var UniversalData = /** @class */ (function () {
function UniversalData() {
this.appNode = '';
this.title = '';
this.scripts = '';
this.styles = '';
this.meta = '';
this.links = '';
}
return UniversalData;
}());
/* @internal */
var appSelector = 'app-root'; // default

@@ -114,0 +142,0 @@ /* @internal */

6

package.json
{
"name": "@nguniversal/aspnetcore-engine",
"version": "8.1.1",
"version": "v8.2.5",
"description": "ASP.NET Core Engine for running Server Angular Apps",

@@ -20,4 +20,4 @@ "author": {

"peerDependencies": {
"@angular/common": "^8.0.0",
"@angular/core": "^8.0.0",
"@angular/common": "^8.2.0",
"@angular/core": "^8.2.0",
"rxjs": "^6.4.0"

@@ -24,0 +24,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 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