postman-runtime 7.28.3 → 7.29.1

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 (44) hide show
  1. package/CHANGELOG.yaml +30 -0
  2. package/README.md +3 -7
  3. package/dist/index.js +1 -1
  4. package/lib/authorizer/apikey.js +12 -11
  5. package/lib/authorizer/auth-interface.js +6 -6
  6. package/lib/authorizer/aws4.js +20 -20
  7. package/lib/authorizer/basic.js +12 -12
  8. package/lib/authorizer/bearer.js +12 -12
  9. package/lib/authorizer/digest.js +32 -31
  10. package/lib/authorizer/edgegrid.js +7 -7
  11. package/lib/authorizer/hawk.js +20 -20
  12. package/lib/authorizer/index.js +12 -8
  13. package/lib/authorizer/noauth.js +11 -11
  14. package/lib/authorizer/ntlm.js +43 -22
  15. package/lib/authorizer/oauth1.js +21 -21
  16. package/lib/authorizer/oauth2.js +12 -12
  17. package/lib/backpack/index.js +19 -19
  18. package/lib/requester/core-body-builder.js +16 -16
  19. package/lib/requester/core.js +25 -20
  20. package/lib/requester/dry-run.js +21 -21
  21. package/lib/requester/request-wrapper.js +6 -6
  22. package/lib/requester/requester-pool.js +1 -0
  23. package/lib/requester/requester.js +38 -43
  24. package/lib/runner/create-item-context.js +6 -6
  25. package/lib/runner/cursor.js +63 -63
  26. package/lib/runner/extensions/control.command.js +15 -14
  27. package/lib/runner/extensions/delay.command.js +12 -12
  28. package/lib/runner/extensions/event.command.js +33 -27
  29. package/lib/runner/extensions/http-request.command.js +20 -23
  30. package/lib/runner/extensions/item.command.js +6 -5
  31. package/lib/runner/extensions/request.command.js +12 -12
  32. package/lib/runner/extensions/waterfall.command.js +6 -6
  33. package/lib/runner/extract-runnable-items.js +25 -25
  34. package/lib/runner/index.js +20 -21
  35. package/lib/runner/instruction.js +14 -11
  36. package/lib/runner/replay-controller.js +6 -6
  37. package/lib/runner/request-helpers-postsend.js +5 -6
  38. package/lib/runner/request-helpers-presend.js +12 -16
  39. package/lib/runner/run.js +46 -41
  40. package/lib/runner/timings.js +7 -3
  41. package/lib/runner/util.js +10 -9
  42. package/lib/version.js +2 -2
  43. package/lib/visualizer/index.js +1 -1
  44. package/package.json +71 -75
package/CHANGELOG.yaml CHANGED
@@ -1,3 +1,33 @@
1
+ 7.29.1:
2
+ date: 2022-05-24
3
+ chores:
4
+ - Updated dependencies
5
+
6
+ 7.29.0:
7
+ date: 2022-01-10
8
+ new features:
9
+ - >-
10
+ Added `insecureHTTPParser` requester and protocolProfileBehavior option to
11
+ use an insecure HTTP parser that accepts invalid HTTP headers
12
+ fixed bugs:
13
+ - >-
14
+ Fixed a bug in `pm.sendRequest` where request body for the following
15
+ methods: GET, COPY, HEAD, PURGE, and UNLOCK was dropped incorrectly
16
+ chores:
17
+ - GH-1188 Dropped Node.js v8 step from travis build
18
+ - GH-1188 Updated nyc configuration
19
+ - GH-1188 Updated ESLint rules
20
+ - GH-1188 Updated dependencies
21
+
22
+ 7.28.4:
23
+ date: 2021-08-16
24
+ fixed bugs:
25
+ - >-
26
+ Fixed a bug where NTLM could not complete authentication if a single
27
+ `www-authenticate` header was sent with multiple schemes
28
+ chores:
29
+ - Updated dependencies
30
+
1
31
  7.28.3:
2
32
  date: 2021-07-25
3
33
  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