@scalar/snippetz 0.2.12 → 0.2.14

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 (123) hide show
  1. package/dist/httpsnippet-lite/esm/helpers/code-builder.d.ts.map +1 -1
  2. package/dist/httpsnippet-lite/esm/helpers/code-builder.js +0 -1
  3. package/dist/httpsnippet-lite/esm/helpers/escape.d.ts.map +1 -1
  4. package/dist/httpsnippet-lite/esm/helpers/escape.js +7 -8
  5. package/dist/httpsnippet-lite/esm/helpers/form-data.d.ts.map +1 -1
  6. package/dist/httpsnippet-lite/esm/helpers/headers.d.ts.map +1 -1
  7. package/dist/httpsnippet-lite/esm/helpers/headers.js +0 -1
  8. package/dist/httpsnippet-lite/esm/helpers/reducer.d.ts.map +1 -1
  9. package/dist/httpsnippet-lite/esm/helpers/shell.d.ts.map +1 -1
  10. package/dist/httpsnippet-lite/esm/helpers/shell.js +0 -1
  11. package/dist/httpsnippet-lite/esm/helpers/url.d.ts.map +1 -1
  12. package/dist/httpsnippet-lite/esm/helpers/utils.d.ts.map +1 -1
  13. package/dist/httpsnippet-lite/esm/targets/c/libcurl/client.d.ts.map +1 -1
  14. package/dist/httpsnippet-lite/esm/targets/c/libcurl/client.js +0 -1
  15. package/dist/httpsnippet-lite/esm/targets/c/target.d.ts.map +1 -1
  16. package/dist/httpsnippet-lite/esm/targets/clojure/clj_http/client.d.ts.map +1 -1
  17. package/dist/httpsnippet-lite/esm/targets/clojure/clj_http/client.js +0 -1
  18. package/dist/httpsnippet-lite/esm/targets/clojure/target.d.ts.map +1 -1
  19. package/dist/httpsnippet-lite/esm/targets/csharp/httpclient/client.d.ts.map +1 -1
  20. package/dist/httpsnippet-lite/esm/targets/csharp/httpclient/client.js +0 -1
  21. package/dist/httpsnippet-lite/esm/targets/csharp/restsharp/client.d.ts.map +1 -1
  22. package/dist/httpsnippet-lite/esm/targets/csharp/restsharp/client.js +0 -1
  23. package/dist/httpsnippet-lite/esm/targets/csharp/target.d.ts.map +1 -1
  24. package/dist/httpsnippet-lite/esm/targets/go/native/client.d.ts.map +1 -1
  25. package/dist/httpsnippet-lite/esm/targets/go/native/client.js +0 -1
  26. package/dist/httpsnippet-lite/esm/targets/java/asynchttp/client.d.ts.map +1 -1
  27. package/dist/httpsnippet-lite/esm/targets/java/asynchttp/client.js +0 -1
  28. package/dist/httpsnippet-lite/esm/targets/java/nethttp/client.d.ts.map +1 -1
  29. package/dist/httpsnippet-lite/esm/targets/java/nethttp/client.js +0 -1
  30. package/dist/httpsnippet-lite/esm/targets/java/okhttp/client.d.ts.map +1 -1
  31. package/dist/httpsnippet-lite/esm/targets/java/okhttp/client.js +0 -1
  32. package/dist/httpsnippet-lite/esm/targets/java/target.d.ts.map +1 -1
  33. package/dist/httpsnippet-lite/esm/targets/java/unirest/client.d.ts.map +1 -1
  34. package/dist/httpsnippet-lite/esm/targets/java/unirest/client.js +0 -1
  35. package/dist/httpsnippet-lite/esm/targets/javascript/axios/client.d.ts.map +1 -1
  36. package/dist/httpsnippet-lite/esm/targets/javascript/axios/client.js +0 -1
  37. package/dist/httpsnippet-lite/esm/targets/javascript/fetch/client.d.ts.map +1 -1
  38. package/dist/httpsnippet-lite/esm/targets/javascript/jquery/client.d.ts.map +1 -1
  39. package/dist/httpsnippet-lite/esm/targets/javascript/jquery/client.js +0 -1
  40. package/dist/httpsnippet-lite/esm/targets/javascript/target.d.ts.map +1 -1
  41. package/dist/httpsnippet-lite/esm/targets/javascript/xhr/client.d.ts.map +1 -1
  42. package/dist/httpsnippet-lite/esm/targets/javascript/xhr/client.js +0 -1
  43. package/dist/httpsnippet-lite/esm/targets/kotlin/okhttp/client.d.ts.map +1 -1
  44. package/dist/httpsnippet-lite/esm/targets/kotlin/okhttp/client.js +0 -1
  45. package/dist/httpsnippet-lite/esm/targets/kotlin/target.d.ts.map +1 -1
  46. package/dist/httpsnippet-lite/esm/targets/node/axios/client.d.ts.map +1 -1
  47. package/dist/httpsnippet-lite/esm/targets/node/axios/client.js +0 -1
  48. package/dist/httpsnippet-lite/esm/targets/node/fetch/client.d.ts.map +1 -1
  49. package/dist/httpsnippet-lite/esm/targets/node/native/client.d.ts.map +1 -1
  50. package/dist/httpsnippet-lite/esm/targets/node/request/client.d.ts.map +1 -1
  51. package/dist/httpsnippet-lite/esm/targets/node/target.d.ts.map +1 -1
  52. package/dist/httpsnippet-lite/esm/targets/node/unirest/client.d.ts.map +1 -1
  53. package/dist/httpsnippet-lite/esm/targets/objc/helpers.d.ts.map +1 -1
  54. package/dist/httpsnippet-lite/esm/targets/objc/helpers.js +0 -1
  55. package/dist/httpsnippet-lite/esm/targets/objc/nsurlsession/client.d.ts.map +1 -1
  56. package/dist/httpsnippet-lite/esm/targets/objc/nsurlsession/client.js +0 -1
  57. package/dist/httpsnippet-lite/esm/targets/objc/target.d.ts.map +1 -1
  58. package/dist/httpsnippet-lite/esm/targets/ocaml/cohttp/client.d.ts.map +1 -1
  59. package/dist/httpsnippet-lite/esm/targets/ocaml/cohttp/client.js +0 -1
  60. package/dist/httpsnippet-lite/esm/targets/ocaml/target.d.ts.map +1 -1
  61. package/dist/httpsnippet-lite/esm/targets/php/curl/client.d.ts.map +1 -1
  62. package/dist/httpsnippet-lite/esm/targets/php/curl/client.js +0 -1
  63. package/dist/httpsnippet-lite/esm/targets/php/guzzle/client.d.ts.map +1 -1
  64. package/dist/httpsnippet-lite/esm/targets/php/guzzle/client.js +2 -5
  65. package/dist/httpsnippet-lite/esm/targets/php/helpers.d.ts.map +1 -1
  66. package/dist/httpsnippet-lite/esm/targets/php/helpers.js +0 -1
  67. package/dist/httpsnippet-lite/esm/targets/php/http1/client.d.ts.map +1 -1
  68. package/dist/httpsnippet-lite/esm/targets/php/http2/client.d.ts.map +1 -1
  69. package/dist/httpsnippet-lite/esm/targets/php/target.d.ts.map +1 -1
  70. package/dist/httpsnippet-lite/esm/targets/powershell/common.d.ts.map +1 -1
  71. package/dist/httpsnippet-lite/esm/targets/powershell/common.js +0 -1
  72. package/dist/httpsnippet-lite/esm/targets/powershell/restmethod/client.d.ts.map +1 -1
  73. package/dist/httpsnippet-lite/esm/targets/powershell/restmethod/client.js +0 -1
  74. package/dist/httpsnippet-lite/esm/targets/powershell/target.d.ts.map +1 -1
  75. package/dist/httpsnippet-lite/esm/targets/powershell/webrequest/client.d.ts.map +1 -1
  76. package/dist/httpsnippet-lite/esm/targets/powershell/webrequest/client.js +0 -1
  77. package/dist/httpsnippet-lite/esm/targets/python/helpers.d.ts.map +1 -1
  78. package/dist/httpsnippet-lite/esm/targets/python/helpers.js +0 -1
  79. package/dist/httpsnippet-lite/esm/targets/python/python3/client.d.ts.map +1 -1
  80. package/dist/httpsnippet-lite/esm/targets/python/python3/client.js +0 -1
  81. package/dist/httpsnippet-lite/esm/targets/python/requests/client.d.ts.map +1 -1
  82. package/dist/httpsnippet-lite/esm/targets/python/requests/client.js +0 -1
  83. package/dist/httpsnippet-lite/esm/targets/python/target.d.ts.map +1 -1
  84. package/dist/httpsnippet-lite/esm/targets/r/httr/client.d.ts.map +1 -1
  85. package/dist/httpsnippet-lite/esm/targets/r/httr/client.js +0 -1
  86. package/dist/httpsnippet-lite/esm/targets/r/target.d.ts.map +1 -1
  87. package/dist/httpsnippet-lite/esm/targets/ruby/native/client.d.ts.map +1 -1
  88. package/dist/httpsnippet-lite/esm/targets/ruby/native/client.js +0 -1
  89. package/dist/httpsnippet-lite/esm/targets/ruby/target.d.ts.map +1 -1
  90. package/dist/httpsnippet-lite/esm/targets/shell/curl/client.d.ts.map +1 -1
  91. package/dist/httpsnippet-lite/esm/targets/shell/httpie/client.d.ts.map +1 -1
  92. package/dist/httpsnippet-lite/esm/targets/shell/httpie/client.js +0 -1
  93. package/dist/httpsnippet-lite/esm/targets/shell/target.d.ts.map +1 -1
  94. package/dist/httpsnippet-lite/esm/targets/shell/wget/client.d.ts.map +1 -1
  95. package/dist/httpsnippet-lite/esm/targets/shell/wget/client.js +0 -1
  96. package/dist/httpsnippet-lite/esm/targets/swift/helpers.d.ts.map +1 -1
  97. package/dist/httpsnippet-lite/esm/targets/swift/helpers.js +0 -1
  98. package/dist/httpsnippet-lite/esm/targets/swift/nsurlsession/client.d.ts.map +1 -1
  99. package/dist/httpsnippet-lite/esm/targets/swift/nsurlsession/client.js +1 -2
  100. package/dist/httpsnippet-lite/esm/targets/swift/target.d.ts.map +1 -1
  101. package/dist/plugins/dart/http/http.d.ts.map +1 -1
  102. package/dist/plugins/dart/http/http.js +8 -10
  103. package/dist/plugins/http/http11/http11.d.ts.map +1 -1
  104. package/dist/plugins/http/http11/http11.js +5 -10
  105. package/dist/plugins/js/fetch/fetch.d.ts.map +1 -1
  106. package/dist/plugins/js/fetch/fetch.js +3 -9
  107. package/dist/plugins/js/ofetch/ofetch.d.ts.map +1 -1
  108. package/dist/plugins/js/ofetch/ofetch.js +3 -9
  109. package/dist/plugins/node/fetch/fetch.d.ts.map +1 -1
  110. package/dist/plugins/node/fetch/fetch.js +3 -9
  111. package/dist/plugins/node/ofetch/ofetch.d.ts.map +1 -1
  112. package/dist/plugins/node/ofetch/ofetch.js +3 -9
  113. package/dist/plugins/node/undici/undici.d.ts.map +1 -1
  114. package/dist/plugins/node/undici/undici.js +3 -9
  115. package/dist/plugins/shell/curl/curl.d.ts.map +1 -1
  116. package/dist/plugins/shell/curl/curl.js +2 -4
  117. package/dist/snippetz.d.ts.map +1 -1
  118. package/dist/snippetz.js +1 -3
  119. package/dist/types/index.d.ts.map +1 -1
  120. package/dist/utils/convertWithHttpSnippetLite.d.ts.map +1 -1
  121. package/dist/utils/objectToString.d.ts.map +1 -1
  122. package/dist/utils/objectToString.js +2 -4
  123. package/package.json +6 -4
