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

hops-express

Package Overview
Dependencies
Maintainers
5
Versions
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hops-express - npm Package Compare versions

Comparing version 11.0.0-rc.9 to 11.0.0-rc.13

16

CHANGELOG.md

@@ -6,2 +6,18 @@ # Change Log

<a name="11.0.0-rc.13"></a>
# [11.0.0-rc.13](https://github.com/xing/hops/compare/v11.0.0-rc.12...v11.0.0-rc.13) (2018-07-04)
### Bug Fixes
* **express:** return app in configureServer hook ([ca07331](https://github.com/xing/hops/commit/ca07331))
### Features
* **express:** enable gzip compression when serving in production mode ([c7be81e](https://github.com/xing/hops/commit/c7be81e))
<a name="11.0.0-rc.9"></a>

@@ -8,0 +24,0 @@ # [11.0.0-rc.9](https://github.com/xing/hops/compare/v11.0.0-rc.8...v11.0.0-rc.9) (2018-06-27)

@@ -5,2 +5,9 @@ const { format } = require('url');

class ExpressCoreMixin extends Mixin {
configureServer(app, middleware, mode) {
if (mode === 'serve' && process.env.NODE_ENV === 'production') {
middleware.prefiles.push(require('compression')());
}
return app;
}
inspectServer(app) {

@@ -7,0 +14,0 @@ const { port, address: host } = app.address();

5

package.json
{
"name": "hops-express",
"version": "11.0.0-rc.9",
"version": "11.0.0-rc.13",
"description": "Customization for the our express server",

@@ -24,4 +24,5 @@ "keywords": [

"dependencies": {
"@untool/core": "^0.10.0"
"@untool/core": "^0.11.0",
"compression": "^1.7.2"
}
}
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