@readme/oas-to-har 14.0.1 → 14.0.5
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/.github/workflows/ci.yml
CHANGED
|
@@ -10,16 +10,13 @@ jobs:
|
|
|
10
10
|
node-version: [12.x, 14.x, 16.x]
|
|
11
11
|
|
|
12
12
|
steps:
|
|
13
|
-
- uses: actions/checkout@v2.
|
|
13
|
+
- uses: actions/checkout@v2.4.0
|
|
14
14
|
|
|
15
15
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
16
|
-
uses: actions/setup-node@v2.
|
|
16
|
+
uses: actions/setup-node@v2.5.1
|
|
17
17
|
with:
|
|
18
18
|
node-version: ${{ matrix.node-version }}
|
|
19
19
|
|
|
20
|
-
- name: Install npm@7
|
|
21
|
-
run: npm install -g npm@7
|
|
22
|
-
|
|
23
20
|
- name: Install deps
|
|
24
21
|
run: npm ci
|
|
25
22
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,42 @@
|
|
|
1
|
+
## <small>14.0.5 (2022-01-03)</small>
|
|
2
|
+
|
|
3
|
+
* chore(deps-dev): bump @commitlint/cli from 15.0.0 to 16.0.1 (#45) ([4ce0b94](https://github.com/readmeio/oas-to-har/commit/4ce0b94)), closes [#45](https://github.com/readmeio/oas-to-har/issues/45)
|
|
4
|
+
* chore(deps-dev): bump @commitlint/config-conventional (#48) ([dc5195a](https://github.com/readmeio/oas-to-har/commit/dc5195a)), closes [#48](https://github.com/readmeio/oas-to-har/issues/48)
|
|
5
|
+
* chore(deps-dev): bump @readme/eslint-config from 8.0.4 to 8.1.1 (#46) ([8788c1e](https://github.com/readmeio/oas-to-har/commit/8788c1e)), closes [#46](https://github.com/readmeio/oas-to-har/issues/46)
|
|
6
|
+
* chore(deps-dev): bump eslint from 8.4.1 to 8.6.0 (#47) ([e211feb](https://github.com/readmeio/oas-to-har/commit/e211feb)), closes [#47](https://github.com/readmeio/oas-to-har/issues/47)
|
|
7
|
+
* chore(deps): bump actions/setup-node from 2.5.0 to 2.5.1 (#43) ([a05def3](https://github.com/readmeio/oas-to-har/commit/a05def3)), closes [#43](https://github.com/readmeio/oas-to-har/issues/43)
|
|
8
|
+
* chore(deps): bump oas from 17.3.2 to 17.4.0 (#44) ([8abb825](https://github.com/readmeio/oas-to-har/commit/8abb825)), closes [#44](https://github.com/readmeio/oas-to-har/issues/44)
|
|
9
|
+
* chore(deps): upgrading oas and @readme/oas-extensions (#49) ([822cb6d](https://github.com/readmeio/oas-to-har/commit/822cb6d)), closes [#49](https://github.com/readmeio/oas-to-har/issues/49)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## <small>14.0.4 (2021-12-16)</small>
|
|
14
|
+
|
|
15
|
+
* fix: issue where we'd try to stylize iterate over a nullilsh value (#42) ([5baa462](https://github.com/readmeio/oas-to-har/commit/5baa462)), closes [#42](https://github.com/readmeio/oas-to-har/issues/42)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## <small>14.0.3 (2021-12-16)</small>
|
|
20
|
+
|
|
21
|
+
* fix: cleaning up engine requirements and updating dev deps (#40) ([c377906](https://github.com/readmeio/oas-to-har/commit/c377906)), closes [#40](https://github.com/readmeio/oas-to-har/issues/40)
|
|
22
|
+
* test: overhauling the test suite to make it easier to maintain (#41) ([e04944d](https://github.com/readmeio/oas-to-har/commit/e04944d)), closes [#41](https://github.com/readmeio/oas-to-har/issues/41)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## <small>14.0.2 (2021-12-01)</small>
|
|
27
|
+
|
|
28
|
+
* chore(deps-dev): bump @commitlint/cli from 14.1.0 to 15.0.0 (#33) ([64cf308](https://github.com/readmeio/oas-to-har/commit/64cf308)), closes [#33](https://github.com/readmeio/oas-to-har/issues/33)
|
|
29
|
+
* chore(deps-dev): bump @commitlint/config-conventional (#37) ([7e76ecd](https://github.com/readmeio/oas-to-har/commit/7e76ecd)), closes [#37](https://github.com/readmeio/oas-to-har/issues/37)
|
|
30
|
+
* chore(deps-dev): bump eslint from 8.2.0 to 8.3.0 (#38) ([b6c0fa2](https://github.com/readmeio/oas-to-har/commit/b6c0fa2)), closes [#38](https://github.com/readmeio/oas-to-har/issues/38)
|
|
31
|
+
* chore(deps-dev): bump jest from 27.3.1 to 27.4.3 (#35) ([f20606b](https://github.com/readmeio/oas-to-har/commit/f20606b)), closes [#35](https://github.com/readmeio/oas-to-har/issues/35)
|
|
32
|
+
* chore(deps-dev): bump prettier from 2.4.1 to 2.5.0 (#39) ([8f63cc6](https://github.com/readmeio/oas-to-har/commit/8f63cc6)), closes [#39](https://github.com/readmeio/oas-to-har/issues/39)
|
|
33
|
+
* chore(deps): bump @readme/oas-extensions from 14.0.0 to 14.0.1 (#34) ([d110b9e](https://github.com/readmeio/oas-to-har/commit/d110b9e)), closes [#34](https://github.com/readmeio/oas-to-har/issues/34)
|
|
34
|
+
* chore(deps): bump actions/checkout from 2.3.5 to 2.4.0 (#32) ([0937308](https://github.com/readmeio/oas-to-har/commit/0937308)), closes [#32](https://github.com/readmeio/oas-to-har/issues/32)
|
|
35
|
+
* chore(deps): bump actions/setup-node from 2.4.1 to 2.5.0 (#31) ([fae7aed](https://github.com/readmeio/oas-to-har/commit/fae7aed)), closes [#31](https://github.com/readmeio/oas-to-har/issues/31)
|
|
36
|
+
* chore(deps): bump oas from 17.1.0 to 17.1.6 (#36) ([0d2f7ff](https://github.com/readmeio/oas-to-har/commit/0d2f7ff)), closes [#36](https://github.com/readmeio/oas-to-har/issues/36)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
1
40
|
## <small>14.0.1 (2021-11-29)</small>
|
|
2
41
|
|
|
3
42
|
* fix: bug where nested object formData would be improperly converted as a string (#30) ([4f993a6](https://github.com/readmeio/oas-to-har/commit/4f993a6)), closes [#30](https://github.com/readmeio/oas-to-har/issues/30)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@readme/oas-to-har",
|
|
3
3
|
"description": "Utility to transform an OAS operation into a HAR representation",
|
|
4
|
-
"version": "14.0.
|
|
4
|
+
"version": "14.0.5",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"author": "Jon Ursenbach <jon@ursenba.ch>",
|
|
7
7
|
"license": "ISC",
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
"url": "git://github.com/readmeio/oas-to-har.git"
|
|
11
11
|
},
|
|
12
12
|
"engines": {
|
|
13
|
-
"node": "^12 || ^14 || ^16"
|
|
14
|
-
"npm": "^7"
|
|
13
|
+
"node": "^12 || ^14 || ^16"
|
|
15
14
|
},
|
|
16
15
|
"scripts": {
|
|
17
16
|
"lint": "eslint .",
|
|
@@ -22,21 +21,21 @@
|
|
|
22
21
|
"test": "jest --coverage"
|
|
23
22
|
},
|
|
24
23
|
"dependencies": {
|
|
25
|
-
"@readme/oas-extensions": "^14.0.
|
|
26
|
-
"oas": "^17.1
|
|
24
|
+
"@readme/oas-extensions": "^14.0.4",
|
|
25
|
+
"oas": "^17.4.1",
|
|
27
26
|
"parse-data-url": "^4.0.1"
|
|
28
27
|
},
|
|
29
28
|
"devDependencies": {
|
|
30
|
-
"@commitlint/cli": "^
|
|
31
|
-
"@commitlint/config-conventional": "^
|
|
32
|
-
"@readme/eslint-config": "^8.0.
|
|
29
|
+
"@commitlint/cli": "^16.0.1",
|
|
30
|
+
"@commitlint/config-conventional": "^16.0.0",
|
|
31
|
+
"@readme/eslint-config": "^8.0.4",
|
|
33
32
|
"@readme/oas-examples": "^4.3.2",
|
|
34
33
|
"datauri": "^4.1.0",
|
|
35
|
-
"eslint": "^8.
|
|
34
|
+
"eslint": "^8.4.1",
|
|
36
35
|
"husky": "^7.0.4",
|
|
37
|
-
"jest": "^27.
|
|
38
|
-
"jest-expect-har": "^3.0.
|
|
39
|
-
"prettier": "^2.
|
|
36
|
+
"jest": "^27.4.5",
|
|
37
|
+
"jest-expect-har": "^3.0.1",
|
|
38
|
+
"prettier": "^2.5.1"
|
|
40
39
|
},
|
|
41
40
|
"prettier": "@readme/eslint-config/prettier",
|
|
42
41
|
"commitlint": {
|
package/src/index.js
CHANGED
|
@@ -230,7 +230,7 @@ module.exports = (
|
|
|
230
230
|
});
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
// Are there `x-
|
|
233
|
+
// Are there `x-headers` static headers configured for this OAS?
|
|
234
234
|
const userDefinedHeaders = extensions.getExtension(extensions.HEADERS, oas, operation);
|
|
235
235
|
if (userDefinedHeaders) {
|
|
236
236
|
userDefinedHeaders.forEach(header => {
|
|
@@ -364,6 +364,7 @@ module.exports = (
|
|
|
364
364
|
}
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
+
// `RAW_BODY` is a ReadMe-specific thing where we'll interpret its contents as raw JSON.
|
|
367
368
|
if (typeof cleanBody.RAW_BODY !== 'undefined') {
|
|
368
369
|
cleanBody = cleanBody.RAW_BODY;
|
|
369
370
|
}
|