@@ -1 +1 @@
1
- {"version":3,"file":"code-builder.d.ts","sourceRoot":"","sources":["../../../../src/httpsnippet-lite/esm/helpers/code-builder.ts"],"names":[],"mappings":"AAIA,qBAAa,WAAW;IACtB;;;OAGG;gBACS,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK;CAqDlC"}
1
+ {"version":3,"file":"code-builder.d.ts","sourceRoot":"","sources":["../../../../src/httpsnippet-lite/esm/helpers/code-builder.ts"],"names":[],"mappings":"AAGA,qBAAa,WAAW;IACtB;;;OAGG;gBACS,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK;CAqDlC"}
@@ -1,4 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
1
  // @ts-nocheck
3
2
  const DEFAULT_INDENTATION_CHARACTER = '';
4
3
  const DEFAULT_LINE_JOIN = '\n';
@@ -1 +1 @@
1
- {"version":3,"file":"escape.d.ts","sourceRoot":"","sources":["../../../../src/httpsnippet-lite/esm/helpers/escape.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAAC,QAAQ,KAAA,EAAE,OAAO,KAAK,UAmClD;AACD;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,wBACO,CAAA;AACzC;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,wBACO,CAAA"}
1
+ {"version":3,"file":"escape.d.ts","sourceRoot":"","sources":["../../../../src/httpsnippet-lite/esm/helpers/escape.ts"],"names":[],"mappings":"AACA;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAAC,QAAQ,KAAA,EAAE,OAAO,KAAK,UAmClD;AACD;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,wBACO,CAAA;AACzC;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,wBACO,CAAA"}
@@ -1,4 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
1
  // @ts-nocheck
3
2
  /**
4
3
  * Escape characters within a value to make it safe to insert directly into a
@@ -19,31 +18,31 @@ function escapeString(rawValue, options = {}) {
19
18
  if (c === '\b') {
20
19
  return `${escapeChar}b`;
21
20
  }
22
- else if (c === '\t') {
21
+ if (c === '\t') {
23
22
  return `${escapeChar}t`;
24
23
  }
25
- else if (c === '\n') {
24
+ if (c === '\n') {
26
25
  if (escapeNewlines) {
27
26
  return `${escapeChar}n`;
28
27
  }
29
28
  return c; // Don't just continue, or this is caught by < \u0020
30
29
  }
31
- else if (c === '\f') {
30
+ if (c === '\f') {
32
31
  return `${escapeChar}f`;
33
32
  }
34
- else if (c === '\r') {
33
+ if (c === '\r') {
35
34
  if (escapeNewlines) {
36
35
  return `${escapeChar}r`;
37
36
  }
38
37
  return c; // Don't just continue, or this is caught by < \u0020
39
38
  }
40
- else if (c === escapeChar) {
39
+ if (c === escapeChar) {
41
40
  return escapeChar + escapeChar;
42
41
  }
43
- else if (c === delimiter) {
42
+ if (c === delimiter) {
44
43
  return escapeChar + delimiter;
45
44
  }
46
- else if (c < '\u0020' || c > '\u007E') {
45
+ if (c < '\u0020' || c > '\u007E') {
47
46
  // Delegate the trickier non-ASCII cases to the normal algorithm. Some of these
48
47
  // are escaped as \uXXXX, whilst others are represented literally. Since we're
49
48
  // using this primarily for header values that are generally (though not 100%
@@ -1 +1 @@
1
- {"version":3,"file":"form-data.d.ts","sourceRoot":"","sources":["../../../../src/httpsnippet-lite/esm/helpers/form-data.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,MAAM,0BAMiB,CAAA;AAapC,eAAO,MAAM,gBAAgB,kEAW5B,CAAA"}
1
+ {"version":3,"file":"form-data.d.ts","sourceRoot":"","sources":["../../../../src/httpsnippet-lite/esm/helpers/form-data.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,MAAM,0BAMiB,CAAA;AAapC,eAAO,MAAM,gBAAgB,kEAW5B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"headers.d.ts","sourceRoot":"","sources":["../../../../src/httpsnippet-lite/esm/helpers/headers.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,aAAa,iDAGvB,CAAA;AACH;;GAEG;AACH,eAAO,MAAM,SAAS,kCAMrB,CAAA;AACD;;GAEG;AACH,eAAO,MAAM,SAAS,sCACiB,CAAA;AAQvC;;GAEG;AACH,eAAO,MAAM,cAAc,4BAC2B,CAAA"}
1
+ {"version":3,"file":"headers.d.ts","sourceRoot":"","sources":["../../../../src/httpsnippet-lite/esm/helpers/headers.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,eAAO,MAAM,aAAa,iDAGvB,CAAA;AACH;;GAEG;AACH,eAAO,MAAM,SAAS,kCAMrB,CAAA;AACD;;GAEG;AACH,eAAO,MAAM,SAAS,sCACiB,CAAA;AAQvC;;GAEG;AACH,eAAO,MAAM,cAAc,4BAC2B,CAAA"}
@@ -1,4 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
1
  // @ts-nocheck
3
2
  /**
4
3
  * Given a headers object retrieve a specific header out of it via a case-insensitive key.
@@ -1 +1 @@
1
- {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../src/httpsnippet-lite/esm/helpers/reducer.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,sCAiBnB,CAAA"}
1
+ {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../src/httpsnippet-lite/esm/helpers/reducer.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO,sCAiBnB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../src/httpsnippet-lite/esm/helpers/shell.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,KAAK,4BAQjB,CAAA;AACD,eAAO,MAAM,MAAM,qBACgC,CAAA"}
1
+ {"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../src/httpsnippet-lite/esm/helpers/shell.ts"],"names":[],"mappings":"AACA;;;GAGG;AACH,eAAO,MAAM,KAAK,4BAQjB,CAAA;AACD,eAAO,MAAM,MAAM,qBACgC,CAAA"}
@@ -1,4 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
1
  // @ts-nocheck
3
2
  /**
4
3
  * Use 'strong quoting' using single quotes so that we only need to deal with nested single quote characters.
@@ -1 +1 @@
1
- {"version":3,"file":"url.d.ts","sourceRoot":"","sources":["../../../../src/httpsnippet-lite/esm/helpers/url.ts"],"names":[],"mappings":"AAEA,wBAAgB,cAAc,CAAC,GAAG,KAAA,mBAWjC;AACD,qBAAa,WAAY,SAAQ,GAAG;IAClC,IAAI,IAAI,WAEP;CACF"}
1
+ {"version":3,"file":"url.d.ts","sourceRoot":"","sources":["../../../../src/httpsnippet-lite/esm/helpers/url.ts"],"names":[],"mappings":"AACA,wBAAgB,cAAc,CAAC,GAAG,KAAA,mBAUjC;AACD,qBAAa,WAAY,SAAQ,GAAG;IAClC,IAAI,IAAI,WAEP;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/httpsnippet-lite/esm/helpers/utils.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,aAMxB,CAAA;AACL,eAAO,MAAM,OAAO,wBAOnB,CAAA"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/httpsnippet-lite/esm/helpers/utils.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,aAMxB,CAAA;AACL,eAAO,MAAM,OAAO,wBAOnB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/c/libcurl/client.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;CA2CnB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/c/libcurl/client.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;CA2CnB,CAAA"}
@@ -1,7 +1,6 @@
1
1
  import { CodeBuilder } from '../../../helpers/code-builder.js';
2
2
  import { escapeForDoubleQuotes } from '../../../helpers/escape.js';
3
3
 
4
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5
4
  // @ts-nocheck
6
5
  const libcurl = {
7
6
  info: {
@@ -1 +1 @@
1
- {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/c/target.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;CAUb,CAAA"}
1
+ {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/c/target.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;CAUb,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/clojure/clj_http/client.ts"],"names":[],"mappings":"AAwFA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;CAqGpB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/clojure/clj_http/client.ts"],"names":[],"mappings":"AAuFA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;CAqGpB,CAAA"}
@@ -1,7 +1,6 @@
1
1
  import { CodeBuilder } from '../../../helpers/code-builder.js';
2
2
  import { getHeaderName, getHeader } from '../../../helpers/headers.js';
3
3
 
4
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5
4
  // @ts-nocheck
6
5
  /**
7
6
  * @description
@@ -1 +1 @@
1
- {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/clojure/target.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;CAUnB,CAAA"}
1
+ {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/clojure/target.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;CAUnB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/csharp/httpclient/client.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,UAAU;;;;;;;;;;;;;CAoJtB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/csharp/httpclient/client.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,UAAU;;;;;;;;;;;;;CAoJtB,CAAA"}
@@ -2,7 +2,6 @@ import { CodeBuilder } from '../../../helpers/code-builder.js';
2
2
  import { escapeForDoubleQuotes } from '../../../helpers/escape.js';
3
3
  import { getHeader } from '../../../helpers/headers.js';
4
4
 
5
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
6
5
  // @ts-nocheck
7
6
  const getDecompressionMethods = (allHeaders) => {
8
7
  let acceptEncodings = getHeader(allHeaders, 'accept-encoding');
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/csharp/restsharp/client.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;CA4CrB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/csharp/restsharp/client.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;CA4CrB,CAAA"}
@@ -2,7 +2,6 @@ import { CodeBuilder } from '../../../helpers/code-builder.js';
2
2
  import { escapeForDoubleQuotes } from '../../../helpers/escape.js';
3
3
  import { getHeader } from '../../../helpers/headers.js';
4
4
 
5
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
6
5
  // @ts-nocheck
7
6
  const restsharp = {
8
7
  info: {
@@ -1 +1 @@
1
- {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/csharp/target.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWlB,CAAA"}
1
+ {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/csharp/target.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWlB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/go/native/client.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAkIlB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/go/native/client.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAkIlB,CAAA"}
@@ -1,7 +1,6 @@
1
1
  import { CodeBuilder } from '../../../helpers/code-builder.js';
2
2
  import { escapeForDoubleQuotes } from '../../../helpers/escape.js';
3
3
 
4
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5
4
  // @ts-nocheck
6
5
  /**
7
6
  * @description
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/java/asynchttp/client.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,SAAS;;;;;;;;;;;;;CAiCrB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/java/asynchttp/client.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,SAAS;;;;;;;;;;;;;CAiCrB,CAAA"}
@@ -1,7 +1,6 @@
1
1
  import { CodeBuilder } from '../../../helpers/code-builder.js';
2
2
  import { escapeForDoubleQuotes } from '../../../helpers/escape.js';
3
3
 
4
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5
4
  // @ts-nocheck
6
5
  /**
7
6
  * @description
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/java/nethttp/client.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,OAAO;;;;;;;;;;;;;CAoCnB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/java/nethttp/client.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,OAAO;;;;;;;;;;;;;CAoCnB,CAAA"}
@@ -1,7 +1,6 @@
1
1
  import { CodeBuilder } from '../../../helpers/code-builder.js';
2
2
  import { escapeForDoubleQuotes } from '../../../helpers/escape.js';
3
3
 
4
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5
4
  // @ts-nocheck
6
5
  /**
7
6
  * @description
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/java/okhttp/client.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CA0DlB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/java/okhttp/client.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CA0DlB,CAAA"}
@@ -1,7 +1,6 @@
1
1
  import { CodeBuilder } from '../../../helpers/code-builder.js';
2
2
  import { escapeForDoubleQuotes } from '../../../helpers/escape.js';
3
3
 
4
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5
4
  // @ts-nocheck
6
5
  /**
7
6
  * @description
@@ -1 +1 @@
1
- {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/java/target.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAahB,CAAA"}
1
+ {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/java/target.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAahB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/java/unirest/client.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,OAAO;;;;;;;;;;;;;CAiCnB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/java/unirest/client.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,OAAO;;;;;;;;;;;;;CAiCnB,CAAA"}
@@ -1,7 +1,6 @@
1
1
  import { CodeBuilder } from '../../../helpers/code-builder.js';
2
2
  import { escapeForDoubleQuotes } from '../../../helpers/escape.js';
3
3
 
4
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5
4
  // @ts-nocheck
6
5
  /**
7
6
  * @description
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/javascript/axios/client.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;CAgFjB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/javascript/axios/client.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;CAgFjB,CAAA"}
@@ -1,7 +1,6 @@
1
1
  import stringifyObject from 'stringify-object';
2
2
  import { CodeBuilder } from '../../../helpers/code-builder.js';
3
3
 
4
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5
4
  // @ts-nocheck
6
5
  /**
7
6
  * @description
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/javascript/fetch/client.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,KAAK;;;;;;;;;;;;;CA6FjB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/javascript/fetch/client.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,KAAK;;;;;;;;;;;;;CA6FjB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/javascript/jquery/client.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CA4ElB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/javascript/jquery/client.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CA4ElB,CAAA"}
@@ -2,7 +2,6 @@ import stringifyObject from 'stringify-object';
2
2
  import { CodeBuilder } from '../../../helpers/code-builder.js';
3
3
  import { hasHeader, getHeader, getHeaderName } from '../../../helpers/headers.js';
4
4
 
5
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
6
5
  // @ts-nocheck
7
6
  /**
8
7
  * @description
@@ -1 +1 @@
1
- {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/javascript/target.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAatB,CAAA"}
1
+ {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/javascript/target.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAatB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/javascript/xhr/client.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,GAAG;;;;;;;;;;;;;CA+Ef,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/javascript/xhr/client.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,GAAG;;;;;;;;;;;;;CA+Ef,CAAA"}
@@ -3,7 +3,6 @@ import { CodeBuilder } from '../../../helpers/code-builder.js';
3
3
  import { escapeForSingleQuotes } from '../../../helpers/escape.js';
4
4
  import { hasHeader, getHeader, getHeaderName } from '../../../helpers/headers.js';
5
5
 
6
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
7
6
  // @ts-nocheck
8
7
  /**
9
8
  * @description
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/kotlin/okhttp/client.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CA0DlB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/kotlin/okhttp/client.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CA0DlB,CAAA"}
@@ -1,7 +1,6 @@
1
1
  import { CodeBuilder } from '../../../helpers/code-builder.js';
2
2
  import { escapeForDoubleQuotes } from '../../../helpers/escape.js';
3
3
 
4
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5
4
  // @ts-nocheck
6
5
  /**
7
6
  * @description
@@ -1 +1 @@
1
- {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/kotlin/target.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;CAUlB,CAAA"}
1
+ {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/kotlin/target.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;CAUlB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/node/axios/client.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;CAsEjB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/node/axios/client.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;CAsEjB,CAAA"}
@@ -1,7 +1,6 @@
1
1
  import stringifyObject from 'stringify-object';
2
2
  import { CodeBuilder } from '../../../helpers/code-builder.js';
3
3
 
4
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5
4
  // @ts-nocheck
6
5
  /**
7
6
  * @description
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/node/fetch/client.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;CA4HjB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/node/fetch/client.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;CA4HjB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/node/native/client.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAmElB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/node/native/client.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAmElB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/node/request/client.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;CAqGnB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/node/request/client.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;CAqGnB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/node/target.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAchB,CAAA"}
1
+ {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/node/target.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAchB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/node/unirest/client.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;CAiHnB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/node/unirest/client.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;CAiHnB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/objc/helpers.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,aAAa,mEAOzB,CAAA;AACD;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,uCA2BjC,CAAA"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/objc/helpers.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,aAAa,mEAOzB,CAAA;AACD;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,uCA2BjC,CAAA"}
@@ -1,4 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
1
  // @ts-nocheck
3
2
  /**
4
3
  * Create a string corresponding to a valid declaration and initialization of an Objective-C object literal.
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/objc/nsurlsession/client.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,YAAY;;;;;;;;;;;;;CAwKxB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/objc/nsurlsession/client.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,YAAY;;;;;;;;;;;;;CAwKxB,CAAA"}
@@ -1,7 +1,6 @@
1
1
  import { CodeBuilder } from '../../../helpers/code-builder.js';
2
2
  import { nsDeclaration } from '../helpers.js';
3
3
 
4
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5
4
  // @ts-nocheck
6
5
  /**
7
6
  * @description
@@ -1 +1 @@
1
- {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/objc/target.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;CAUhB,CAAA"}
1
+ {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/objc/target.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;CAUhB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/ocaml/cohttp/client.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAyDlB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/ocaml/cohttp/client.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAyDlB,CAAA"}
@@ -1,7 +1,6 @@
1
1
  import { CodeBuilder } from '../../../helpers/code-builder.js';
2
2
  import { escapeForDoubleQuotes } from '../../../helpers/escape.js';
3
3
 
4
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5
4
  // @ts-nocheck
6
5
  /**
7
6
  * @description
@@ -1 +1 @@
1
- {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/ocaml/target.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;CAUjB,CAAA"}
1
+ {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/ocaml/target.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;CAUjB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/php/curl/client.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;CAkIhB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/php/curl/client.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;CAkIhB,CAAA"}
@@ -2,7 +2,6 @@ import { CodeBuilder } from '../../../helpers/code-builder.js';
2
2
  import { escapeForDoubleQuotes } from '../../../helpers/escape.js';
3
3
  import { convertType } from '../helpers.js';
4
4
 
5
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
6
5
  // @ts-nocheck
7
6
  /**
8
7
  * @description
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/php/guzzle/client.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;CA4HlB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/php/guzzle/client.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;CA0HlB,CAAA"}
@@ -3,7 +3,6 @@ import { escapeForSingleQuotes } from '../../../helpers/escape.js';
3
3
  import { hasHeader, getHeader, getHeaderName } from '../../../helpers/headers.js';
4
4
  import { convertType } from '../helpers.js';
5
5
 
6
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
7
6
  // @ts-nocheck
8
7
  /**
9
8
  * @description
@@ -43,7 +42,7 @@ const guzzle = {
43
42
  case 'multipart/form-data': {
44
43
  const fields = [];
45
44
  if (postData.params) {
46
- postData.params.forEach(function (param) {
45
+ postData.params.forEach((param) => {
47
46
  if (param.fileName) {
48
47
  const field = {
49
48
  name: param.name,
@@ -88,9 +87,7 @@ const guzzle = {
88
87
  // construct headers
89
88
  const headers = Object.keys(headersObj)
90
89
  .sort()
91
- .map(function (key) {
92
- return `${opts.indent}${opts.indent}'${key}' => '${escapeForSingleQuotes(headersObj[key])}',`;
93
- });
90
+ .map((key) => `${opts.indent}${opts.indent}'${key}' => '${escapeForSingleQuotes(headersObj[key])}',`);
94
91
  // construct cookies
95
92
  const cookieString = cookies
96
93
  .map((cookie) => `${encodeURIComponent(cookie.name)}=${encodeURIComponent(cookie.value)}`)
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/php/helpers.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,iDAgCvB,CAAA;AACD,eAAO,MAAM,gBAAgB,UA4B5B,CAAA"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/php/helpers.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,iDAgCvB,CAAA;AACD,eAAO,MAAM,gBAAgB,UA4B5B,CAAA"}
@@ -1,6 +1,5 @@
1
1
  import { escapeString } from '../../helpers/escape.js';
2
2
 
3
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
4
3
  // @ts-nocheck
5
4
  const convertType = (obj, indent, lastIndent) => {
6
5
  lastIndent = lastIndent || '';
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/php/http1/client.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;CAmFjB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/php/http1/client.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;CAmFjB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/php/http2/client.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;CAgIjB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/php/http2/client.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;CAgIjB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/php/target.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaf,CAAA"}
1
+ {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/php/target.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaf,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/powershell/common.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,yBAAyB;;;;;;;;SA4DrC,CAAA"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/powershell/common.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,yBAAyB;;;;;;;;SA4DrC,CAAA"}
@@ -2,7 +2,6 @@ import { CodeBuilder } from '../../helpers/code-builder.js';
2
2
  import { escapeString } from '../../helpers/escape.js';
3
3
  import { getHeader } from '../../helpers/headers.js';
4
4
 
5
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
6
5
  // @ts-nocheck
7
6
  const generatePowershellConvert = (command) => {
8
7
  const convert = ({ method, headersObj, cookies, uriObj, fullUrl, postData, allHeaders, }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/powershell/restmethod/client.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;CAQtB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/powershell/restmethod/client.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;CAQtB,CAAA"}
@@ -1,6 +1,5 @@
1
1
  import { generatePowershellConvert } from '../common.js';
2
2
 
3
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
4
3
  // @ts-nocheck
5
4
  const restmethod = {
6
5
  info: {
@@ -1 +1 @@
1
- {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/powershell/target.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWtB,CAAA"}
1
+ {"version":3,"file":"target.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/powershell/target.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWtB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/powershell/webrequest/client.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;CAQtB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/powershell/webrequest/client.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;CAQtB,CAAA"}
@@ -1,6 +1,5 @@
1
1
  import { generatePowershellConvert } from '../common.js';
2
2
 
3
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
4
3
  // @ts-nocheck
5
4
  const webrequest = {
6
5
  info: {
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/python/helpers.ts"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,kDA+CjC,CAAA"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/httpsnippet-lite/esm/targets/python/helpers.ts"],"names":[],"mappings":"AAmBA;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,kDA+CjC,CAAA"}
@@ -1,4 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
1
  // @ts-nocheck
3
2
  /**
4
3
  * Create a string corresponding to a Dictionary or Array literal representation with pretty option
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/python/python3/client.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;CA+EnB,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/httpsnippet-lite/esm/targets/python/python3/client.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;CA+EnB,CAAA"}
@@ -1,7 +1,6 @@
1
1
  import { CodeBuilder } from '../../../helpers/code-builder.js';
2
2
  import { escapeForDoubleQuotes } from '../../../helpers/escape.js';
3
3
 
4
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5
4
  // @ts-nocheck
6
5
  /**
7
6
  * @description