Socket
Socket
Sign inDemoInstall

fastboot-app-server

Package Overview
Dependencies
Maintainers
5
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastboot-app-server - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "fastboot-app-server",
"version": "1.0.1",
"version": "1.0.2",
"description": "A production-ready app server for running Ember FastBoot apps",

@@ -5,0 +5,0 @@ "main": "src/fastboot-app-server.js",

@@ -39,2 +39,4 @@ ## Ember FastBoot App Server

const MY_GLOBAL = 'MY GLOBAL';
let server = new FastBootAppServer({

@@ -44,3 +46,4 @@ distPath: 'dist',

host: '0.0.0.0', // Optional - Sets the host the server listens on.
port: 4000 // Optional - Sets the port the server listens on (defaults to the PORT env var or 3000).
port: 4000, // Optional - Sets the port the server listens on (defaults to the PORT env var or 3000).
sandboxGlobals: { GLOBAL_VALUE: MY_GLOBAL } // Optional - Make values available to the Ember app running in the FastBoot server, e.g. "MY_GLOBAL" will be available as "GLOBAL_VALUE"
});

@@ -47,0 +50,0 @@

@@ -26,2 +26,3 @@ "use strict";

this.afterMiddleware = options.afterMiddleware;
this.sandboxGlobals = options.sandboxGlobals;

@@ -47,3 +48,4 @@ if (!this.ui) {

beforeMiddleware: this.beforeMiddleware,
afterMiddleware: this.afterMiddleware
afterMiddleware: this.afterMiddleware,
sandboxGlobals: this.sandboxGlobals
});

@@ -50,0 +52,0 @@

@@ -20,2 +20,3 @@ "use strict";

this.afterMiddleware = options.afterMiddleware;
this.sandboxGlobals = options.sandboxGlobals;

@@ -34,2 +35,3 @@ if (!this.httpServer) {

afterMiddleware: this.afterMiddleware,
sandboxGlobals: options.sandboxGlobals,
});

@@ -75,2 +77,3 @@ }

distPath: this.distPath,
sandboxGlobals: this.sandboxGlobals,
});

@@ -77,0 +80,0 @@

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