arrow-express
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -17,3 +17,2 @@ { | ||
"arrow-express": "../", | ||
"body-parser": "^1.19.0", | ||
"compression": "^1.7.4", | ||
@@ -20,0 +19,0 @@ "cors": "^2.8.5", |
// Express packages | ||
import Express from 'express'; | ||
import Compression from 'compression'; | ||
import BodyParser from 'body-parser'; | ||
import cors from 'cors'; | ||
@@ -20,3 +19,3 @@ | ||
expressApplication.use(Compression()); | ||
expressApplication.use(BodyParser()); | ||
expressApplication.use(Express.json()); | ||
@@ -23,0 +22,0 @@ Application({ |
{ | ||
"name": "arrow-express", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "Library to bootstrap express applications with zero configuration", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -20,3 +20,2 @@ # Arrow Express | ||
import Express from 'express'; | ||
import BodyParser from "body-parser"; | ||
import Compression from 'compression'; | ||
@@ -29,3 +28,3 @@ import cors from 'cors'; | ||
ExpressApp.use(BodyParser()); | ||
ExpressApp.use(Express.json()); | ||
ExpressApp.use(Compression()); | ||
@@ -32,0 +31,0 @@ ExpressApp.use(cors()); |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
581517
13987
186