hyperdrive-http
Advanced tools
Comparing version 4.1.1 to 4.2.0
@@ -6,2 +6,3 @@ var toHTML = require('directory-index-html') | ||
var qs = require('querystring') | ||
var corsify = require('corsify') | ||
var pkg = require('./package') | ||
@@ -14,3 +15,3 @@ | ||
return onrequest | ||
return corsify(onrequest) | ||
@@ -17,0 +18,0 @@ function onrequest (req, res) { |
{ | ||
"name": "hyperdrive-http", | ||
"version": "4.1.1", | ||
"version": "4.2.0", | ||
"description": "Handle Hyper[drive|core] HTTP Requests", | ||
@@ -17,2 +17,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"corsify": "^2.1.0", | ||
"directory-index-html": "^2.1.0", | ||
@@ -19,0 +20,0 @@ "mime": "^1.3.4", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
520
21132
5
10
6
+ Addedcorsify@^2.1.0
+ Addedap@0.1.0(transitive)
+ Addedbody@0.1.0(transitive)
+ Addedcontent-types@0.1.0(transitive)
+ Addedcorsify@2.1.0(transitive)
+ Addedhttp-methods@0.1.0(transitive)
+ Addediterators@0.1.0(transitive)