postman-runtime 7.28.1 → 7.29.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/CHANGELOG.yaml +44 -0
- package/README.md +3 -7
- package/dist/index.js +1 -1
- package/lib/authorizer/apikey.js +12 -11
- package/lib/authorizer/auth-interface.js +14 -7
- package/lib/authorizer/aws4.js +20 -20
- package/lib/authorizer/basic.js +12 -12
- package/lib/authorizer/bearer.js +12 -12
- package/lib/authorizer/digest.js +32 -31
- package/lib/authorizer/edgegrid.js +7 -7
- package/lib/authorizer/hawk.js +20 -20
- package/lib/authorizer/index.js +12 -8
- package/lib/authorizer/noauth.js +11 -11
- package/lib/authorizer/ntlm.js +43 -22
- package/lib/authorizer/oauth1.js +37 -27
- package/lib/authorizer/oauth2.js +12 -12
- package/lib/backpack/index.js +19 -19
- package/lib/requester/core-body-builder.js +16 -16
- package/lib/requester/core.js +25 -20
- package/lib/requester/dry-run.js +21 -21
- package/lib/requester/request-wrapper.js +6 -6
- package/lib/requester/requester-pool.js +1 -0
- package/lib/requester/requester.js +54 -46
- package/lib/runner/create-item-context.js +6 -6
- package/lib/runner/cursor.js +63 -63
- package/lib/runner/extensions/control.command.js +15 -14
- package/lib/runner/extensions/delay.command.js +12 -12
- package/lib/runner/extensions/event.command.js +33 -27
- package/lib/runner/extensions/http-request.command.js +20 -23
- package/lib/runner/extensions/item.command.js +6 -5
- package/lib/runner/extensions/request.command.js +12 -12
- package/lib/runner/extensions/waterfall.command.js +6 -6
- package/lib/runner/extract-runnable-items.js +25 -25
- package/lib/runner/index.js +20 -21
- package/lib/runner/instruction.js +14 -11
- package/lib/runner/replay-controller.js +6 -6
- package/lib/runner/request-helpers-postsend.js +5 -6
- package/lib/runner/request-helpers-presend.js +13 -17
- package/lib/runner/run.js +46 -41
- package/lib/runner/timings.js +7 -3
- package/lib/runner/util.js +10 -9
- package/lib/version.js +2 -2
- package/lib/visualizer/index.js +1 -1
- package/package.json +70 -74
package/CHANGELOG.yaml
CHANGED
|
@@ -1,3 +1,47 @@
|
|
|
1
|
+
7.29.0:
|
|
2
|
+
date: 2022-01-10
|
|
3
|
+
new features:
|
|
4
|
+
- >-
|
|
5
|
+
Added `insecureHTTPParser` requester and protocolProfileBehavior option to
|
|
6
|
+
use an insecure HTTP parser that accepts invalid HTTP headers
|
|
7
|
+
fixed bugs:
|
|
8
|
+
- >-
|
|
9
|
+
Fixed a bug in `pm.sendRequest` where request body for the following
|
|
10
|
+
methods: GET, COPY, HEAD, PURGE, and UNLOCK was dropped incorrectly
|
|
11
|
+
chores:
|
|
12
|
+
- GH-1188 Dropped Node.js v8 step from travis build
|
|
13
|
+
- GH-1188 Updated nyc configuration
|
|
14
|
+
- GH-1188 Updated ESLint rules
|
|
15
|
+
- GH-1188 Updated dependencies
|
|
16
|
+
|
|
17
|
+
7.28.4:
|
|
18
|
+
date: 2021-08-16
|
|
19
|
+
fixed bugs:
|
|
20
|
+
- >-
|
|
21
|
+
Fixed a bug where NTLM could not complete authentication if a single
|
|
22
|
+
`www-authenticate` header was sent with multiple schemes
|
|
23
|
+
chores:
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
|
|
26
|
+
7.28.3:
|
|
27
|
+
date: 2021-07-25
|
|
28
|
+
fixed bugs:
|
|
29
|
+
- >-
|
|
30
|
+
GH-1163 Fixed a bug where `protocolProfileBehavior.disableUrlEncoding`
|
|
31
|
+
option was not respected in OAuth 1.0 authorizer
|
|
32
|
+
chores:
|
|
33
|
+
- Updated dependencies
|
|
34
|
+
|
|
35
|
+
7.28.2:
|
|
36
|
+
date: 2021-06-24
|
|
37
|
+
fixed bugs:
|
|
38
|
+
- >-
|
|
39
|
+
GH-1161 Fixed a bug where cookies set in the request and response callback
|
|
40
|
+
don't account for redirects
|
|
41
|
+
chores:
|
|
42
|
+
- Bumped postman-collection dependency to v4
|
|
43
|
+
- Updated dependencies
|
|
44
|
+
|
|
1
45
|
7.28.1:
|
|
2
46
|
date: 2021-06-16
|
|
3
47
|
fixed bugs:
|
package/README.md
CHANGED
|
@@ -6,13 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
> If you are looking to execute collections, you should be using Newman, this is very low level.
|
|
8
8
|
|
|
9
|
-
## Development Notes
|
|
10
|
-
|
|
11
|
-
- `npm run test`: Runs lint, system, unit and integration tests of runtime
|
|
12
|
-
- `npm run test-integration-newman`: This command runs tests of newman with the under-development variant of runtime
|
|
13
|
-
- `npm run test-coverage`: This command runs `postman-runtime` tests and generate overall coverage
|
|
14
|
-
- `npm/memory-check.sh`: This bash scripts performs first-level memory usage analysis, and plots a graph out of the results
|
|
15
|
-
|
|
16
9
|
## Options
|
|
17
10
|
|
|
18
11
|
Postman Runtime supports a lot of options to customize its behavior for different environments and use-cases.
|
|
@@ -110,6 +103,9 @@ runner.run(collection, {
|
|
|
110
103
|
// Enable or disable certificate verification (only supported on Node, ignored in the browser)
|
|
111
104
|
strictSSL: false,
|
|
112
105
|
|
|
106
|
+
// Use an insecure HTTP parser that accepts invalid HTTP headers (only supported on Node, ignored in the browser)
|
|
107
|
+
insecureHTTPParser: false,
|
|
108
|
+
|
|
113
109
|
// Enable or disable detailed request-response timings (only supported on Node, ignored in the browser)
|
|
114
110
|
timings: true,
|
|
115
111
|
|