azure-chaos-fn
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "azure-chaos-fn", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "The base module for all azure-chaos extensions", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -99,3 +99,3 @@ const assert = require('assert') | ||
// ensure v1 | ||
if (!context.headers.accept || !context.headers.accept.startsWith('application/vnd.azure-chaos.1')) { | ||
if (!context.req.headers.accept || !context.req.headers.accept.startsWith('application/vnd.azure-chaos.1')) { | ||
context.res = { | ||
@@ -141,2 +141,2 @@ status: 500, | ||
ChaosResourceId | ||
} | ||
} |
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
7
241
11580
1