@loadmill/core 0.3.39 → 0.3.43

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 (36) hide show
  1. package/dist/conf/types.d.ts +5 -0
  2. package/dist/conf/types.js +6 -1
  3. package/dist/conf/types.js.map +1 -1
  4. package/dist/har/index.d.ts +8 -1
  5. package/dist/har/index.js.map +1 -1
  6. package/dist/multipart-form-data/form-data-utils.d.ts +19 -0
  7. package/dist/multipart-form-data/form-data-utils.js +116 -0
  8. package/dist/multipart-form-data/form-data-utils.js.map +1 -0
  9. package/dist/multipart-form-data/multipart-text-to-post-form-data.d.ts +2 -0
  10. package/dist/multipart-form-data/multipart-text-to-post-form-data.js +77 -0
  11. package/dist/multipart-form-data/multipart-text-to-post-form-data.js.map +1 -0
  12. package/dist/parameters/index.d.ts +1 -0
  13. package/dist/parameters/index.js +14 -5
  14. package/dist/parameters/index.js.map +1 -1
  15. package/dist/parameters/parameter-functions/crypto.d.ts +10 -0
  16. package/dist/parameters/parameter-functions/crypto.js +56 -0
  17. package/dist/parameters/parameter-functions/crypto.js.map +1 -0
  18. package/dist/parameters/parameter-functions/textual-parameter-functions.d.ts +3 -1
  19. package/dist/parameters/parameter-functions/textual-parameter-functions.js +38 -5
  20. package/dist/parameters/parameter-functions/textual-parameter-functions.js.map +1 -1
  21. package/dist/request/index.d.ts +4 -3
  22. package/dist/request/index.js +1 -1
  23. package/dist/request/index.js.map +1 -1
  24. package/package.json +9 -6
  25. package/src/conf/types.ts +6 -0
  26. package/src/har/index.ts +9 -1
  27. package/src/multipart-form-data/form-data-utils.ts +81 -0
  28. package/src/multipart-form-data/multipart-text-to-post-form-data.ts +89 -0
  29. package/src/parameters/index.ts +16 -2
  30. package/src/parameters/parameter-functions/textual-parameter-functions.ts +45 -7
  31. package/src/request/index.ts +5 -3
  32. package/test/har/is-har.spec.js +1 -0
  33. package/test/multipart-form-data/form-data-utils.spec.ts +121 -0
  34. package/test/multipart-form-data/resources/multipart-form-data-file-text-content.json +5 -0
  35. package/test/parameters/parameter-functions.spec.js +2 -0
  36. package/tsconfig.json +1 -1
@@ -0,0 +1,5 @@
1
+ {
2
+ "mimeType": "multipart/form-data; boundary=---------------------------10453916712809342873442003634",
3
+ "params": [],
4
+ "text": "-----------------------------10453916712809342873442003634\r\nContent-Disposition: form-data; name=\"file\"; filename=\"silk_sonic.jpeg\"\r\nContent-Type: image/jpeg\r\n\r\nÿØÿà\u0000\u0010JFIF\u0000\u0001\u0001\u0000\u0000\u0001\u0000\u0001\u0000\u0000ÿÛ\u0000„\u0000\u0005\u0003\u0004\t\t\b\t\t\t\t\t\t\t\t\t\u0005u001c\u0017\t\b\u001a\t\t\u0006\u0018!\u0018\u001a\u001d\u001d\u001f\u001f\u001f\u0007\u000b\"\u0018\"\u001e\u0018\u001c\u001e\u001f\u001e\u0001\u0005\u0005\u0005\b\u0007\b\u000e\b\b\r\u0012\r\u000e\r\u0012\u0012\u0012\u0012\u0012\u0012\u0012\u0012\u0012\u0012\u0012\u0012\u0012\u0012\u0012\u0012\u0012\u0012\u0012\u0012\u0012\u0012R#B?\u00005Ù\r\n-----------------------------10453916712809342873442003634--\r\n"
5
+ }
@@ -1,4 +1,6 @@
1
1
  const { expect } = require('chai');
2
+ const { describe, it } = require('mocha');
3
+
2
4
  require('../../dist/parameters');
3
5
  const { canHaveNullParameterValue } = require('../../dist/parameters/parameter-functions/parameter-functions');
4
6
 
package/tsconfig.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "compilerOptions": {
4
4
  "noEmitHelpers": false,
5
5
  "outDir": "dist",
6
- "declaration": true,
6
+ "declaration": true
7
7
  },
8
8
  "include": ["src"]
9
9
  }