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

azure-chaos-fn

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-chaos-fn - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.travis.yml

2

package.json
{
"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
}
}
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