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

nightframe

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nightframe - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

3

bin/nightframe.js

@@ -6,3 +6,4 @@ #!/usr/bin/env node

// some platforms create a copy of the binary file instead of a symlink
const frameworkFolder = path.join(__dirname, '../nightframe').replace('node_modules/nightframe/nightframe', 'node_modules/nightframe');
const frameworkFolder = path.join(__dirname, '../nightframe')
.replace('node_modules/nightframe/nightframe', 'node_modules/nightframe');

@@ -9,0 +10,0 @@ const requiredVersion = require(path.join(frameworkFolder, 'package.json')).engines.node;

@@ -157,2 +157,3 @@ const path = require('path');

const consoleEnabled = logging.console.enable || logging.console.enabled || logging.console === true;
const logRequests = consoleEnabled && logging.console.requests;

@@ -169,3 +170,3 @@ if (fileEnabled === true || logging.console.requests) {

if (consoleEnabled) {
if (consoleEnabled && logRequests) {
morgan.format('nightframe', function(tokens, req, res) {

@@ -172,0 +173,0 @@ const status = res.headersSent ? res.statusCode : undefined;

{
"name": "nightframe",
"version": "0.0.3",
"version": "0.0.4",
"description": "A small Node.js web application framework built on top of Express",

@@ -5,0 +5,0 @@ "author": {

# Nightframe
A small web application framework built on top of [Express.js](https://expressjs.com/) to provide a minimal MVC-style structure to a Node.js app or web service.
[![npm](https://img.shields.io/npm/v/nightframe.svg)](https://www.npmjs.com/package/nightframe)
[![Build Status](https://travis-ci.org/pineviewlabs/nightframe.svg?branch=master)](https://travis-ci.com/pineviewlabs/nightframe)
[![Twitter Follow](https://img.shields.io/twitter/follow/pineviewlabs.svg?style=social)](https://twitter.com/pineviewlabs)
***
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