You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

apimd

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apimd - npm Package Compare versions

Comparing version

to
0.3.2

4

CHANGELOG.md
# Changes to apimd
### 0.3.2 (November 20, 2019)
- Fixed: Issue where request headers were case sensitive when they should not be
### 0.3.1 (November 20, 2019)

@@ -4,0 +8,0 @@

7

endpoint.js

@@ -116,4 +116,7 @@ const { assign, create, has, is, isFunction, isNullish, isObject, asNumber, asString } = require('./util');

([ name, value ]) => (
has(testReqHeaders, name) ||
is(testReqHeaders[name], value)
has(testReqHeaders, name.toLowerCase()) ||
is(
asString(testReqHeaders[name.toLowerCase()]),
asString(value)
)
)

@@ -120,0 +123,0 @@ );

{
"name": "apimd",
"version": "0.3.1",
"version": "0.3.2",
"description": "Write APIs in Markdown and use them as mocks.",

@@ -5,0 +5,0 @@ "author": "Jonathan Neal <jonathantneal@hotmail.com>",