Socket
Socket
Sign inDemoInstall

arrow-express

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arrow-express - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

dist/application/application.d.ts

@@ -40,5 +40,5 @@ import Express from 'express';

* @param options.app - Express application used by application
* @param options.logRequests - log requests on handle
* @param options.logRequests - log requests, enabled by default
*/
export declare function Application(options: ApplicationOptions): AppConfigurator;
export {};

@@ -110,3 +110,3 @@ "use strict";

if (this.logRequests) {
console.log(req.method + ":/" + req.path + " Response: " + res.statusCode);
console.log("Request " + req.method + ":" + req.path + " Response: " + res.statusCode);
}

@@ -171,3 +171,3 @@ };

* @param options.app - Express application used by application
* @param options.logRequests - log requests on handle
* @param options.logRequests - log requests, enabled by default
*/

@@ -174,0 +174,0 @@ function Application(options) {

@@ -69,3 +69,3 @@ import Express from 'express';

if (this.logRequests) {
console.log(`${req.method}:/${req.path} Response: ${res.statusCode}`);
console.log(`Request ${req.method}:${req.path} Response: ${res.statusCode}`);
}

@@ -131,3 +131,3 @@ }

* @param options.app - Express application used by application
* @param options.logRequests - log requests on handle
* @param options.logRequests - log requests, enabled by default
*/

@@ -134,0 +134,0 @@ export function Application(options: ApplicationOptions): AppConfigurator {

{
"name": "arrow-express",
"version": "0.2.0",
"version": "0.2.1",
"description": "Library to bootstrap express applications with zero configuration",

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

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