@schmock/cli 2.1.5 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +3 -3
package/dist/bin.js
CHANGED
|
@@ -23855,7 +23855,7 @@ function extractHeaders(input, init) {
|
|
|
23855
23855
|
return headers;
|
|
23856
23856
|
if (raw instanceof Headers) {
|
|
23857
23857
|
raw.forEach((value, key) => {
|
|
23858
|
-
headers[key] = value;
|
|
23858
|
+
headers[key.toLowerCase()] = value;
|
|
23859
23859
|
});
|
|
23860
23860
|
} else if (Array.isArray(raw)) {
|
|
23861
23861
|
for (const [key, value] of raw) {
|
|
@@ -24607,7 +24607,7 @@ function schmock(config) {
|
|
|
24607
24607
|
return callableInstance;
|
|
24608
24608
|
}
|
|
24609
24609
|
// ../openapi/package.json
|
|
24610
|
-
var version = "2.
|
|
24610
|
+
var version = "2.2.0";
|
|
24611
24611
|
|
|
24612
24612
|
// ../openapi/src/utils.ts
|
|
24613
24613
|
function isRecord(value) {
|
package/dist/index.js
CHANGED
|
@@ -23854,7 +23854,7 @@ function extractHeaders(input, init) {
|
|
|
23854
23854
|
return headers;
|
|
23855
23855
|
if (raw instanceof Headers) {
|
|
23856
23856
|
raw.forEach((value, key) => {
|
|
23857
|
-
headers[key] = value;
|
|
23857
|
+
headers[key.toLowerCase()] = value;
|
|
23858
23858
|
});
|
|
23859
23859
|
} else if (Array.isArray(raw)) {
|
|
23860
23860
|
for (const [key, value] of raw) {
|
|
@@ -24606,7 +24606,7 @@ function schmock(config) {
|
|
|
24606
24606
|
return callableInstance;
|
|
24607
24607
|
}
|
|
24608
24608
|
// ../openapi/package.json
|
|
24609
|
-
var version = "2.
|
|
24609
|
+
var version = "2.2.0";
|
|
24610
24610
|
|
|
24611
24611
|
// ../openapi/src/utils.ts
|
|
24612
24612
|
function isRecord(value) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schmock/cli",
|
|
3
3
|
"description": "CLI for running Schmock mock servers from OpenAPI specs",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
},
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@schmock/core": "^2.
|
|
36
|
-
"@schmock/openapi": "^2.
|
|
35
|
+
"@schmock/core": "^2.2.0",
|
|
36
|
+
"@schmock/openapi": "^2.2.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@amiceli/vitest-cucumber": "^6.5.0",
|