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

@nguniversal/socket-engine

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nguniversal/socket-engine - npm Package Compare versions

Comparing version 9.0.0-next.5 to 9.0.0-next.6

16

bundles/socket-engine.umd.js

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

(global = global || self, factory((global.nguniversal = global.nguniversal || {}, global.nguniversal.socketEngine = {}), global.tslib, global.fs, global.ng.compiler, global.ng.core, global.ng.platformServer, global.net));
}(this, function (exports, tslib_1, fs, compiler, core, platformServer, net) { 'use strict';
}(this, function (exports, tslib, fs, compiler, core, platformServer, net) { 'use strict';

@@ -21,7 +21,7 @@ /**

return new Promise(function (resolve, reject) {
fs.readFile(url, function (err, buffer) {
fs.readFile(url, function (err, data) {
if (err) {
return reject(err);
}
resolve(buffer.toString());
resolve(data.toString());
});

@@ -58,5 +58,5 @@ });

CommonEngine.prototype.render = function (opts) {
return tslib_1.__awaiter(this, void 0, void 0, function () {
return tslib.__awaiter(this, void 0, void 0, function () {
var doc, _a, extraProviders, moduleOrFactory, factory;
return tslib_1.__generator(this, function (_b) {
return tslib.__generator(this, function (_b) {
switch (_b.label) {

@@ -72,3 +72,3 @@ case 0:

doc = _a;
extraProviders = tslib_1.__spread((opts.providers || []), (this.providers || []), [
extraProviders = tslib.__spread((opts.providers || []), (this.providers || []), [
{

@@ -155,5 +155,5 @@ provide: platformServer.INITIAL_CONFIG,

var server = net.createServer(function (socket) {
socket.on('data', function (buff) { return tslib_1.__awaiter(_this, void 0, void 0, function () {
socket.on('data', function (buff) { return tslib.__awaiter(_this, void 0, void 0, function () {
var message, renderOptions, html, error_1;
return tslib_1.__generator(this, function (_a) {
return tslib.__generator(this, function (_a) {
switch (_a.label) {

@@ -160,0 +160,0 @@ case 0:

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ /**

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ /**

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import * as tslib_1 from "tslib";
import { __awaiter } from "tslib";
/**

@@ -69,3 +69,3 @@ * @license

*/
(buff) => tslib_1.__awaiter(this, void 0, void 0, function* () {
(buff) => __awaiter(this, void 0, void 0, function* () {
/** @type {?} */

@@ -72,0 +72,0 @@ const message = buff.toString();

@@ -1,2 +0,2 @@

import * as tslib_1 from "tslib";
import { __awaiter, __generator } from "tslib";
/**

@@ -19,5 +19,5 @@ * @license

var server = net.createServer(function (socket) {
socket.on('data', function (buff) { return tslib_1.__awaiter(_this, void 0, void 0, function () {
socket.on('data', function (buff) { return __awaiter(_this, void 0, void 0, function () {
var message, renderOptions, html, error_1;
return tslib_1.__generator(this, function (_a) {
return __generator(this, function (_a) {
switch (_a.label) {

@@ -24,0 +24,0 @@ case 0:

@@ -10,3 +10,3 @@ import { __awaiter } from 'tslib';

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -33,3 +33,3 @@ /**

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -53,10 +53,10 @@ /**

* @param {?} err
* @param {?} buffer
* @param {?} data
* @return {?}
*/
(err, buffer) => {
(err, data) => {
if (err) {
return reject(err);
}
resolve(buffer.toString());
resolve(data.toString());
}));

@@ -69,3 +69,3 @@ }));

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -106,3 +106,3 @@ /**

render(opts) {
return __awaiter(this, void 0, void 0, function* () {
return __awaiter(this, void 0, void 0, /** @this {!CommonEngine} */ function* () {
// if opts.document dosen't exist then opts.documentFilePath must

@@ -199,3 +199,3 @@ /** @type {?} */

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -205,3 +205,3 @@

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -211,3 +211,3 @@

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -217,3 +217,3 @@

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -223,3 +223,3 @@

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -307,3 +307,3 @@ /**

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -313,3 +313,3 @@

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -316,0 +316,0 @@

@@ -21,7 +21,7 @@ import { __awaiter, __generator, __spread } from 'tslib';

return new Promise(function (resolve, reject) {
readFile(url, function (err, buffer) {
readFile(url, function (err, data) {
if (err) {
return reject(err);
}
resolve(buffer.toString());
resolve(data.toString());
});

@@ -28,0 +28,0 @@ });

{
"name": "@nguniversal/socket-engine",
"version": "9.0.0-next.5",
"version": "9.0.0-next.6",
"description": "Socket Engine for running Server Angular Apps",

@@ -15,4 +15,4 @@ "license": "MIT",

"peerDependencies": {
"@nguniversal/common": "9.0.0-next.5",
"@angular/core": "^9.0.0-next.10",
"@nguniversal/common": "9.0.0-next.6",
"@angular/core": "^9.0.0-next.12",
"tslib": "^1.9.0"

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