httpsnippet-client-api 5.0.6 → 5.0.8

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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/src/index.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "httpsnippet-client-api",
3
- "version": "5.0.6",
3
+ "version": "5.0.8",
4
4
  "description": "An HTTPSnippet client for generating snippets for the `api` module.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "node": ">=14"
25
25
  },
26
26
  "dependencies": {
27
- "content-type": "^1.0.4",
27
+ "content-type": "^1.0.5",
28
28
  "stringify-object": "^3.3.0"
29
29
  },
30
30
  "peerDependencies": {
@@ -36,7 +36,7 @@
36
36
  "@readme/openapi-parser": "^2.4.0",
37
37
  "@types/content-type": "^1.1.5",
38
38
  "@types/stringify-object": "^4.0.2",
39
- "api": "^5.0.6",
39
+ "api": "^5.0.8",
40
40
  "chai": "^4.3.7",
41
41
  "fetch-mock": "^9.11.0",
42
42
  "isomorphic-fetch": "^3.0.0",
@@ -44,7 +44,7 @@
44
44
  "nyc": "^15.1.0",
45
45
  "sinon": "^15.0.1",
46
46
  "sinon-chai": "^3.7.0",
47
- "typescript": "^4.9.4"
47
+ "typescript": "^4.9.5"
48
48
  },
49
49
  "prettier": "@readme/eslint-config/prettier",
50
50
  "nyc": {
@@ -53,5 +53,5 @@
53
53
  "test/"
54
54
  ]
55
55
  },
56
- "gitHead": "33d0a4e279fd30aa7673b8fdf7bb00399a7c8c4e"
56
+ "gitHead": "bd15ecccb3aadea9ee821056c41d7897638bbe9d"
57
57
  }
package/src/index.ts CHANGED
@@ -254,7 +254,7 @@ const client: Client<APIOptions> = {
254
254
  delete metadata['content-type'];
255
255
  }
256
256
 
257
- postData.params.forEach(function (param) {
257
+ postData.params.forEach(param => {
258
258
  if (param.fileName) {
259
259
  body[param.name] = param.fileName;
260
260
  } else {