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

fastboot-express-middleware

Package Overview
Dependencies
Maintainers
3
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastboot-express-middleware - npm Package Compare versions

Comparing version 1.0.0-rc.2 to 1.0.0-rc.3

7

dist/cjs/index.js
'use strict';
var FastBoot = require('fastboot');
var chalk = require('chalk');
function fastbootExpressMiddleware(distPath, options) {
var FastBoot = require('fastboot');
var opts = options;

@@ -60,3 +59,5 @@ if (arguments.length === 1) {

}
var chalk;
function _log(statusCode, message, startTime) {
chalk = chalk || require('chalk');
var color = statusCode === 200 ? 'green' : 'red';

@@ -71,2 +72,2 @@ var now = new Date();

module.exports = fastbootExpressMiddleware;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUFZLENBQUM7QUFFYixJQUFNLFFBQVEsR0FBRyxPQUFPLENBQUMsVUFBVSxDQUFDLENBQUM7QUFDckMsSUFBTSxLQUFLLEdBQUcsT0FBTyxDQUFDLE9BQU8sQ0FBQyxDQUFDO0FBRS9CLG1DQUFtQyxRQUFRLEVBQUUsT0FBTztJQUNsRCxJQUFJLElBQUksR0FBRyxPQUFPLENBQUM7SUFFbkIsRUFBRSxDQUFDLENBQUMsU0FBUyxDQUFDLE1BQU0sS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDO1FBQzNCLEVBQUUsQ0FBQyxDQUFDLE9BQU8sUUFBUSxLQUFLLFFBQVEsQ0FBQyxDQUFDLENBQUM7WUFDakMsSUFBSSxHQUFHLEVBQUUsUUFBUSxFQUFFLFFBQVEsRUFBRSxDQUFDO1FBQ2hDLENBQUM7UUFBQyxJQUFJLENBQUMsQ0FBQztZQUN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QUFFLENBQUMsR0FBRyxHQUFHLEdBQUcsS0FBSyxDQUFDLEtBQUssQ0FBQyxDQUFDLFVBQVUsQ0FBQyxHQUFHLEdBQUcsR0FBRyxPQUFPLENBQUMsQ0FBQztBQUM5RixDQUFDO0FBRUQsTUFBTSxDQUFDLE9BQU8sR0FBRyx5QkFBeUIsQ0FBQyJ9
{
"name": "fastboot-express-middleware",
"version": "1.0.0-rc.2",
"version": "1.0.0-rc.3",
"description": "An Express middleware for rendering Ember apps with FastBoot",

@@ -5,0 +5,0 @@ "main": "src/index.js",

'use strict';
const FastBoot = require('fastboot');
const chalk = require('chalk');
function fastbootExpressMiddleware(distPath, options) {
const FastBoot = require('fastboot');
let opts = options;

@@ -69,3 +69,6 @@

let chalk;
function _log(statusCode, message, startTime) {
chalk = chalk || require('chalk');
let color = statusCode === 200 ? 'green' : 'red';

@@ -72,0 +75,0 @@ let now = new Date();

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