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

@untool/express

Package Overview
Dependencies
Maintainers
4
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@untool/express - npm Package Compare versions

Comparing version 2.0.0-alpha.2 to 2.0.0-alpha.3

21

CHANGELOG.md

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

# [2.0.0-alpha.3](https://github.com/untool/untool/compare/v2.0.0-alpha.2...v2.0.0-alpha.3) (2019-10-02)
### Bug Fixes
* **express:** use preinitial phase for helmet middlware ([a80fc19](https://github.com/untool/untool/commit/a80fc19))
### Features
* **express:** add cookie-parser middleware ([ade3554](https://github.com/untool/untool/commit/ade3554))
### BREAKING CHANGES
* **express:** moved helmet middleware from initial phase to preinitial.
# [2.0.0-alpha.2](https://github.com/untool/untool/compare/v2.0.0-alpha.1...v2.0.0-alpha.2) (2019-09-27)

@@ -8,0 +29,0 @@

3

mixins/mixin.core.js

@@ -45,4 +45,5 @@ 'use strict';

const mime = require('mime');
const cookieParser = require('cookie-parser');
const { distDir } = this.config;
middlewares.initial.push(helmet());
middlewares.preinitial.push(helmet(), cookieParser());
middlewares.files.push(

@@ -49,0 +50,0 @@ express.static(distDir, {

{
"name": "@untool/express",
"version": "2.0.0-alpha.2",
"version": "2.0.0-alpha.3",
"description": "untool express mixin",

@@ -19,6 +19,7 @@ "repository": {

"dependencies": {
"@untool/core": "^2.0.0-alpha.2",
"@untool/yargs": "^2.0.0-alpha.2",
"@untool/core": "^2.0.0-alpha.3",
"@untool/yargs": "^2.0.0-alpha.3",
"chalk": "^2.4.2",
"compression": "^1.7.4",
"cookie-parser": "^1.4.4",
"debug": "^4.0.0",

@@ -44,4 +45,3 @@ "directory-index": "^0.1.0",

"node": ">8.6.0"
},
"gitHead": "7511ce65162fd3248d75e4c67a9e49b3f8e23b98"
}
}
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