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

@autofleet/super-express

Package Overview
Dependencies
Maintainers
5
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@autofleet/super-express - npm Package Compare versions

Comparing version 1.1.12 to 1.1.15

13

index.js

@@ -7,4 +7,7 @@ const express = require('express')

const morgan = require('morgan')
<<<<<<< HEAD
=======
const compression = require("compression")
const helmet = require('helmet')
>>>>>>> 5369a1e2e07d568ef0f0743065473b0217a8d7ed

@@ -32,17 +35,15 @@ const defaultOptions = require('./default-options.json')

<<<<<<< HEAD
app.use(morgan(':method :url :status :res[content-length] - :response-time ms', { "stream": getLogStream(options.infoLog) }))
=======
} else {
app.use(morgan(':method :url :status :res[content-length] - :response-time ms'))
}
>>>>>>> 5369a1e2e07d568ef0f0743065473b0217a8d7ed
// General
if( mergedOptions.bodyParser ) {
app.use(bodyParser.urlencoded({
extended: true
}))
app.use(bodyParser.json())
}
if( mergedOptions.compression ) app.use(compression(mergedOptions.compression.options))
if( mergedOptions.helmet ) app.use(helmet(mergedOptions.helmet.options))
app.nativeListen = app.listen

@@ -49,0 +50,0 @@ app.listen = function (port, cb) {

{
"name": "@autofleet/super-express",
"version": "1.1.12",
"version": "1.1.15",
"description": "AF Express with built in boilerplate",

@@ -10,7 +10,5 @@ "main": "index.js",

"body-parser": "^1.18.3",
"chalk": "^2.0.1",
"compression": "^1.7.0",
"express": "^4.16.3",
"helmet": "^3.6.1",
"morgan": "^1.8.2"
"chalk": "^2.4.1",
"express": "^4.16.4",
"morgan": "^1.9.1"
},

@@ -17,0 +15,0 @@ "scripts": {

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