@relative-ci/core 5.4.0 → 6.0.0-beta.3

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 (189) hide show
  1. package/lib/cjs/__/@actions/http-client/lib/index.js +1 -1
  2. package/lib/cjs/__/@octokit/core/dist-src/version.js +1 -1
  3. package/lib/cjs/__/@octokit/core/dist-src/version.js.map +1 -1
  4. package/lib/cjs/__/@octokit/graphql/dist-bundle/index.js +4 -0
  5. package/lib/cjs/__/@octokit/graphql/dist-bundle/index.js.map +1 -1
  6. package/lib/cjs/__/@octokit/request/dist-bundle/index.js +10 -6
  7. package/lib/cjs/__/@octokit/request/dist-bundle/index.js.map +1 -1
  8. package/lib/cjs/__/content-type/dist/index.js +183 -0
  9. package/lib/cjs/__/content-type/dist/index.js.map +1 -0
  10. package/lib/cjs/__/cross-spawn/index.js +1 -1
  11. package/lib/cjs/__/{execa → env-ci/__/execa}/index.js +1 -1
  12. package/lib/cjs/__/env-ci/__/execa/index.js.map +1 -0
  13. package/lib/cjs/__/env-ci/__/execa/lib/command.js.map +1 -0
  14. package/lib/cjs/__/env-ci/__/execa/lib/error.js.map +1 -0
  15. package/lib/cjs/__/env-ci/__/execa/lib/promise.js.map +1 -0
  16. package/lib/cjs/__/env-ci/__/execa/lib/stdio.js.map +1 -0
  17. package/lib/cjs/__/{execa → env-ci/__/execa}/lib/stream.js +1 -1
  18. package/lib/cjs/__/env-ci/__/execa/lib/stream.js.map +1 -0
  19. package/lib/cjs/__/env-ci/__/execa/lib/verbose.js.map +1 -0
  20. package/lib/cjs/__/env-ci/__/get-stream/source/array-buffer.js.map +1 -0
  21. package/lib/cjs/__/env-ci/__/human-signals/build/src/core.js.map +1 -0
  22. package/lib/cjs/__/env-ci/__/human-signals/build/src/main.js.map +1 -0
  23. package/lib/cjs/__/env-ci/__/human-signals/build/src/realtime.js.map +1 -0
  24. package/lib/cjs/__/env-ci/__/human-signals/build/src/signals.js.map +1 -0
  25. package/lib/cjs/__/env-ci/__/is-stream/index.js.map +1 -0
  26. package/lib/cjs/__/{npm-run-path → env-ci/__/npm-run-path}/index.js +1 -1
  27. package/lib/cjs/__/env-ci/__/npm-run-path/index.js.map +1 -0
  28. package/lib/cjs/__/env-ci/__/path-key/index.js.map +1 -0
  29. package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/index.js.map +1 -0
  30. package/lib/cjs/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +1 -0
  31. package/lib/cjs/__/env-ci/__/strip-final-newline/index.js.map +1 -0
  32. package/lib/cjs/__/env-ci/lib/git.js +1 -1
  33. package/lib/cjs/__/json-with-bigint/json-with-bigint.js +419 -60
  34. package/lib/cjs/__/json-with-bigint/json-with-bigint.js.map +1 -1
  35. package/lib/cjs/__/undici/lib/core/request.js +12 -1
  36. package/lib/cjs/__/undici/lib/core/request.js.map +1 -1
  37. package/lib/cjs/__/undici/lib/dispatcher/agent.js +0 -1
  38. package/lib/cjs/__/undici/lib/dispatcher/agent.js.map +1 -1
  39. package/lib/cjs/__/undici/lib/dispatcher/client-h1.js +151 -25
  40. package/lib/cjs/__/undici/lib/dispatcher/client-h1.js.map +1 -1
  41. package/lib/cjs/__/undici/lib/dispatcher/dispatcher-base.js +1 -0
  42. package/lib/cjs/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -1
  43. package/lib/cjs/__/undici/lib/handler/retry-handler.js +34 -0
  44. package/lib/cjs/__/undici/lib/handler/retry-handler.js.map +1 -1
  45. package/lib/cjs/__/undici/lib/web/cookies/parse.js +16 -23
  46. package/lib/cjs/__/undici/lib/web/cookies/parse.js.map +1 -1
  47. package/lib/cjs/__/undici/lib/web/cookies/util.js +79 -9
  48. package/lib/cjs/__/undici/lib/web/cookies/util.js.map +1 -1
  49. package/lib/cjs/__/undici/lib/web/websocket/receiver.js +31 -8
  50. package/lib/cjs/__/undici/lib/web/websocket/receiver.js.map +1 -1
  51. package/lib/cjs/__/undici/lib/web/websocket/websocket.js +4 -1
  52. package/lib/cjs/__/undici/lib/web/websocket/websocket.js.map +1 -1
  53. package/lib/cjs/_virtual/_commonjsHelpers.js +1 -1
  54. package/lib/cjs/_virtual/index10.js +2 -2
  55. package/lib/cjs/_virtual/index11.js +2 -2
  56. package/lib/cjs/_virtual/index13.js +2 -2
  57. package/lib/cjs/_virtual/index9.js +3 -3
  58. package/lib/cjs/env/load.js +1 -1
  59. package/lib/cjs/env/load.js.map +1 -1
  60. package/lib/esm/__/@actions/http-client/lib/index.js +1 -1
  61. package/lib/esm/__/@octokit/core/dist-src/version.js +1 -1
  62. package/lib/esm/__/@octokit/core/dist-src/version.js.map +1 -1
  63. package/lib/esm/__/@octokit/graphql/dist-bundle/index.js +4 -0
  64. package/lib/esm/__/@octokit/graphql/dist-bundle/index.js.map +1 -1
  65. package/lib/esm/__/@octokit/request/dist-bundle/index.js +11 -7
  66. package/lib/esm/__/@octokit/request/dist-bundle/index.js.map +1 -1
  67. package/lib/esm/__/content-type/dist/index.js +181 -0
  68. package/lib/esm/__/content-type/dist/index.js.map +1 -0
  69. package/lib/esm/__/cross-spawn/index.js +1 -1
  70. package/lib/esm/__/{execa → env-ci/__/execa}/index.js +1 -1
  71. package/lib/esm/__/env-ci/__/execa/index.js.map +1 -0
  72. package/lib/esm/__/env-ci/__/execa/lib/command.js.map +1 -0
  73. package/lib/esm/__/env-ci/__/execa/lib/error.js.map +1 -0
  74. package/lib/esm/__/env-ci/__/execa/lib/promise.js.map +1 -0
  75. package/lib/esm/__/env-ci/__/execa/lib/stdio.js.map +1 -0
  76. package/lib/esm/__/{execa → env-ci/__/execa}/lib/stream.js +1 -1
  77. package/lib/esm/__/env-ci/__/execa/lib/stream.js.map +1 -0
  78. package/lib/esm/__/env-ci/__/execa/lib/verbose.js.map +1 -0
  79. package/lib/esm/__/env-ci/__/get-stream/source/array-buffer.js.map +1 -0
  80. package/lib/esm/__/env-ci/__/human-signals/build/src/core.js.map +1 -0
  81. package/lib/esm/__/env-ci/__/human-signals/build/src/main.js.map +1 -0
  82. package/lib/esm/__/env-ci/__/human-signals/build/src/realtime.js.map +1 -0
  83. package/lib/esm/__/env-ci/__/human-signals/build/src/signals.js.map +1 -0
  84. package/lib/esm/__/env-ci/__/is-stream/index.js.map +1 -0
  85. package/lib/esm/__/{npm-run-path → env-ci/__/npm-run-path}/index.js +1 -1
  86. package/lib/esm/__/env-ci/__/npm-run-path/index.js.map +1 -0
  87. package/lib/esm/__/env-ci/__/path-key/index.js.map +1 -0
  88. package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/index.js.map +1 -0
  89. package/lib/esm/__/env-ci/__/signal-exit/dist/mjs/signals.js.map +1 -0
  90. package/lib/esm/__/env-ci/__/strip-final-newline/index.js.map +1 -0
  91. package/lib/esm/__/env-ci/lib/git.js +1 -1
  92. package/lib/esm/__/json-with-bigint/json-with-bigint.js +419 -60
  93. package/lib/esm/__/json-with-bigint/json-with-bigint.js.map +1 -1
  94. package/lib/esm/__/undici/lib/core/request.js +12 -1
  95. package/lib/esm/__/undici/lib/core/request.js.map +1 -1
  96. package/lib/esm/__/undici/lib/dispatcher/agent.js +0 -1
  97. package/lib/esm/__/undici/lib/dispatcher/agent.js.map +1 -1
  98. package/lib/esm/__/undici/lib/dispatcher/client-h1.js +151 -25
  99. package/lib/esm/__/undici/lib/dispatcher/client-h1.js.map +1 -1
  100. package/lib/esm/__/undici/lib/dispatcher/dispatcher-base.js +1 -0
  101. package/lib/esm/__/undici/lib/dispatcher/dispatcher-base.js.map +1 -1
  102. package/lib/esm/__/undici/lib/handler/retry-handler.js +34 -0
  103. package/lib/esm/__/undici/lib/handler/retry-handler.js.map +1 -1
  104. package/lib/esm/__/undici/lib/web/cookies/parse.js +16 -23
  105. package/lib/esm/__/undici/lib/web/cookies/parse.js.map +1 -1
  106. package/lib/esm/__/undici/lib/web/cookies/util.js +79 -9
  107. package/lib/esm/__/undici/lib/web/cookies/util.js.map +1 -1
  108. package/lib/esm/__/undici/lib/web/websocket/receiver.js +31 -8
  109. package/lib/esm/__/undici/lib/web/websocket/receiver.js.map +1 -1
  110. package/lib/esm/__/undici/lib/web/websocket/websocket.js +4 -1
  111. package/lib/esm/__/undici/lib/web/websocket/websocket.js.map +1 -1
  112. package/lib/esm/_virtual/_commonjsHelpers.js +1 -1
  113. package/lib/esm/_virtual/index10.js +2 -2
  114. package/lib/esm/_virtual/index11.js +2 -2
  115. package/lib/esm/_virtual/index13.js +2 -2
  116. package/lib/esm/_virtual/index9.js +3 -3
  117. package/lib/esm/env/load.js +1 -1
  118. package/lib/esm/env/load.js.map +1 -1
  119. package/package.json +12 -12
  120. package/lib/cjs/__/execa/index.js.map +0 -1
  121. package/lib/cjs/__/execa/lib/command.js.map +0 -1
  122. package/lib/cjs/__/execa/lib/error.js.map +0 -1
  123. package/lib/cjs/__/execa/lib/promise.js.map +0 -1
  124. package/lib/cjs/__/execa/lib/stdio.js.map +0 -1
  125. package/lib/cjs/__/execa/lib/stream.js.map +0 -1
  126. package/lib/cjs/__/execa/lib/verbose.js.map +0 -1
  127. package/lib/cjs/__/fast-content-type-parse/index.js +0 -182
  128. package/lib/cjs/__/fast-content-type-parse/index.js.map +0 -1
  129. package/lib/cjs/__/get-stream/source/array-buffer.js.map +0 -1
  130. package/lib/cjs/__/human-signals/build/src/core.js.map +0 -1
  131. package/lib/cjs/__/human-signals/build/src/main.js.map +0 -1
  132. package/lib/cjs/__/human-signals/build/src/realtime.js.map +0 -1
  133. package/lib/cjs/__/human-signals/build/src/signals.js.map +0 -1
  134. package/lib/cjs/__/is-stream/index.js.map +0 -1
  135. package/lib/cjs/__/npm-run-path/__/path-key/index.js.map +0 -1
  136. package/lib/cjs/__/npm-run-path/index.js.map +0 -1
  137. package/lib/cjs/__/signal-exit/dist/mjs/index.js.map +0 -1
  138. package/lib/cjs/__/signal-exit/dist/mjs/signals.js.map +0 -1
  139. package/lib/cjs/__/strip-final-newline/index.js.map +0 -1
  140. package/lib/esm/__/execa/index.js.map +0 -1
  141. package/lib/esm/__/execa/lib/command.js.map +0 -1
  142. package/lib/esm/__/execa/lib/error.js.map +0 -1
  143. package/lib/esm/__/execa/lib/promise.js.map +0 -1
  144. package/lib/esm/__/execa/lib/stdio.js.map +0 -1
  145. package/lib/esm/__/execa/lib/stream.js.map +0 -1
  146. package/lib/esm/__/execa/lib/verbose.js.map +0 -1
  147. package/lib/esm/__/fast-content-type-parse/index.js +0 -180
  148. package/lib/esm/__/fast-content-type-parse/index.js.map +0 -1
  149. package/lib/esm/__/get-stream/source/array-buffer.js.map +0 -1
  150. package/lib/esm/__/human-signals/build/src/core.js.map +0 -1
  151. package/lib/esm/__/human-signals/build/src/main.js.map +0 -1
  152. package/lib/esm/__/human-signals/build/src/realtime.js.map +0 -1
  153. package/lib/esm/__/human-signals/build/src/signals.js.map +0 -1
  154. package/lib/esm/__/is-stream/index.js.map +0 -1
  155. package/lib/esm/__/npm-run-path/__/path-key/index.js.map +0 -1
  156. package/lib/esm/__/npm-run-path/index.js.map +0 -1
  157. package/lib/esm/__/signal-exit/dist/mjs/index.js.map +0 -1
  158. package/lib/esm/__/signal-exit/dist/mjs/signals.js.map +0 -1
  159. package/lib/esm/__/strip-final-newline/index.js.map +0 -1
  160. /package/lib/cjs/__/{execa → env-ci/__/execa}/lib/command.js +0 -0
  161. /package/lib/cjs/__/{execa → env-ci/__/execa}/lib/error.js +0 -0
  162. /package/lib/cjs/__/{execa → env-ci/__/execa}/lib/promise.js +0 -0
  163. /package/lib/cjs/__/{execa → env-ci/__/execa}/lib/stdio.js +0 -0
  164. /package/lib/cjs/__/{execa → env-ci/__/execa}/lib/verbose.js +0 -0
  165. /package/lib/cjs/__/{get-stream → env-ci/__/get-stream}/source/array-buffer.js +0 -0
  166. /package/lib/cjs/__/{human-signals → env-ci/__/human-signals}/build/src/core.js +0 -0
  167. /package/lib/cjs/__/{human-signals → env-ci/__/human-signals}/build/src/main.js +0 -0
  168. /package/lib/cjs/__/{human-signals → env-ci/__/human-signals}/build/src/realtime.js +0 -0
  169. /package/lib/cjs/__/{human-signals → env-ci/__/human-signals}/build/src/signals.js +0 -0
  170. /package/lib/cjs/__/{is-stream → env-ci/__/is-stream}/index.js +0 -0
  171. /package/lib/cjs/__/{npm-run-path → env-ci}/__/path-key/index.js +0 -0
  172. /package/lib/cjs/__/{signal-exit → env-ci/__/signal-exit}/dist/mjs/index.js +0 -0
  173. /package/lib/cjs/__/{signal-exit → env-ci/__/signal-exit}/dist/mjs/signals.js +0 -0
  174. /package/lib/cjs/__/{strip-final-newline → env-ci/__/strip-final-newline}/index.js +0 -0
  175. /package/lib/esm/__/{execa → env-ci/__/execa}/lib/command.js +0 -0
  176. /package/lib/esm/__/{execa → env-ci/__/execa}/lib/error.js +0 -0
  177. /package/lib/esm/__/{execa → env-ci/__/execa}/lib/promise.js +0 -0
  178. /package/lib/esm/__/{execa → env-ci/__/execa}/lib/stdio.js +0 -0
  179. /package/lib/esm/__/{execa → env-ci/__/execa}/lib/verbose.js +0 -0
  180. /package/lib/esm/__/{get-stream → env-ci/__/get-stream}/source/array-buffer.js +0 -0
  181. /package/lib/esm/__/{human-signals → env-ci/__/human-signals}/build/src/core.js +0 -0
  182. /package/lib/esm/__/{human-signals → env-ci/__/human-signals}/build/src/main.js +0 -0
  183. /package/lib/esm/__/{human-signals → env-ci/__/human-signals}/build/src/realtime.js +0 -0
  184. /package/lib/esm/__/{human-signals → env-ci/__/human-signals}/build/src/signals.js +0 -0
  185. /package/lib/esm/__/{is-stream → env-ci/__/is-stream}/index.js +0 -0
  186. /package/lib/esm/__/{npm-run-path → env-ci}/__/path-key/index.js +0 -0
  187. /package/lib/esm/__/{signal-exit → env-ci/__/signal-exit}/dist/mjs/index.js +0 -0
  188. /package/lib/esm/__/{signal-exit → env-ci/__/signal-exit}/dist/mjs/signals.js +0 -0
  189. /package/lib/esm/__/{strip-final-newline → env-ci/__/strip-final-newline}/index.js +0 -0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('../../../../_virtual/index11.js');
3
+ var index = require('../../../../_virtual/index10.js');
4
4
  var require$$2 = require('node:http');
5
5
  var require$$3 = require('node:https');
6
6
  var proxy = require('./proxy.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const VERSION = "7.0.6";
3
+ const VERSION = "7.0.7";
4
4
 
5
5
  exports.VERSION = VERSION;
6
6
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sources":["../../../../../../../../node_modules/@octokit/core/dist-src/version.js"],"sourcesContent":["const VERSION = \"7.0.6\";\nexport {\n VERSION\n};\n"],"names":[],"mappings":";;AAAK,MAAC,OAAO,GAAG;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"version.js","sources":["../../../../../../../../node_modules/@octokit/core/dist-src/version.js"],"sourcesContent":["const VERSION = \"7.0.7\";\nexport {\n VERSION\n};\n"],"names":[],"mappings":";;AAAK,MAAC,OAAO,GAAG;;;;","x_google_ignoreList":[0]}
@@ -25,6 +25,9 @@ var GraphqlResponseError = class extends Error {
25
25
  Error.captureStackTrace(this, this.constructor);
26
26
  }
27
27
  }
28
+ request;
29
+ headers;
30
+ response;
28
31
  name = "GraphqlResponseError";
29
32
  errors;
30
33
  data;
@@ -119,6 +122,7 @@ function withCustomRequest(customRequest) {
119
122
  url: "/graphql"
120
123
  });
121
124
  }
125
+ /* v8 ignore if -- @preserve */
122
126
 
123
127
  exports.GraphqlResponseError = GraphqlResponseError;
124
128
  exports.withCustomRequest = withCustomRequest;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/@octokit/graphql/dist-bundle/index.js"],"sourcesContent":["// pkg/dist-src/index.js\nimport { request } from \"@octokit/request\";\nimport { getUserAgent } from \"universal-user-agent\";\n\n// pkg/dist-src/version.js\nvar VERSION = \"0.0.0-development\";\n\n// pkg/dist-src/with-defaults.js\nimport { request as Request2 } from \"@octokit/request\";\n\n// pkg/dist-src/graphql.js\nimport { request as Request } from \"@octokit/request\";\n\n// pkg/dist-src/error.js\nfunction _buildMessageForResponseErrors(data) {\n return `Request failed due to following response errors:\n` + data.errors.map((e) => ` - ${e.message}`).join(\"\\n\");\n}\nvar GraphqlResponseError = class extends Error {\n constructor(request2, headers, response) {\n super(_buildMessageForResponseErrors(response));\n this.request = request2;\n this.headers = headers;\n this.response = response;\n this.errors = response.errors;\n this.data = response.data;\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n }\n name = \"GraphqlResponseError\";\n errors;\n data;\n};\n\n// pkg/dist-src/graphql.js\nvar NON_VARIABLE_OPTIONS = [\n \"method\",\n \"baseUrl\",\n \"url\",\n \"headers\",\n \"request\",\n \"query\",\n \"mediaType\",\n \"operationName\"\n];\nvar FORBIDDEN_VARIABLE_OPTIONS = [\"query\", \"method\", \"url\"];\nvar GHES_V3_SUFFIX_REGEX = /\\/api\\/v3\\/?$/;\nfunction graphql(request2, query, options) {\n if (options) {\n if (typeof query === \"string\" && \"query\" in options) {\n return Promise.reject(\n new Error(`[@octokit/graphql] \"query\" cannot be used as variable name`)\n );\n }\n for (const key in options) {\n if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) continue;\n return Promise.reject(\n new Error(\n `[@octokit/graphql] \"${key}\" cannot be used as variable name`\n )\n );\n }\n }\n const parsedOptions = typeof query === \"string\" ? Object.assign({ query }, options) : query;\n const requestOptions = Object.keys(\n parsedOptions\n ).reduce((result, key) => {\n if (NON_VARIABLE_OPTIONS.includes(key)) {\n result[key] = parsedOptions[key];\n return result;\n }\n if (!result.variables) {\n result.variables = {};\n }\n result.variables[key] = parsedOptions[key];\n return result;\n }, {});\n const baseUrl = parsedOptions.baseUrl || request2.endpoint.DEFAULTS.baseUrl;\n if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) {\n requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, \"/api/graphql\");\n }\n return request2(requestOptions).then((response) => {\n if (response.data.errors) {\n const headers = {};\n for (const key of Object.keys(response.headers)) {\n headers[key] = response.headers[key];\n }\n throw new GraphqlResponseError(\n requestOptions,\n headers,\n response.data\n );\n }\n return response.data.data;\n });\n}\n\n// pkg/dist-src/with-defaults.js\nfunction withDefaults(request2, newDefaults) {\n const newRequest = request2.defaults(newDefaults);\n const newApi = (query, options) => {\n return graphql(newRequest, query, options);\n };\n return Object.assign(newApi, {\n defaults: withDefaults.bind(null, newRequest),\n endpoint: newRequest.endpoint\n });\n}\n\n// pkg/dist-src/index.js\nvar graphql2 = withDefaults(request, {\n headers: {\n \"user-agent\": `octokit-graphql.js/${VERSION} ${getUserAgent()}`\n },\n method: \"POST\",\n url: \"/graphql\"\n});\nfunction withCustomRequest(customRequest) {\n return withDefaults(customRequest, {\n method: \"POST\",\n url: \"/graphql\"\n });\n}\nexport {\n GraphqlResponseError,\n graphql2 as graphql,\n withCustomRequest\n};\n"],"names":["request","getUserAgent"],"mappings":";;;;;AAAA;;AAIA;AACA,IAAI,OAAO,GAAG,mBAAmB;;AAQjC;AACA,SAAS,8BAA8B,CAAC,IAAI,EAAE;AAC9C,EAAE,OAAO,CAAC;AACV,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;AACxD;AACG,IAAC,oBAAoB,GAAG,cAAc,KAAK,CAAC;AAC/C,EAAE,WAAW,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE;AAC3C,IAAI,KAAK,CAAC,8BAA8B,CAAC,QAAQ,CAAC,CAAC;AACnD,IAAI,IAAI,CAAC,OAAO,GAAG,QAAQ;AAC3B,IAAI,IAAI,CAAC,OAAO,GAAG,OAAO;AAC1B,IAAI,IAAI,CAAC,QAAQ,GAAG,QAAQ;AAC5B,IAAI,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,MAAM;AACjC,IAAI,IAAI,CAAC,IAAI,GAAG,QAAQ,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;AACJ,IAAI,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI;AAC7B,EAAE,CAAC,CAAC;AACJ;;AAEA;AACA,SAAS,YAAY,CAAC,QAAQ,EAAE,WAAW,EAAE;AAC7C,EAAE,MAAM,UAAU,GAAG,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC;AACnD,EAAE,MAAM,MAAM,GAAG,CAAC,KAAK,EAAE,OAAO,KAAK;AACrC,IAAI,OAAO,OAAO,CAAC,UAAU,EAAE,KAAK,EAAE,OAAO,CAAC;AAC9C,EAAE,CAAC;AACH,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE;AAC/B,IAAI,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC;AACjD,IAAI,QAAQ,EAAE,UAAU,CAAC;AACzB,GAAG,CAAC;AACJ;;AAEA;AACe,YAAY,CAACA,eAAO,EAAE;AACrC,EAAE,OAAO,EAAE;AACX,IAAI,YAAY,EAAE,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC,EAAEC,kBAAY,EAAE,CAAC;AAClE,GAAG;AACH,EAAE,MAAM,EAAE,MAAM;AAChB,EAAE,GAAG,EAAE;AACP,CAAC;AACD,SAAS,iBAAiB,CAAC,aAAa,EAAE;AAC1C,EAAE,OAAO,YAAY,CAAC,aAAa,EAAE;AACrC,IAAI,MAAM,EAAE,MAAM;AAClB,IAAI,GAAG,EAAE;AACT,GAAG,CAAC;AACJ;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/@octokit/graphql/dist-bundle/index.js"],"sourcesContent":["// pkg/dist-src/index.js\nimport { request } from \"@octokit/request\";\nimport { getUserAgent } from \"universal-user-agent\";\n\n// pkg/dist-src/version.js\nvar VERSION = \"0.0.0-development\";\n\n// pkg/dist-src/with-defaults.js\nimport { request as Request2 } from \"@octokit/request\";\n\n// pkg/dist-src/graphql.js\nimport { request as Request } from \"@octokit/request\";\n\n// pkg/dist-src/error.js\nfunction _buildMessageForResponseErrors(data) {\n return `Request failed due to following response errors:\n` + data.errors.map((e) => ` - ${e.message}`).join(\"\\n\");\n}\nvar GraphqlResponseError = class extends Error {\n constructor(request2, headers, response) {\n super(_buildMessageForResponseErrors(response));\n this.request = request2;\n this.headers = headers;\n this.response = response;\n this.errors = response.errors;\n this.data = response.data;\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, this.constructor);\n }\n }\n request;\n headers;\n response;\n name = \"GraphqlResponseError\";\n errors;\n data;\n};\n\n// pkg/dist-src/graphql.js\nvar NON_VARIABLE_OPTIONS = [\n \"method\",\n \"baseUrl\",\n \"url\",\n \"headers\",\n \"request\",\n \"query\",\n \"mediaType\",\n \"operationName\"\n];\nvar FORBIDDEN_VARIABLE_OPTIONS = [\"query\", \"method\", \"url\"];\nvar GHES_V3_SUFFIX_REGEX = /\\/api\\/v3\\/?$/;\nfunction graphql(request2, query, options) {\n if (options) {\n if (typeof query === \"string\" && \"query\" in options) {\n return Promise.reject(\n new Error(`[@octokit/graphql] \"query\" cannot be used as variable name`)\n );\n }\n for (const key in options) {\n if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) continue;\n return Promise.reject(\n new Error(\n `[@octokit/graphql] \"${key}\" cannot be used as variable name`\n )\n );\n }\n }\n const parsedOptions = typeof query === \"string\" ? Object.assign({ query }, options) : query;\n const requestOptions = Object.keys(\n parsedOptions\n ).reduce((result, key) => {\n if (NON_VARIABLE_OPTIONS.includes(key)) {\n result[key] = parsedOptions[key];\n return result;\n }\n if (!result.variables) {\n result.variables = {};\n }\n result.variables[key] = parsedOptions[key];\n return result;\n }, {});\n const baseUrl = parsedOptions.baseUrl || request2.endpoint.DEFAULTS.baseUrl;\n if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) {\n requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, \"/api/graphql\");\n }\n return request2(requestOptions).then((response) => {\n if (response.data.errors) {\n const headers = {};\n for (const key of Object.keys(response.headers)) {\n headers[key] = response.headers[key];\n }\n throw new GraphqlResponseError(\n requestOptions,\n headers,\n response.data\n );\n }\n return response.data.data;\n });\n}\n\n// pkg/dist-src/with-defaults.js\nfunction withDefaults(request2, newDefaults) {\n const newRequest = request2.defaults(newDefaults);\n const newApi = (query, options) => {\n return graphql(newRequest, query, options);\n };\n return Object.assign(newApi, {\n defaults: withDefaults.bind(null, newRequest),\n endpoint: newRequest.endpoint\n });\n}\n\n// pkg/dist-src/index.js\nvar graphql2 = withDefaults(request, {\n headers: {\n \"user-agent\": `octokit-graphql.js/${VERSION} ${getUserAgent()}`\n },\n method: \"POST\",\n url: \"/graphql\"\n});\nfunction withCustomRequest(customRequest) {\n return withDefaults(customRequest, {\n method: \"POST\",\n url: \"/graphql\"\n });\n}\nexport {\n GraphqlResponseError,\n graphql2 as graphql,\n withCustomRequest\n};\n/* v8 ignore if -- @preserve */\n"],"names":["request","getUserAgent"],"mappings":";;;;;AAAA;;AAIA;AACA,IAAI,OAAO,GAAG,mBAAmB;;AAQjC;AACA,SAAS,8BAA8B,CAAC,IAAI,EAAE;AAC9C,EAAE,OAAO,CAAC;AACV,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;AACxD;AACG,IAAC,oBAAoB,GAAG,cAAc,KAAK,CAAC;AAC/C,EAAE,WAAW,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE;AAC3C,IAAI,KAAK,CAAC,8BAA8B,CAAC,QAAQ,CAAC,CAAC;AACnD,IAAI,IAAI,CAAC,OAAO,GAAG,QAAQ;AAC3B,IAAI,IAAI,CAAC,OAAO,GAAG,OAAO;AAC1B,IAAI,IAAI,CAAC,QAAQ,GAAG,QAAQ;AAC5B,IAAI,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,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,IAAI,oBAAoB;AACpC,QAAQ,cAAc;AACtB,QAAQ,OAAO;AACf,QAAQ,QAAQ,CAAC;AACjB,OAAO;AACP,IAAI;AACJ,IAAI,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI;AAC7B,EAAE,CAAC,CAAC;AACJ;;AAEA;AACA,SAAS,YAAY,CAAC,QAAQ,EAAE,WAAW,EAAE;AAC7C,EAAE,MAAM,UAAU,GAAG,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC;AACnD,EAAE,MAAM,MAAM,GAAG,CAAC,KAAK,EAAE,OAAO,KAAK;AACrC,IAAI,OAAO,OAAO,CAAC,UAAU,EAAE,KAAK,EAAE,OAAO,CAAC;AAC9C,EAAE,CAAC;AACH,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE;AAC/B,IAAI,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC;AACjD,IAAI,QAAQ,EAAE,UAAU,CAAC;AACzB,GAAG,CAAC;AACJ;;AAEA;AACe,YAAY,CAACA,eAAO,EAAE;AACrC,EAAE,OAAO,EAAE;AACX,IAAI,YAAY,EAAE,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC,EAAEC,kBAAY,EAAE,CAAC;AAClE,GAAG;AACH,EAAE,MAAM,EAAE,MAAM;AAChB,EAAE,GAAG,EAAE;AACP,CAAC;AACD,SAAS,iBAAiB,CAAC,aAAa,EAAE;AAC1C,EAAE,OAAO,YAAY,CAAC,aAAa,EAAE;AACrC,IAAI,MAAM,EAAE,MAAM;AAClB,IAAI,GAAG,EAAE;AACT,GAAG,CAAC;AACJ;AAMA;;;;;","x_google_ignoreList":[0]}
@@ -9,7 +9,7 @@ var index = require('../../request-error/dist-src/index.js');
9
9
  // pkg/dist-src/index.js
10
10
 
11
11
  // pkg/dist-src/version.js
12
- var VERSION = "10.0.8";
12
+ var VERSION = "10.0.13";
13
13
 
14
14
  // pkg/dist-src/defaults.js
15
15
  var defaults_default = {
@@ -131,7 +131,7 @@ async function getResponseData(response) {
131
131
  if (!contentType) {
132
132
  return response.text().catch(noop);
133
133
  }
134
- const mimetype = index$1.fastContentTypeParseExports.safeParse(contentType);
134
+ const mimetype = index$1.distExports.parse(contentType);
135
135
  if (isJSONResponse(mimetype)) {
136
136
  let text = "";
137
137
  try {
@@ -140,7 +140,10 @@ async function getResponseData(response) {
140
140
  } catch (err) {
141
141
  return text;
142
142
  }
143
- } else if (mimetype.type.startsWith("text/") || mimetype.parameters.charset?.toLowerCase() === "utf-8") {
143
+ } else if (mimetype.type.startsWith("text/") || // `application/octet-stream` is the canonical "arbitrary binary" type
144
+ // (RFC 2046) and must never be decoded as text, even when the response
145
+ // carries a (misleading) `charset=utf-8` parameter — see #751.
146
+ mimetype.parameters.charset?.toLowerCase() === "utf-8" && mimetype.type !== "application/octet-stream") {
144
147
  return response.text().catch(noop);
145
148
  } else {
146
149
  return response.arrayBuffer().catch(
@@ -159,9 +162,10 @@ function toErrorMessage(data) {
159
162
  if (data instanceof ArrayBuffer) {
160
163
  return "Unknown error";
161
164
  }
162
- if ("message" in data) {
163
- const suffix = "documentation_url" in data ? ` - ${data.documentation_url}` : "";
164
- return Array.isArray(data.errors) ? `${data.message}: ${data.errors.map((v) => JSON.stringify(v)).join(", ")}${suffix}` : `${data.message}${suffix}`;
165
+ if (typeof data === "object" && data !== null && "message" in data) {
166
+ const objectData = data;
167
+ const suffix = "documentation_url" in objectData ? ` - ${objectData.documentation_url}` : "";
168
+ return Array.isArray(objectData.errors) ? `${objectData.message}: ${objectData.errors.map((v) => JSON.stringify(v)).join(", ")}${suffix}` : `${objectData.message}${suffix}`;
165
169
  }
166
170
  return `Unknown error: ${JSON.stringify(data)}`;
167
171
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/@octokit/request/dist-bundle/index.js"],"sourcesContent":["// pkg/dist-src/index.js\nimport { endpoint } from \"@octokit/endpoint\";\n\n// pkg/dist-src/defaults.js\nimport { getUserAgent } from \"universal-user-agent\";\n\n// pkg/dist-src/version.js\nvar VERSION = \"10.0.8\";\n\n// pkg/dist-src/defaults.js\nvar defaults_default = {\n headers: {\n \"user-agent\": `octokit-request.js/${VERSION} ${getUserAgent()}`\n }\n};\n\n// pkg/dist-src/fetch-wrapper.js\nimport { safeParse } from \"fast-content-type-parse\";\nimport { JSONParse, JSONStringify } from \"json-with-bigint\";\n\n// pkg/dist-src/is-plain-object.js\nfunction isPlainObject(value) {\n if (typeof value !== \"object\" || value === null) return false;\n if (Object.prototype.toString.call(value) !== \"[object Object]\") return false;\n const proto = Object.getPrototypeOf(value);\n if (proto === null) return true;\n const Ctor = Object.prototype.hasOwnProperty.call(proto, \"constructor\") && proto.constructor;\n return typeof Ctor === \"function\" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);\n}\n\n// pkg/dist-src/fetch-wrapper.js\nimport { RequestError } from \"@octokit/request-error\";\nvar noop = () => \"\";\nasync function fetchWrapper(requestOptions) {\n const fetch = requestOptions.request?.fetch || globalThis.fetch;\n if (!fetch) {\n throw new Error(\n \"fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing\"\n );\n }\n const log = requestOptions.request?.log || console;\n const parseSuccessResponseBody = requestOptions.request?.parseSuccessResponseBody !== false;\n const body = isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body) ? JSONStringify(requestOptions.body) : requestOptions.body;\n const requestHeaders = Object.fromEntries(\n Object.entries(requestOptions.headers).map(([name, value]) => [\n name,\n String(value)\n ])\n );\n let fetchResponse;\n try {\n fetchResponse = await fetch(requestOptions.url, {\n method: requestOptions.method,\n body,\n redirect: requestOptions.request?.redirect,\n headers: requestHeaders,\n signal: requestOptions.request?.signal,\n // duplex must be set if request.body is ReadableStream or Async Iterables.\n // See https://fetch.spec.whatwg.org/#dom-requestinit-duplex.\n ...requestOptions.body && { duplex: \"half\" }\n });\n } catch (error) {\n let message = \"Unknown Error\";\n if (error instanceof Error) {\n if (error.name === \"AbortError\") {\n error.status = 500;\n throw error;\n }\n message = error.message;\n if (error.name === \"TypeError\" && \"cause\" in error) {\n if (error.cause instanceof Error) {\n message = error.cause.message;\n } else if (typeof error.cause === \"string\") {\n message = error.cause;\n }\n }\n }\n const requestError = new RequestError(message, 500, {\n request: requestOptions\n });\n requestError.cause = error;\n throw requestError;\n }\n const status = fetchResponse.status;\n const url = fetchResponse.url;\n const responseHeaders = {};\n for (const [key, value] of fetchResponse.headers) {\n responseHeaders[key] = value;\n }\n const octokitResponse = {\n url,\n status,\n headers: responseHeaders,\n data: \"\"\n };\n if (\"deprecation\" in responseHeaders) {\n const matches = responseHeaders.link && responseHeaders.link.match(/<([^<>]+)>; rel=\"deprecation\"/);\n const deprecationLink = matches && matches.pop();\n log.warn(\n `[@octokit/request] \"${requestOptions.method} ${requestOptions.url}\" is deprecated. It is scheduled to be removed on ${responseHeaders.sunset}${deprecationLink ? `. See ${deprecationLink}` : \"\"}`\n );\n }\n if (status === 204 || status === 205) {\n return octokitResponse;\n }\n if (requestOptions.method === \"HEAD\") {\n if (status < 400) {\n return octokitResponse;\n }\n throw new RequestError(fetchResponse.statusText, status, {\n response: octokitResponse,\n request: requestOptions\n });\n }\n if (status === 304) {\n octokitResponse.data = await getResponseData(fetchResponse);\n throw new RequestError(\"Not modified\", status, {\n response: octokitResponse,\n request: requestOptions\n });\n }\n if (status >= 400) {\n octokitResponse.data = await getResponseData(fetchResponse);\n throw new RequestError(toErrorMessage(octokitResponse.data), status, {\n response: octokitResponse,\n request: requestOptions\n });\n }\n octokitResponse.data = parseSuccessResponseBody ? await getResponseData(fetchResponse) : fetchResponse.body;\n return octokitResponse;\n}\nasync function getResponseData(response) {\n const contentType = response.headers.get(\"content-type\");\n if (!contentType) {\n return response.text().catch(noop);\n }\n const mimetype = safeParse(contentType);\n if (isJSONResponse(mimetype)) {\n let text = \"\";\n try {\n text = await response.text();\n return JSONParse(text);\n } catch (err) {\n return text;\n }\n } else if (mimetype.type.startsWith(\"text/\") || mimetype.parameters.charset?.toLowerCase() === \"utf-8\") {\n return response.text().catch(noop);\n } else {\n return response.arrayBuffer().catch(\n /* v8 ignore next -- @preserve */\n () => new ArrayBuffer(0)\n );\n }\n}\nfunction isJSONResponse(mimetype) {\n return mimetype.type === \"application/json\" || mimetype.type === \"application/scim+json\";\n}\nfunction toErrorMessage(data) {\n if (typeof data === \"string\") {\n return data;\n }\n if (data instanceof ArrayBuffer) {\n return \"Unknown error\";\n }\n if (\"message\" in data) {\n const suffix = \"documentation_url\" in data ? ` - ${data.documentation_url}` : \"\";\n return Array.isArray(data.errors) ? `${data.message}: ${data.errors.map((v) => JSON.stringify(v)).join(\", \")}${suffix}` : `${data.message}${suffix}`;\n }\n return `Unknown error: ${JSON.stringify(data)}`;\n}\n\n// pkg/dist-src/with-defaults.js\nfunction withDefaults(oldEndpoint, newDefaults) {\n const endpoint2 = oldEndpoint.defaults(newDefaults);\n const newApi = function(route, parameters) {\n const endpointOptions = endpoint2.merge(route, parameters);\n if (!endpointOptions.request || !endpointOptions.request.hook) {\n return fetchWrapper(endpoint2.parse(endpointOptions));\n }\n const request2 = (route2, parameters2) => {\n return fetchWrapper(\n endpoint2.parse(endpoint2.merge(route2, parameters2))\n );\n };\n Object.assign(request2, {\n endpoint: endpoint2,\n defaults: withDefaults.bind(null, endpoint2)\n });\n return endpointOptions.request.hook(request2, endpointOptions);\n };\n return Object.assign(newApi, {\n endpoint: endpoint2,\n defaults: withDefaults.bind(null, endpoint2)\n });\n}\n\n// pkg/dist-src/index.js\nvar request = withDefaults(endpoint, defaults_default);\nexport {\n request\n};\n/* v8 ignore next -- @preserve */\n/* v8 ignore else -- @preserve */\n"],"names":["getUserAgent","JSONStringify","RequestError","safeParse","JSONParse","endpoint"],"mappings":";;;;;;;;AAAA;;AAMA;AACA,IAAI,OAAO,GAAG,QAAQ;;AAEtB;AACA,IAAI,gBAAgB,GAAG;AACvB,E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EAAE;AAC5B,MAAM,QAAQ,EAAE,SAAS;AACzB,MAAM,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS;AACjD,KAAK,CAAC;AACN,IAAI,OAAO,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,eAAe,CAAC;AAClE,EAAE,CAAC;AACH,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE;AAC/B,IAAI,QAAQ,EAAE,SAAS;AACvB,IAAI,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS;AAC/C,GAAG,CAAC;AACJ;;AAEA;AACG,IAAC,OAAO,GAAG,YAAY,CAACC,gBAAQ,EAAE,gBAAgB;AAIrD;AACA;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/@octokit/request/dist-bundle/index.js"],"sourcesContent":["// pkg/dist-src/index.js\nimport { endpoint } from \"@octokit/endpoint\";\n\n// pkg/dist-src/defaults.js\nimport { getUserAgent } from \"universal-user-agent\";\n\n// pkg/dist-src/version.js\nvar VERSION = \"10.0.13\";\n\n// pkg/dist-src/defaults.js\nvar defaults_default = {\n headers: {\n \"user-agent\": `octokit-request.js/${VERSION} ${getUserAgent()}`\n }\n};\n\n// pkg/dist-src/fetch-wrapper.js\nimport { parse } from \"content-type\";\nimport { JSONParse, JSONStringify } from \"json-with-bigint\";\n\n// pkg/dist-src/is-plain-object.js\nfunction isPlainObject(value) {\n if (typeof value !== \"object\" || value === null) return false;\n if (Object.prototype.toString.call(value) !== \"[object Object]\") return false;\n const proto = Object.getPrototypeOf(value);\n if (proto === null) return true;\n const Ctor = Object.prototype.hasOwnProperty.call(proto, \"constructor\") && proto.constructor;\n return typeof Ctor === \"function\" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);\n}\n\n// pkg/dist-src/fetch-wrapper.js\nimport { RequestError } from \"@octokit/request-error\";\nvar noop = () => \"\";\nasync function fetchWrapper(requestOptions) {\n const fetch = requestOptions.request?.fetch || globalThis.fetch;\n if (!fetch) {\n throw new Error(\n \"fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing\"\n );\n }\n const log = requestOptions.request?.log || console;\n const parseSuccessResponseBody = requestOptions.request?.parseSuccessResponseBody !== false;\n const body = isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body) ? JSONStringify(requestOptions.body) : requestOptions.body;\n const requestHeaders = Object.fromEntries(\n Object.entries(requestOptions.headers).map(([name, value]) => [\n name,\n String(value)\n ])\n );\n let fetchResponse;\n try {\n fetchResponse = await fetch(requestOptions.url, {\n method: requestOptions.method,\n body,\n redirect: requestOptions.request?.redirect,\n headers: requestHeaders,\n signal: requestOptions.request?.signal,\n // duplex must be set if request.body is ReadableStream or Async Iterables.\n // See https://fetch.spec.whatwg.org/#dom-requestinit-duplex.\n ...requestOptions.body && { duplex: \"half\" }\n });\n } catch (error) {\n let message = \"Unknown Error\";\n if (error instanceof Error) {\n if (error.name === \"AbortError\") {\n error.status = 500;\n throw error;\n }\n message = error.message;\n if (error.name === \"TypeError\" && \"cause\" in error) {\n if (error.cause instanceof Error) {\n message = error.cause.message;\n } else if (typeof error.cause === \"string\") {\n message = error.cause;\n }\n }\n }\n const requestError = new RequestError(message, 500, {\n request: requestOptions\n });\n requestError.cause = error;\n throw requestError;\n }\n const status = fetchResponse.status;\n const url = fetchResponse.url;\n const responseHeaders = {};\n for (const [key, value] of fetchResponse.headers) {\n responseHeaders[key] = value;\n }\n const octokitResponse = {\n url,\n status,\n headers: responseHeaders,\n data: \"\"\n };\n if (\"deprecation\" in responseHeaders) {\n const matches = responseHeaders.link && responseHeaders.link.match(/<([^<>]+)>; rel=\"deprecation\"/);\n const deprecationLink = matches && matches.pop();\n log.warn(\n `[@octokit/request] \"${requestOptions.method} ${requestOptions.url}\" is deprecated. It is scheduled to be removed on ${responseHeaders.sunset}${deprecationLink ? `. See ${deprecationLink}` : \"\"}`\n );\n }\n if (status === 204 || status === 205) {\n return octokitResponse;\n }\n if (requestOptions.method === \"HEAD\") {\n if (status < 400) {\n return octokitResponse;\n }\n throw new RequestError(fetchResponse.statusText, status, {\n response: octokitResponse,\n request: requestOptions\n });\n }\n if (status === 304) {\n octokitResponse.data = await getResponseData(fetchResponse);\n throw new RequestError(\"Not modified\", status, {\n response: octokitResponse,\n request: requestOptions\n });\n }\n if (status >= 400) {\n octokitResponse.data = await getResponseData(fetchResponse);\n throw new RequestError(toErrorMessage(octokitResponse.data), status, {\n response: octokitResponse,\n request: requestOptions\n });\n }\n octokitResponse.data = parseSuccessResponseBody ? await getResponseData(fetchResponse) : fetchResponse.body;\n return octokitResponse;\n}\nasync function getResponseData(response) {\n const contentType = response.headers.get(\"content-type\");\n if (!contentType) {\n return response.text().catch(noop);\n }\n const mimetype = parse(contentType);\n if (isJSONResponse(mimetype)) {\n let text = \"\";\n try {\n text = await response.text();\n return JSONParse(text);\n } catch (err) {\n return text;\n }\n } else if (mimetype.type.startsWith(\"text/\") || // `application/octet-stream` is the canonical \"arbitrary binary\" type\n // (RFC 2046) and must never be decoded as text, even when the response\n // carries a (misleading) `charset=utf-8` parameter — see #751.\n mimetype.parameters.charset?.toLowerCase() === \"utf-8\" && mimetype.type !== \"application/octet-stream\") {\n return response.text().catch(noop);\n } else {\n return response.arrayBuffer().catch(\n /* v8 ignore next -- @preserve */\n () => new ArrayBuffer(0)\n );\n }\n}\nfunction isJSONResponse(mimetype) {\n return mimetype.type === \"application/json\" || mimetype.type === \"application/scim+json\";\n}\nfunction toErrorMessage(data) {\n if (typeof data === \"string\") {\n return data;\n }\n if (data instanceof ArrayBuffer) {\n return \"Unknown error\";\n }\n if (typeof data === \"object\" && data !== null && \"message\" in data) {\n const objectData = data;\n const suffix = \"documentation_url\" in objectData ? ` - ${objectData.documentation_url}` : \"\";\n return Array.isArray(objectData.errors) ? `${objectData.message}: ${objectData.errors.map((v) => JSON.stringify(v)).join(\", \")}${suffix}` : `${objectData.message}${suffix}`;\n }\n return `Unknown error: ${JSON.stringify(data)}`;\n}\n\n// pkg/dist-src/with-defaults.js\nfunction withDefaults(oldEndpoint, newDefaults) {\n const endpoint2 = oldEndpoint.defaults(newDefaults);\n const newApi = function(route, parameters) {\n const endpointOptions = endpoint2.merge(route, parameters);\n if (!endpointOptions.request || !endpointOptions.request.hook) {\n return fetchWrapper(endpoint2.parse(endpointOptions));\n }\n const request2 = (route2, parameters2) => {\n return fetchWrapper(\n endpoint2.parse(endpoint2.merge(route2, parameters2))\n );\n };\n Object.assign(request2, {\n endpoint: endpoint2,\n defaults: withDefaults.bind(null, endpoint2)\n });\n return endpointOptions.request.hook(request2, endpointOptions);\n };\n return Object.assign(newApi, {\n endpoint: endpoint2,\n defaults: withDefaults.bind(null, endpoint2)\n });\n}\n\n// pkg/dist-src/index.js\nvar request = withDefaults(endpoint, defaults_default);\nexport {\n request\n};\n/* v8 ignore next -- @preserve */\n/* v8 ignore else -- @preserve */\n"],"names":["getUserAgent","JSONStringify","RequestError","parse","JSONParse","endpoint"],"mappings":";;;;;;;;AAAA;;AAMA;AACA,IAAI,OAAO,GAAG,SAAS;;AAEvB;AACA,IAAI,gBAAgB,GAAG;AACvB,EAAE,OAAO,EAAE;AACX,IAAI,YAAY,EAAE,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC,EAAEA,oBAAY,EAAE,CAAC;AAClE;AACA,CAAC;;AAMD;AACA,SAAS,aAAa,CAAC,KAAK,EAAE;AAC9B,EAAE,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EAAE,OAAO,KAAK;AAC/D,EAAE,IAAI,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,iBAAiB,EAAE,OAAO,KAAK;AAC/E,EAAE,MAAM,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC;AAC5C,EAAE,IA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,SAAS;AACvB,IAAI,QAAQ,EAAE,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS;AAC/C,GAAG,CAAC;AACJ;;AAEA;AACG,IAAC,OAAO,GAAG,YAAY,CAACC,gBAAQ,EAAE,gBAAgB;AAIrD;AACA;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,183 @@
1
+ 'use strict';
2
+
3
+ var index = require('../../../_virtual/index13.js');
4
+
5
+ var hasRequiredDist;
6
+
7
+ function requireDist () {
8
+ if (hasRequiredDist) return index.__exports;
9
+ hasRequiredDist = 1;
10
+ /*!
11
+ * content-type
12
+ * Copyright(c) 2015 Douglas Christopher Wilson
13
+ * MIT Licensed
14
+ */
15
+ Object.defineProperty(index.__exports, "__esModule", { value: true });
16
+ index.__exports.format = format;
17
+ index.__exports.parse = parse;
18
+ const TEXT_REGEXP = /^[\u0009\u0020-\u007e\u0080-\u00ff]*$/;
19
+ const TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
20
+ /**
21
+ * RegExp to match chars that must be quoted-pair in RFC 9110 sec 5.6.4
22
+ */
23
+ const QUOTE_REGEXP = /[\\"]/g;
24
+ /**
25
+ * RegExp to match type in RFC 9110 sec 8.3.1
26
+ *
27
+ * media-type = type "/" subtype
28
+ * type = token
29
+ * subtype = token
30
+ */
31
+ const TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
32
+ /**
33
+ * Null object perf optimization. Faster than `Object.create(null)` and `{ __proto__: null }`.
34
+ */
35
+ const NullObject = /* @__PURE__ */ (() => {
36
+ const C = function () { };
37
+ C.prototype = Object.create(null);
38
+ return C;
39
+ })();
40
+ /**
41
+ * Format an object into a `Content-Type` header.
42
+ */
43
+ function format(obj) {
44
+ const { type, parameters } = obj;
45
+ if (!type || !TYPE_REGEXP.test(type)) {
46
+ throw new TypeError(`Invalid type: ${type}`);
47
+ }
48
+ let result = type;
49
+ if (parameters) {
50
+ for (const param of Object.keys(parameters)) {
51
+ if (!TOKEN_REGEXP.test(param)) {
52
+ throw new TypeError(`Invalid parameter name: ${param}`);
53
+ }
54
+ result += `; ${param}=${qstring(parameters[param])}`;
55
+ }
56
+ }
57
+ return result;
58
+ }
59
+ /**
60
+ * Parse a `Content-Type` header.
61
+ */
62
+ function parse(header, options) {
63
+ const len = header.length;
64
+ let index = skipOWS(header, 0, len);
65
+ const valueStart = index;
66
+ index = skipValue(header, index, len);
67
+ const valueEnd = trailingOWS(header, valueStart, index);
68
+ const type = header.slice(valueStart, valueEnd).toLowerCase();
69
+ const parameters = options?.parameters === false
70
+ ? new NullObject()
71
+ : parseParameters(header, index, len);
72
+ return { type, parameters };
73
+ }
74
+ const SP = 32; // " "
75
+ const HTAB = 9; // "\t"
76
+ const SEMI = 59; // ";"
77
+ const EQ = 61; // "="
78
+ const DQUOTE = 34; // '"'
79
+ const BSLASH = 92; // "\\"
80
+ /**
81
+ * Parses the parameters of a `Content-Type` header starting at the given index.
82
+ */
83
+ function parseParameters(header, index, len) {
84
+ const parameters = new NullObject();
85
+ parameter: while (index < len) {
86
+ index = skipOWS(header, index + 1 /* Skip over ; */, len);
87
+ const keyStart = index;
88
+ while (index < len) {
89
+ const code = header.charCodeAt(index);
90
+ if (code === SEMI)
91
+ continue parameter;
92
+ if (code === EQ) {
93
+ const keyEnd = trailingOWS(header, keyStart, index);
94
+ const key = header.slice(keyStart, keyEnd).toLowerCase();
95
+ index = skipOWS(header, index + 1, len);
96
+ if (index < len && header.charCodeAt(index) === DQUOTE) {
97
+ index++;
98
+ let value = "";
99
+ while (index < len) {
100
+ const code = header.charCodeAt(index++);
101
+ if (code === DQUOTE) {
102
+ index = skipValue(header, index, len);
103
+ if (parameters[key] === undefined)
104
+ parameters[key] = value;
105
+ break;
106
+ }
107
+ if (code === BSLASH && index < len) {
108
+ value += header[index++];
109
+ continue;
110
+ }
111
+ value += String.fromCharCode(code);
112
+ }
113
+ continue parameter;
114
+ }
115
+ const valueStart = index;
116
+ index = skipValue(header, index, len);
117
+ if (parameters[key] === undefined) {
118
+ const valueEnd = trailingOWS(header, valueStart, index);
119
+ parameters[key] = header.slice(valueStart, valueEnd);
120
+ }
121
+ continue parameter;
122
+ }
123
+ index++;
124
+ }
125
+ }
126
+ return parameters;
127
+ }
128
+ /**
129
+ * Skip over characters until a semicolon.
130
+ */
131
+ function skipValue(str, index, len) {
132
+ while (index < len) {
133
+ const char = str.charCodeAt(index);
134
+ if (char === SEMI)
135
+ break;
136
+ index++;
137
+ }
138
+ return index;
139
+ }
140
+ /**
141
+ * Skip optional whitespace (OWS) in an HTTP header value.
142
+ *
143
+ * OWS is defined in RFC 9110 sec 5.6.3 as SP (" ") or HTAB ("\t").
144
+ */
145
+ function skipOWS(header, index, len) {
146
+ while (index < len) {
147
+ const char = header.charCodeAt(index);
148
+ if (char !== SP && char !== HTAB)
149
+ break;
150
+ index++;
151
+ }
152
+ return index;
153
+ }
154
+ /**
155
+ * Trim optional whitespace (OWS) from the end of a substring.
156
+ *
157
+ * OWS is defined in RFC 9110 sec 5.6.3 as SP (" ") or HTAB ("\t").
158
+ */
159
+ function trailingOWS(header, start, end) {
160
+ while (end > start) {
161
+ const char = header.charCodeAt(end - 1);
162
+ if (char !== SP && char !== HTAB)
163
+ break;
164
+ end--;
165
+ }
166
+ return end;
167
+ }
168
+ /**
169
+ * Serialize a parameter value.
170
+ */
171
+ function qstring(str) {
172
+ if (TOKEN_REGEXP.test(str))
173
+ return str;
174
+ if (TEXT_REGEXP.test(str))
175
+ return `"${str.replace(QUOTE_REGEXP, "\\$&")}"`;
176
+ throw new TypeError(`Invalid parameter value: ${str}`);
177
+ }
178
+
179
+ return index.__exports;
180
+ }
181
+
182
+ exports.__require = requireDist;
183
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/content-type/dist/index.js"],"sourcesContent":["\"use strict\";\n/*!\n * content-type\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.format = format;\nexports.parse = parse;\nconst TEXT_REGEXP = /^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]*$/;\nconst TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;\n/**\n * RegExp to match chars that must be quoted-pair in RFC 9110 sec 5.6.4\n */\nconst QUOTE_REGEXP = /[\\\\\"]/g;\n/**\n * RegExp to match type in RFC 9110 sec 8.3.1\n *\n * media-type = type \"/\" subtype\n * type = token\n * subtype = token\n */\nconst TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;\n/**\n * Null object perf optimization. Faster than `Object.create(null)` and `{ __proto__: null }`.\n */\nconst NullObject = /* @__PURE__ */ (() => {\n const C = function () { };\n C.prototype = Object.create(null);\n return C;\n})();\n/**\n * Format an object into a `Content-Type` header.\n */\nfunction format(obj) {\n const { type, parameters } = obj;\n if (!type || !TYPE_REGEXP.test(type)) {\n throw new TypeError(`Invalid type: ${type}`);\n }\n let result = type;\n if (parameters) {\n for (const param of Object.keys(parameters)) {\n if (!TOKEN_REGEXP.test(param)) {\n throw new TypeError(`Invalid parameter name: ${param}`);\n }\n result += `; ${param}=${qstring(parameters[param])}`;\n }\n }\n return result;\n}\n/**\n * Parse a `Content-Type` header.\n */\nfunction parse(header, options) {\n const len = header.length;\n let index = skipOWS(header, 0, len);\n const valueStart = index;\n index = skipValue(header, index, len);\n const valueEnd = trailingOWS(header, valueStart, index);\n const type = header.slice(valueStart, valueEnd).toLowerCase();\n const parameters = options?.parameters === false\n ? new NullObject()\n : parseParameters(header, index, len);\n return { type, parameters };\n}\nconst SP = 32; // \" \"\nconst HTAB = 9; // \"\\t\"\nconst SEMI = 59; // \";\"\nconst EQ = 61; // \"=\"\nconst DQUOTE = 34; // '\"'\nconst BSLASH = 92; // \"\\\\\"\n/**\n * Parses the parameters of a `Content-Type` header starting at the given index.\n */\nfunction parseParameters(header, index, len) {\n const parameters = new NullObject();\n parameter: while (index < len) {\n index = skipOWS(header, index + 1 /* Skip over ; */, len);\n const keyStart = index;\n while (index < len) {\n const code = header.charCodeAt(index);\n if (code === SEMI)\n continue parameter;\n if (code === EQ) {\n const keyEnd = trailingOWS(header, keyStart, index);\n const key = header.slice(keyStart, keyEnd).toLowerCase();\n index = skipOWS(header, index + 1, len);\n if (index < len && header.charCodeAt(index) === DQUOTE) {\n index++;\n let value = \"\";\n while (index < len) {\n const code = header.charCodeAt(index++);\n if (code === DQUOTE) {\n index = skipValue(header, index, len);\n if (parameters[key] === undefined)\n parameters[key] = value;\n break;\n }\n if (code === BSLASH && index < len) {\n value += header[index++];\n continue;\n }\n value += String.fromCharCode(code);\n }\n continue parameter;\n }\n const valueStart = index;\n index = skipValue(header, index, len);\n if (parameters[key] === undefined) {\n const valueEnd = trailingOWS(header, valueStart, index);\n parameters[key] = header.slice(valueStart, valueEnd);\n }\n continue parameter;\n }\n index++;\n }\n }\n return parameters;\n}\n/**\n * Skip over characters until a semicolon.\n */\nfunction skipValue(str, index, len) {\n while (index < len) {\n const char = str.charCodeAt(index);\n if (char === SEMI)\n break;\n index++;\n }\n return index;\n}\n/**\n * Skip optional whitespace (OWS) in an HTTP header value.\n *\n * OWS is defined in RFC 9110 sec 5.6.3 as SP (\" \") or HTAB (\"\\t\").\n */\nfunction skipOWS(header, index, len) {\n while (index < len) {\n const char = header.charCodeAt(index);\n if (char !== SP && char !== HTAB)\n break;\n index++;\n }\n return index;\n}\n/**\n * Trim optional whitespace (OWS) from the end of a substring.\n *\n * OWS is defined in RFC 9110 sec 5.6.3 as SP (\" \") or HTAB (\"\\t\").\n */\nfunction trailingOWS(header, start, end) {\n while (end > start) {\n const char = header.charCodeAt(end - 1);\n if (char !== SP && char !== HTAB)\n break;\n end--;\n }\n return end;\n}\n/**\n * Serialize a parameter value.\n */\nfunction qstring(str) {\n if (TOKEN_REGEXP.test(str))\n return str;\n if (TEXT_REGEXP.test(str))\n return `\"${str.replace(QUOTE_REGEXP, \"\\\\$&\")}\"`;\n throw new TypeError(`Invalid parameter value: ${str}`);\n}\n//# sourceMappingURL=index.js.map"],"names":["dist"],"mappings":";;;;;;;;;AACA;AACA;AACA;AACA;AACA;AACA,CAAA,MAAM,CAAC,cAAc,CAACA,eAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC7D,CAAAA,eAAA,CAAA,MAAc,GAAG,MAAM;AACvB,CAAAA,eAAA,CAAA,KAAa,GAAG,KAAK;CACrB,MAAM,WAAW,GAAG,uCAAuC;CAC3D,MAAM,YAAY,GAAG,+BAA+B;AACpD;AACA;AACA;CACA,MAAM,YAAY,GAAG,QAAQ;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;CACA,MAAM,WAAW,GAAG,4DAA4D;AAChF;AACA;AACA;AACA,CAAA,MAAM,UAAU,mBAAmB,CAAC,MAAM;AAC1C,KAAI,MAAM,CAAC,GAAG,YAAY,EAAA,CAAG;KACzB,CAAC,CAAC,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;AACrC,KAAI,OAAO,CAAC;AACZ,CAAA,CAAC,GAAG;AACJ;AACA;AACA;CACA,SAAS,MAAM,CAAC,GAAG,EAAE;AACrB,KAAI,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,GAAG;KAChC,IAAI,CAAC,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;SAClC,MAAM,IAAI,SAAS,CAAC,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC,CAAC;AACpD,KAAA;KACI,IAAI,MAAM,GAAG,IAAI;KACjB,IAAI,UAAU,EAAE;SACZ,KAAK,MAAM,KAAK,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;aACzC,IAAI,CAAC,YAAY,CAAC,IAAI,CA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SAAQ,KAAK,EAAE;AACf,KAAA;AACA,KAAI,OAAO,KAAK;AAChB,CAAA;AACA;AACA;AACA;AACA;AACA;AACA,CAAA,SAAS,WAAW,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;AACzC,KAAI,OAAO,GAAG,GAAG,KAAK,EAAE;SAChB,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,CAAC;AAC/C,SAAQ,IAAI,IAAI,KAAK,EAAE,IAAI,IAAI,KAAK,IAAI;aAC5B;AACZ,SAAQ,GAAG,EAAE;AACb,KAAA;AACA,KAAI,OAAO,GAAG;AACd,CAAA;AACA;AACA;AACA;CACA,SAAS,OAAO,CAAC,GAAG,EAAE;AACtB,KAAI,IAAI,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC;AAC9B,SAAQ,OAAO,GAAG;AAClB,KAAI,IAAI,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC;AAC7B,SAAQ,OAAO,CAAC,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;KACnD,MAAM,IAAI,SAAS,CAAC,CAAC,yBAAyB,EAAE,GAAG,CAAC,CAAC,CAAC;AAC1D,CAAA;AACA;;;;;;","x_google_ignoreList":[0]}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('../../_virtual/index10.js');
3
+ var index = require('../../_virtual/index11.js');
4
4
  var childProcess = require('node:child_process');
5
5
  var parse = require('./lib/parse.js');
6
6
  var enoent = require('./lib/enoent.js');
@@ -4,7 +4,7 @@ var require$$0 = require('node:buffer');
4
4
  var path = require('node:path');
5
5
  var childProcess = require('node:child_process');
6
6
  var process = require('node:process');
7
- var index = require('../../_virtual/index6.js');
7
+ var index = require('../../../../_virtual/index6.js');
8
8
  var index$1 = require('../strip-final-newline/index.js');
9
9
  var index$2 = require('../npm-run-path/index.js');
10
10
  var error = require('./lib/error.js');
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/env-ci/node_modules/execa/index.js"],"sourcesContent":["import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\n\nconst DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;\n\nconst getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => {\n\tconst env = extendEnv ? {...process.env, ...envOption} : envOption;\n\n\tif (preferLocal) {\n\t\treturn npmRunPathEnv({env, cwd: localDir, execPath});\n\t}\n\n\treturn env;\n};\n\nconst handleArguments = (file, args, options = {}) => {\n\tconst parsed = crossSpawn._parse(file, args, options);\n\tfile = parsed.command;\n\targs = parsed.args;\n\toptions = parsed.options;\n\n\toptions = {\n\t\tmaxBuffer: DEFAULT_MAX_BUFFER,\n\t\tbuffer: true,\n\t\tstripFinalNewline: true,\n\t\textendEnv: true,\n\t\tpreferLocal: false,\n\t\tlocalDir: options.cwd || process.cwd(),\n\t\texecPath: process.execPath,\n\t\tencoding: 'utf8',\n\t\treject: true,\n\t\tcleanup: true,\n\t\tall: false,\n\t\twindowsHide: true,\n\t\tverbose: verboseDefault,\n\t\t...options,\n\t};\n\n\toptions.env = getEnv(options);\n\n\toptions.stdio = normalizeStdio(options);\n\n\tif (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {\n\t\t// #116\n\t\targs.unshift('/q');\n\t}\n\n\treturn {file, args, options, parsed};\n};\n\nconst handleOutput = (options, value, error) => {\n\tif (typeof value !== 'string' && !Buffer.isBuffer(value)) {\n\t\t// When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n\t\treturn error === undefined ? undefined : '';\n\t}\n\n\tif (options.stripFinalNewline) {\n\t\treturn stripFinalNewline(value);\n\t}\n\n\treturn value;\n};\n\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tvalidateTimeout(parsed.options);\n\n\tlet spawned;\n\ttry {\n\t\tspawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\t// Ensure the returned error is always both a promise and a child process\n\t\tconst dummySpawned = new childProcess.ChildProcess();\n\t\tconst errorPromise = Promise.reject(makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t}));\n\t\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\n\t}\n\n\tconst spawnedPromise = getSpawnedPromise(spawned);\n\tconst timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n\tconst processDone = setExitHandler(spawned, parsed.options, timedPromise);\n\n\tconst context = {isCanceled: false};\n\n\tspawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n\tspawned.cancel = spawnedCancel.bind(null, spawned, context);\n\n\tconst handlePromise = async () => {\n\t\tconst [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n\t\tconst stdout = handleOutput(parsed.options, stdoutResult);\n\t\tconst stderr = handleOutput(parsed.options, stderrResult);\n\t\tconst all = handleOutput(parsed.options, allResult);\n\n\t\tif (error || exitCode !== 0 || signal !== null) {\n\t\t\tconst returnedError = makeError({\n\t\t\t\terror,\n\t\t\t\texitCode,\n\t\t\t\tsignal,\n\t\t\t\tstdout,\n\t\t\t\tstderr,\n\t\t\t\tall,\n\t\t\t\tcommand,\n\t\t\t\tescapedCommand,\n\t\t\t\tparsed,\n\t\t\t\ttimedOut,\n\t\t\t\tisCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n\t\t\t\tkilled: spawned.killed,\n\t\t\t});\n\n\t\t\tif (!parsed.options.reject) {\n\t\t\t\treturn returnedError;\n\t\t\t}\n\n\t\t\tthrow returnedError;\n\t\t}\n\n\t\treturn {\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\texitCode: 0,\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\tall,\n\t\t\tfailed: false,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t};\n\t};\n\n\tconst handlePromiseOnce = onetime(handlePromise);\n\n\thandleInput(spawned, parsed.options);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\n\t} catch (error) {\n\t\tthrow makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t});\n\t}\n\n\tconst stdout = handleOutput(parsed.options, result.stdout, result.error);\n\tconst stderr = handleOutput(parsed.options, result.stderr, result.error);\n\n\tif (result.error || result.status !== 0 || result.signal !== null) {\n\t\tconst error = makeError({\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\terror: result.error,\n\t\t\tsignal: result.signal,\n\t\t\texitCode: result.status,\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: result.error && result.error.code === 'ETIMEDOUT',\n\t\t\tisCanceled: false,\n\t\t\tkilled: result.signal !== null,\n\t\t});\n\n\t\tif (!parsed.options.reject) {\n\t\t\treturn error;\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\treturn {\n\t\tcommand,\n\t\tescapedCommand,\n\t\texitCode: 0,\n\t\tstdout,\n\t\tstderr,\n\t\tfailed: false,\n\t\ttimedOut: false,\n\t\tisCanceled: false,\n\t\tkilled: false,\n\t};\n}\n\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(scriptPath, args, options = {}) {\n\tif (args && !Array.isArray(args) && typeof args === 'object') {\n\t\toptions = args;\n\t\targs = [];\n\t}\n\n\tconst stdio = normalizeStdioNode(options);\n\tconst defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));\n\n\tconst {\n\t\tnodePath = process.execPath,\n\t\tnodeOptions = defaultExecArgv,\n\t} = options;\n\n\treturn execa(\n\t\tnodePath,\n\t\t[\n\t\t\t...nodeOptions,\n\t\t\tscriptPath,\n\t\t\t...(Array.isArray(args) ? args : []),\n\t\t],\n\t\t{\n\t\t\t...options,\n\t\t\tstdin: undefined,\n\t\t\tstdout: undefined,\n\t\t\tstderr: undefined,\n\t\t\tstdio,\n\t\t\tshell: false,\n\t\t},\n\t);\n}\n"],"names":["process","npmRunPathEnv","crossSpawn","verboseDefault","normalizeStdio","path","Buffer","stripFinalNewline","command","joinCommand","getEscapedCommand","logCommand","handleInputSync","childProcess","error","makeError"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAiBA,MAAM,kBAAkB,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG;;AAE5C,MAAM,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,CAAC,KAAK;AACjF,CAAC,MAAM,GAAG,GAAG,SAAS,GAAG,CAAC,GAAGA,wBAAO,CAAC,GAAG,EAAE,GAAG,SAAS,CAAC,GAAG,SAAS;;AAEnE,CAAC,IAAI,WAAW,EAAE;AAClB,EAAE,OAAOC,qBAAa,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;AACtD,CAAC;;AAED,CAAC,OAAO,GAAG;AACX,CAAC;;AAED,MA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AE,KAAK;AACnB,EAAE,MAAM,EAAE,KAAK;AACf,EAAE;AACF;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.js","sources":["../../../../../../../../../node_modules/env-ci/node_modules/execa/lib/command.js"],"sourcesContent":["import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\nconst normalizeArgs = (file, args = []) => {\n\tif (!Array.isArray(args)) {\n\t\treturn [file];\n\t}\n\n\treturn [file, ...args];\n};\n\nconst NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\n\nconst escapeArg = arg => {\n\tif (typeof arg !== 'string' || NO_ESCAPE_REGEXP.test(arg)) {\n\t\treturn arg;\n\t}\n\n\treturn `\"${arg.replaceAll('\"', '\\\\\"')}\"`;\n};\n\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const parseCommand = command => {\n\tconst tokens = [];\n\tfor (const token of command.trim().split(SPACES_REGEXP)) {\n\t\t// Allow spaces to be escaped by a backslash if not meant as a delimiter\n\t\tconst previousToken = tokens.at(-1);\n\t\tif (previousToken && previousToken.endsWith('\\\\')) {\n\t\t\t// Merge previous token with current one\n\t\t\ttokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n\t\t} else {\n\t\t\ttokens.push(token);\n\t\t}\n\t}\n\n\treturn tokens;\n};\n\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens.at(-1)}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n"],"names":[],"mappings":";;AAGA,MAAM,aAAa,GAAG,CAAC,IAAI,EAAE,IAAI,GAAG,EAAE,KAAK;AAC3C,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;AAC3B,EAAE,OAAO,CAAC,IAAI,CAAC;AACf,CAAC;;AAED,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC;AACvB,CAAC;;AAED,MAAM,gBAAgB,GAAG,WAAW;;AAEpC,MAAM,SAAS,GAAG,GAAG,IAAI;AACzB,CAAC,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;AAC5D,EAAE,OAAO,GAAG;AACZ,CAAC;;AAED,CAAC,OAAO,CAAC,CAAC,EAAE,GAAG,CAAC,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;AACzC,CAAC;;AAEW,MAAC,WAAW,GAAG,CAAC,IAAI,EAAE,IAAI,KAAK,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG;;AAEjE,MAAC,iBAAiB,GAAG,CAAC,IAAI,EAAE,IAAI,KAAK,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error.js","sources":["../../../../../../../../../node_modules/env-ci/node_modules/execa/lib/error.js"],"sourcesContent":["import process from 'node:process';\nimport {signalsByName} from 'human-signals';\n\nconst getErrorPrefix = ({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled}) => {\n\tif (timedOut) {\n\t\treturn `timed out after ${timeout} milliseconds`;\n\t}\n\n\tif (isCanceled) {\n\t\treturn 'was canceled';\n\t}\n\n\tif (errorCode !== undefined) {\n\t\treturn `failed with ${errorCode}`;\n\t}\n\n\tif (signal !== undefined) {\n\t\treturn `was killed with ${signal} (${signalDescription})`;\n\t}\n\n\tif (exitCode !== undefined) {\n\t\treturn `failed with exit code ${exitCode}`;\n\t}\n\n\treturn 'failed';\n};\n\nexport const makeError = ({\n\tstdout,\n\tstderr,\n\tall,\n\terror,\n\tsignal,\n\texitCode,\n\tcommand,\n\tescapedCommand,\n\ttimedOut,\n\tisCanceled,\n\tkilled,\n\tparsed: {options: {timeout, cwd = process.cwd()}},\n}) => {\n\t// `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n\t// We normalize them to `undefined`\n\texitCode = exitCode === null ? undefined : exitCode;\n\tsignal = signal === null ? undefined : signal;\n\tconst signalDescription = signal === undefined ? undefined : signalsByName[signal].description;\n\n\tconst errorCode = error && error.code;\n\n\tconst prefix = getErrorPrefix({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled});\n\tconst execaMessage = `Command ${prefix}: ${command}`;\n\tconst isError = Object.prototype.toString.call(error) === '[object Error]';\n\tconst shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n\tconst message = [shortMessage, stderr, stdout].filter(Boolean).join('\\n');\n\n\tif (isError) {\n\t\terror.originalMessage = error.message;\n\t\terror.message = message;\n\t} else {\n\t\terror = new Error(message);\n\t}\n\n\terror.shortMessage = shortMessage;\n\terror.command = command;\n\terror.escapedCommand = escapedCommand;\n\terror.exitCode = exitCode;\n\terror.signal = signal;\n\terror.signalDescription = signalDescription;\n\terror.stdout = stdout;\n\terror.stderr = stderr;\n\terror.cwd = cwd;\n\n\tif (all !== undefined) {\n\t\terror.all = all;\n\t}\n\n\tif ('bufferedData' in error) {\n\t\tdelete error.bufferedData;\n\t}\n\n\terror.failed = true;\n\terror.timedOut = Boolean(timedOut);\n\terror.isCanceled = isCanceled;\n\terror.killed = killed && !timedOut;\n\n\treturn error;\n};\n"],"names":["process","signalsByName"],"mappings":";;;;;;;;;AAGA,MAAM,cAAc,GAAG,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,iBAAiB,EAAE,QAAQ,EAAE,UAAU,CAAC,KAAK;AAC5G,CAAC,IAAI,QAAQ,EAAE;AACf,EAAE,OAAO,CAAC,gBAAgB,EAAE,OAAO,CAAC,aAAa,CAAC;AAClD,CAAC;;AAMD,CAAC,IAAI,SAAS,KAAK,SAAS,EAAE;AAC9B,EAAE,OAAO,CAAC,YAAY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AAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;AACnC,CAAC,KAAK,CAAC,UAAU,GAAG,UAAU;AAC9B,CAAC,KAAK,CAAC,MAAM,GAAG,MAAM,IAAI,CAAC,QAAQ;;AAEnC,CAAC,OAAO,KAAK;AACb;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promise.js","sources":["../../../../../../../../../node_modules/env-ci/node_modules/execa/lib/promise.js"],"sourcesContent":["// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\nconst descriptors = ['then', 'catch', 'finally'].map(property => [\n\tproperty,\n\tReflect.getOwnPropertyDescriptor(nativePromisePrototype, property),\n]);\n\n// The return value is a mixin of `childProcess` and `Promise`\nexport const mergePromise = (spawned, promise) => {\n\tfor (const [property, descriptor] of descriptors) {\n\t\t// Starting the main `promise` is deferred to avoid consuming streams\n\t\tconst value = typeof promise === 'function'\n\t\t\t? (...args) => Reflect.apply(descriptor.value, promise(), args)\n\t\t\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n"],"names":[],"mappings":";;AAAA;AACA,MAAM,sBAAsB,GAAG,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,SAAS;;AAEnD,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,GAAG,CAAC,QAAQ,IAAI;AACjE,CAAC,QAAQ;AACT,CAAC,OAAO,CAAC,wBAAwB,CAAC,sBAAsB,EAAE,QAAQ,CAAC;AACnE,CAAC;;","x_google_ignoreList":[0]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stdio.js","sources":["../../../../../../../../../node_modules/env-ci/node_modules/execa/lib/stdio.js"],"sourcesContent":["const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const normalizeStdio = options => {\n\tif (!options) {\n\t\treturn;\n\t}\n\n\tconst {stdio} = options;\n\n\tif (stdio === undefined) {\n\t\treturn aliases.map(alias => options[alias]);\n\t}\n\n\tif (hasAlias(options)) {\n\t\tthrow new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${aliases.map(alias => `\\`${alias}\\``).join(', ')}`);\n\t}\n\n\tif (typeof stdio === 'string') {\n\t\treturn stdio;\n\t}\n\n\tif (!Array.isArray(stdio)) {\n\t\tthrow new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n\t}\n\n\tconst length = Math.max(stdio.length, aliases.length);\n\treturn Array.from({length}, (value, index) => stdio[index]);\n};\n\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = options => {\n\tconst stdio = normalizeStdio(options);\n\n\tif (stdio === 'ipc') {\n\t\treturn 'ipc';\n\t}\n\n\tif (stdio === undefined || typeof stdio === 'string') {\n\t\treturn [stdio, stdio, stdio, 'ipc'];\n\t}\n\n\tif (stdio.includes('ipc')) {\n\t\treturn stdio;\n\t}\n\n\treturn [...stdio, 'ipc'];\n};\n"],"names":[],"mappings":";;AAAA,MAAM,OAAO,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC;;AAE7C,MAAM,QAAQ,GAAG,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,KAAK,IAAI,OAAO,CAAC,KAAK,CAAC,KAAK,SAAS,CAAC;;AAEnE,MAAC,cAAc,GAAG,OAAO,IAAI;AACzC,CAAC,IAAI,CAAC,OAAO,EAAE;AACf,EAAE;AACF,CAAC;;AAED,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,OAAO;;AAExB,CAAC,IAAI,KAAK,KAAK,SAAS,EAAE;AAC1B,EAAE,OAAO,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,OAAO,CAAC,KAAK,CAAC,CAAC;AAC7C,CAAC;;AAED,CAAC,IAAI,QAAQ,CAAC,OAAO,CAAC,EAAE;AACxB,EAAE,MAAM,IAAI,KAAK,CAAC,CAAC,kEAAkE,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACzI,CAAC;;AAED,CAAC,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAChC,EAAE,OAAO,KAAK;AACd,CAAC;;AAED,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;AAC5B,EAAE,MAAM,IAAI,SAAS,CAAC,CAAC,gEAAgE,EAAE,OAAO,KAAK,CAAC,EAAE,CAAC,CAAC;AAC1G,CAAC;;AAED,CAAC,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC;AACtD,CAAC,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,KAAK,CAAC,KAAK,CAAC,CAAC;AAC5D;;;;","x_google_ignoreList":[0]}
@@ -3,7 +3,7 @@
3
3
  var require$$0 = require('node:fs');
4
4
  var index = require('../../is-stream/index.js');
5
5
  require('../../get-stream/source/array-buffer.js');
6
- require('../../../_virtual/index7.js');
6
+ require('../../../../../_virtual/index7.js');
7
7
 
8
8
  const validateInputOptions = input => {
9
9
  if (input !== undefined) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stream.js","sources":["../../../../../../../../../node_modules/env-ci/node_modules/execa/lib/stream.js"],"sourcesContent":["import {createReadStream, readFileSync} from 'node:fs';\nimport {setTimeout} from 'node:timers/promises';\nimport {isStream} from 'is-stream';\nimport getStream, {getStreamAsBuffer} from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === undefined) {\n\t\treturn;\n\t}\n\n\tif (isStream(input)) {\n\t\tinput.pipe(spawned.stdin);\n\t} else {\n\t\tspawned.stdin.end(input);\n\t}\n};\n\n// `all` interleaves `stdout` and `stderr`\nexport const makeAllStream = (spawned, {all}) => {\n\tif (!all || (!spawned.stdout && !spawned.stderr)) {\n\t\treturn;\n\t}\n\n\tconst mixed = mergeStream();\n\n\tif (spawned.stdout) {\n\t\tmixed.add(spawned.stdout);\n\t}\n\n\tif (spawned.stderr) {\n\t\tmixed.add(spawned.stderr);\n\t}\n\n\treturn mixed;\n};\n\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst getBufferedData = async (stream, streamPromise) => {\n\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\n\t\treturn;\n\t}\n\n\t// Wait for the `all` stream to receive the last chunk before destroying the stream\n\tawait setTimeout(0);\n\n\tstream.destroy();\n\n\ttry {\n\t\treturn await streamPromise;\n\t} catch (error) {\n\t\treturn error.bufferedData;\n\t}\n};\n\nconst getStreamPromise = (stream, {encoding, buffer, maxBuffer}) => {\n\tif (!stream || !buffer) {\n\t\treturn;\n\t}\n\n\t// eslint-disable-next-line unicorn/text-encoding-identifier-case\n\tif (encoding === 'utf8' || encoding === 'utf-8') {\n\t\treturn getStream(stream, {maxBuffer});\n\t}\n\n\tif (encoding === null || encoding === 'buffer') {\n\t\treturn getStreamAsBuffer(stream, {maxBuffer});\n\t}\n\n\treturn applyEncoding(stream, maxBuffer, encoding);\n};\n\nconst applyEncoding = async (stream, maxBuffer, encoding) => {\n\tconst buffer = await getStreamAsBuffer(stream, {maxBuffer});\n\treturn buffer.toString(encoding);\n};\n\n// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all)\nexport const getSpawnedResult = async ({stdout, stderr, all}, {encoding, buffer, maxBuffer}, processDone) => {\n\tconst stdoutPromise = getStreamPromise(stdout, {encoding, buffer, maxBuffer});\n\tconst stderrPromise = getStreamPromise(stderr, {encoding, buffer, maxBuffer});\n\tconst allPromise = getStreamPromise(all, {encoding, buffer, maxBuffer: maxBuffer * 2});\n\n\ttry {\n\t\treturn await Promise.all([processDone, stdoutPromise, stderrPromise, allPromise]);\n\t} catch (error) {\n\t\treturn Promise.all([\n\t\t\t{error, signal: error.signal, timedOut: error.timedOut},\n\t\t\tgetBufferedData(stdout, stdoutPromise),\n\t\t\tgetBufferedData(stderr, stderrPromise),\n\t\t\tgetBufferedData(all, allPromise),\n\t\t]);\n\t}\n};\n"],"names":["readFileSync","isStream"],"mappings":";;;;;;;AAMA,MAAM,oBAAoB,GAAG,KAAK,IAAI;AACtC,CAAC,IAAI,KAAK,KAAK,SAAS,EAAE;AAC1B,EAAE,MAAM,IAAI,SAAS,CAAC,yDAAyD,CAAC;AAChF,CAAC;AACD,CAAC;;AAED,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,EAAE,SAAS,CAAC,KAAK;AAC7C,CAAC,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE;AACpC,EAAE,OAAO,KAAK;AACd,CAAC;;AAED,CAAC,oBAAoB,CAAC,KAAK,CAAC;AAC5B,CAAC,OAAOA,uBAAY,CAAC,SAAS,CAAC;AAC/B,CAAC;;AAED;AACY,MAAC,eAAe,GAAG,OAAO,IAAI;AAC1C,CAAC,MAAM,KAAK,GAAG,YAAY,CAAC,OAAO,CAAC;;AAEpC,CAAC,IAAIC,cAAQ,CAAC,KAAK,CAAC,EAAE;AACtB,EAAE,MAAM,IAAI,SAAS,CAAC,oDAAoD,CAAC;AAC3E,CAAC;;AAED,CAAC,OAAO,KAAK;AACb;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verbose.js","sources":["../../../../../../../../../node_modules/env-ci/node_modules/execa/lib/verbose.js"],"sourcesContent":["import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n"],"names":["debuglog","process"],"mappings":";;;;;;;;;AAGY,MAAC,cAAc,GAAGA,mBAAQ,CAAC,OAAO,CAAC,CAAC;;AAEhD,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,OAAO,KAAK,MAAM,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC;;AAEzE,MAAM,YAAY,GAAG,MAAM;AAC3B,CAAC,MAAM,IAAI,GAAG,IAAI,IAAI,EAAE;AACxB,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;AACpJ,CAAC;;AAEW,MAAC,UAAU,GAAG,CAAC,cAAc,EAAE,CAAC,OAAO,CAAC,KAAK;AACzD,CAAC,IAAI,CAAC,OAAO,EAAE;AACf,EAAE;AACF,CAAC;;AAED,CAACC,wBAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,EAAE,EAAE,cAAc,CAAC,EAAE,CAAC,CAAC;AAChE;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array-buffer.js","sources":["../../../../../../../../../node_modules/env-ci/node_modules/get-stream/source/array-buffer.js"],"sourcesContent":["import {getStreamContents} from './contents.js';\nimport {noop, throwObjectStream, getLengthProp} from './utils.js';\n\nexport async function getStreamAsArrayBuffer(stream, options) {\n\treturn getStreamContents(stream, arrayBufferMethods, options);\n}\n\nconst initArrayBuffer = () => ({contents: new ArrayBuffer(0)});\n\nconst useTextEncoder = chunk => textEncoder.encode(chunk);\nconst textEncoder = new TextEncoder();\n\nconst useUint8Array = chunk => new Uint8Array(chunk);\n\nconst useUint8ArrayWithOffset = chunk => new Uint8Array(chunk.buffer, chunk.byteOffset, chunk.byteLength);\n\nconst truncateArrayBufferChunk = (convertedChunk, chunkSize) => convertedChunk.slice(0, chunkSize);\n\n// `contents` is an increasingly growing `Uint8Array`.\nconst addArrayBufferChunk = (convertedChunk, {contents, length: previousLength}, length) => {\n\tconst newContents = hasArrayBufferResize() ? resizeArrayBuffer(contents, length) : resizeArrayBufferSlow(contents, length);\n\tnew Uint8Array(newContents).set(convertedChunk, previousLength);\n\treturn newContents;\n};\n\n// Without `ArrayBuffer.resize()`, `contents` size is always a power of 2.\n// This means its last bytes are zeroes (not stream data), which need to be\n// trimmed at the end with `ArrayBuffer.slice()`.\nconst resizeArrayBufferSlow = (contents, length) => {\n\tif (length <= contents.byteLength) {\n\t\treturn contents;\n\t}\n\n\tconst arrayBuffer = new ArrayBuffer(getNewContentsLength(length));\n\tnew Uint8Array(arrayBuffer).set(new Uint8Array(contents), 0);\n\treturn arrayBuffer;\n};\n\n// With `ArrayBuffer.resize()`, `contents` size matches exactly the size of\n// the stream data. It does not include extraneous zeroes to trim at the end.\n// The underlying `ArrayBuffer` does allocate a number of bytes that is a power\n// of 2, but those bytes are only visible after calling `ArrayBuffer.resize()`.\nconst resizeArrayBuffer = (contents, length) => {\n\tif (length <= contents.maxByteLength) {\n\t\tcontents.resize(length);\n\t\treturn contents;\n\t}\n\n\tconst arrayBuffer = new ArrayBuffer(length, {maxByteLength: getNewContentsLength(length)});\n\tnew Uint8Array(arrayBuffer).set(new Uint8Array(contents), 0);\n\treturn arrayBuffer;\n};\n\n// Retrieve the closest `length` that is both >= and a power of 2\nconst getNewContentsLength = length => SCALE_FACTOR ** Math.ceil(Math.log(length) / Math.log(SCALE_FACTOR));\n\nconst SCALE_FACTOR = 2;\n\nconst finalizeArrayBuffer = ({contents, length}) => hasArrayBufferResize() ? contents : contents.slice(0, length);\n\n// `ArrayBuffer.slice()` is slow. When `ArrayBuffer.resize()` is available\n// (Node >=20.0.0, Safari >=16.4 and Chrome), we can use it instead.\n// eslint-disable-next-line no-warning-comments\n// TODO: remove after dropping support for Node 20.\n// eslint-disable-next-line no-warning-comments\n// TODO: use `ArrayBuffer.transferToFixedLength()` instead once it is available\nconst hasArrayBufferResize = () => 'resize' in ArrayBuffer.prototype;\n\nconst arrayBufferMethods = {\n\tinit: initArrayBuffer,\n\tconvertChunk: {\n\t\tstring: useTextEncoder,\n\t\tbuffer: useUint8Array,\n\t\tarrayBuffer: useUint8Array,\n\t\tdataView: useUint8ArrayWithOffset,\n\t\ttypedArray: useUint8ArrayWithOffset,\n\t\tothers: throwObjectStream,\n\t},\n\tgetSize: getLengthProp,\n\ttruncateChunk: truncateArrayBufferChunk,\n\taddChunk: addArrayBufferChunk,\n\tgetFinalChunk: noop,\n\tfinalize: finalizeArrayBuffer,\n};\n"],"names":[],"mappings":";;AAUoB,IAAI,WAAW;;","x_google_ignoreList":[0]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.js","sources":["../../../../../../../../../../node_modules/env-ci/node_modules/human-signals/build/src/core.js"],"sourcesContent":["\n\nexport const SIGNALS=[\n{\nname:\"SIGHUP\",\nnumber:1,\naction:\"terminate\",\ndescription:\"Terminal closed\",\nstandard:\"posix\"\n},\n{\nname:\"SIGINT\",\nnumber:2,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-C\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGQUIT\",\nnumber:3,\naction:\"core\",\ndescription:\"User interruption with CTRL-\\\\\",\nstandard:\"posix\"\n},\n{\nname:\"SIGILL\",\nnumber:4,\naction:\"core\",\ndescription:\"Invalid machine instruction\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGTRAP\",\nnumber:5,\naction:\"core\",\ndescription:\"Debugger breakpoint\",\nstandard:\"posix\"\n},\n{\nname:\"SIGABRT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGIOT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGBUS\",\nnumber:7,\naction:\"core\",\ndescription:\n\"Bus error due to misaligned, non-existing address or paging error\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGEMT\",\nnumber:7,\naction:\"terminate\",\ndescription:\"Command should be emulated but is not implemented\",\nstandard:\"other\"\n},\n{\nname:\"SIGFPE\",\nnumber:8,\naction:\"core\",\ndescription:\"Floating point arithmetic error\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGKILL\",\nnumber:9,\naction:\"terminate\",\ndescription:\"Forced termination\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGUSR1\",\nnumber:10,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGSEGV\",\nnumber:11,\naction:\"core\",\ndescription:\"Segmentation fault\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGUSR2\",\nnumber:12,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGPIPE\",\nnumber:13,\naction:\"terminate\",\ndescription:\"Broken pipe or socket\",\nstandard:\"posix\"\n},\n{\nname:\"SIGALRM\",\nnumber:14,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTERM\",\nnumber:15,\naction:\"terminate\",\ndescription:\"Termination\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGSTKFLT\",\nnumber:16,\naction:\"terminate\",\ndescription:\"Stack is empty or overflowed\",\nstandard:\"other\"\n},\n{\nname:\"SIGCHLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"posix\"\n},\n{\nname:\"SIGCLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"other\"\n},\n{\nname:\"SIGCONT\",\nnumber:18,\naction:\"unpause\",\ndescription:\"Unpaused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGSTOP\",\nnumber:19,\naction:\"pause\",\ndescription:\"Paused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGTSTP\",\nnumber:20,\naction:\"pause\",\ndescription:\"Paused using CTRL-Z or \\\"suspend\\\"\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTTIN\",\nnumber:21,\naction:\"pause\",\ndescription:\"Background process cannot read terminal input\",\nstandard:\"posix\"\n},\n{\nname:\"SIGBREAK\",\nnumber:21,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-BREAK\",\nstandard:\"other\"\n},\n{\nname:\"SIGTTOU\",\nnumber:22,\naction:\"pause\",\ndescription:\"Background process cannot write to terminal output\",\nstandard:\"posix\"\n},\n{\nname:\"SIGURG\",\nnumber:23,\naction:\"ignore\",\ndescription:\"Socket received out-of-band data\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXCPU\",\nnumber:24,\naction:\"core\",\ndescription:\"Process timed out\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXFSZ\",\nnumber:25,\naction:\"core\",\ndescription:\"File too big\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGVTALRM\",\nnumber:26,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGPROF\",\nnumber:27,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGWINCH\",\nnumber:28,\naction:\"ignore\",\ndescription:\"Terminal window size changed\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGIO\",\nnumber:29,\naction:\"terminate\",\ndescription:\"I/O is available\",\nstandard:\"other\"\n},\n{\nname:\"SIGPOLL\",\nnumber:29,\naction:\"terminate\",\ndescription:\"Watched event\",\nstandard:\"other\"\n},\n{\nname:\"SIGINFO\",\nnumber:29,\naction:\"ignore\",\ndescription:\"Request for process information\",\nstandard:\"other\"\n},\n{\nname:\"SIGPWR\",\nnumber:30,\naction:\"terminate\",\ndescription:\"Device running out of power\",\nstandard:\"systemv\"\n},\n{\nname:\"SIGSYS\",\nnumber:31,\naction:\"core\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n},\n{\nname:\"SIGUNUSED\",\nnumber:31,\naction:\"terminate\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n}];"],"names":[],"mappings":";;AAEY,MAAC,OAAO,CAAC;AACrB;AACA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;AACT,MAAM,CAAC,WAAW;AAClB,WAAW,CAAC,qBAAqB;AACjC,QAAQ,CAAC;AACT,CAAC;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.js","sources":["../../../../../../../../../../node_modules/env-ci/node_modules/human-signals/build/src/main.js"],"sourcesContent":["import{constants}from\"node:os\";\n\nimport{SIGRTMAX}from\"./realtime.js\";\nimport{getSignals}from\"./signals.js\";\n\n\n\nconst getSignalsByName=()=>{\nconst signals=getSignals();\nreturn Object.fromEntries(signals.map(getSignalByName))\n};\n\nconst getSignalByName=({\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n})=>[name,{name,number,description,supported,action,forced,standard}];\n\nexport const signalsByName=getSignalsByName();\n\n\n\n\nconst getSignalsByNumber=()=>{\nconst signals=getSignals();\nconst length=SIGRTMAX+1;\nconst signalsA=Array.from({length},(value,number)=>\ngetSignalByNumber(number,signals)\n);\nreturn Object.assign({},...signalsA)\n};\n\nconst getSignalByNumber=(number,signals)=>{\nconst signal=findSignalByNumber(number,signals);\n\nif(signal===undefined){\nreturn{}\n}\n\nconst{name,description,supported,action,forced,standard}=signal;\nreturn{\n[number]:{\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n}\n}\n};\n\n\n\nconst findSignalByNumber=(number,signals)=>{\nconst signal=signals.find(({name})=>constants.signals[name]===number);\n\nif(signal!==undefined){\nreturn signal\n}\n\nreturn signals.find((signalA)=>signalA.number===number)\n};\n\nexport const signalsByNumber=getSignalsByNumber();"],"names":["signals","getSignals","SIGRTMAX","constants"],"mappings":";;;;;;AAOA,MAAM,gBAAgB,CAAC,IAAI;AAC3B,MAAMA,SAAO,CAACC,kBAAU,EAAE;AAC1B,OAAO,MAAM,CAAC,WAAW,CAACD,SAAO,CAAC,GAAG,CAAC,eAAe,CAAC;AACtD,CAAC;;AAED,MAAM,eAAe,CAAC,CAAC;AACvB,IAAI;AACJ,MAAM;AACN,WAAW;AACX,S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AC,CAAC,OAAO,GAAG,OAAO,CAAC,MAAM,GAAG,MAAM;AACtD,CAAC;;AAE4B,kBAAkB;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"realtime.js","sources":["../../../../../../../../../../node_modules/env-ci/node_modules/human-signals/build/src/realtime.js"],"sourcesContent":["\nexport const getRealtimeSignals=()=>{\nconst length=SIGRTMAX-SIGRTMIN+1;\nreturn Array.from({length},getRealtimeSignal)\n};\n\nconst getRealtimeSignal=(value,index)=>({\nname:`SIGRT${index+1}`,\nnumber:SIGRTMIN+index,\naction:\"terminate\",\ndescription:\"Application-specific signal (realtime)\",\nstandard:\"posix\"\n});\n\nconst SIGRTMIN=34;\nexport const SIGRTMAX=64;"],"names":[],"mappings":";;AACY,MAAC,kBAAkB,CAAC,IAAI;AACpC,MAAM,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAChC,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,iBAAiB;AAC5C;;AAEA,MAAM,iBAAiB,CAAC,CAAC,KAAK,CAAC,KAAK,IAAI;AACxC,IAAI,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;AACtB,MAAM,CAAC,QAAQ,CAAC,KAAK;AACrB,MAAM,CAAC,WAAW;AAClB,WAAW,CAAC,wCAAwC;AACpD,QAAQ,CAAC;AACT,CAAC,CAAC;;AAEF,MAAM,QAAQ,CAAC,EAAE;AACL,MAAC,QAAQ,CAAC;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signals.js","sources":["../../../../../../../../../../node_modules/env-ci/node_modules/human-signals/build/src/signals.js"],"sourcesContent":["import{constants}from\"node:os\";\n\nimport{SIGNALS}from\"./core.js\";\nimport{getRealtimeSignals}from\"./realtime.js\";\n\n\n\nexport const getSignals=()=>{\nconst realtimeSignals=getRealtimeSignals();\nconst signals=[...SIGNALS,...realtimeSignals].map(normalizeSignal);\nreturn signals\n};\n\n\n\n\n\n\n\nconst normalizeSignal=({\nname,\nnumber:defaultNumber,\ndescription,\naction,\nforced=false,\nstandard\n})=>{\nconst{\nsignals:{[name]:constantSignal}\n}=constants;\nconst supported=constantSignal!==undefined;\nconst number=supported?constantSignal:defaultNumber;\nreturn{name,number,description,supported,action,forced,standard}\n};"],"names":["getRealtimeSignals","SIGNALS","constants"],"mappings":";;;;;;AAOY,MAAC,UAAU,CAAC,IAAI;AAC5B,MAAM,eAAe,CAACA,2BAAkB,EAAE;AAC1C,MAAM,OAAO,CAAC,CAAC,GAAGC,YAAO,CAAC,GAAG,eAAe,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC;AAClE,OAAO;AACP;;;;;;;;AAQA,MAAM,eAAe,CAAC,CAAC;AACvB,IAAI;AACJ,MAAM,CAAC,aAAa;AACpB,WAAW;AACX,MAAM;AACN,MAAM,CAAC,KAAK;AACZ;AACA,CAAC,GAAG;AACJ,KAAK;AACL,OAAO,CAAC,CAAC,CAAC,IAAI,EAAE,cAAc;AAC9B,CAAC,CAACC,YAAS;AACX,MAAM,SAAS,CAAC,cAAc,GAAG,SAAS;AAC1C,MAAM,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,aAAa;AACnD,OAAM,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ;AAC/D,CAAC;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/env-ci/node_modules/is-stream/index.js"],"sourcesContent":["export function isStream(stream) {\n\treturn stream !== null\n\t\t&& typeof stream === 'object'\n\t\t&& typeof stream.pipe === 'function';\n}\n\nexport function isWritableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.writable !== false\n\t\t&& typeof stream._write === 'function'\n\t\t&& typeof stream._writableState === 'object';\n}\n\nexport function isReadableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.readable !== false\n\t\t&& typeof stream._read === 'function'\n\t\t&& typeof stream._readableState === 'object';\n}\n\nexport function isDuplexStream(stream) {\n\treturn isWritableStream(stream)\n\t\t&& isReadableStream(stream);\n}\n\nexport function isTransformStream(stream) {\n\treturn isDuplexStream(stream)\n\t\t&& typeof stream._transform === 'function';\n}\n"],"names":[],"mappings":";;AAAO,SAAS,QAAQ,CAAC,MAAM,EAAE;AACjC,CAAC,OAAO,MAAM,KAAK;AACnB,KAAK,OAAO,MAAM,KAAK;AACvB,KAAK,OAAO,MAAM,CAAC,IAAI,KAAK,UAAU;AACtC;;;;","x_google_ignoreList":[0]}
@@ -3,7 +3,7 @@
3
3
  var process = require('node:process');
4
4
  var path = require('node:path');
5
5
  var require$$1 = require('node:url');
6
- var index = require('./__/path-key/index.js');
6
+ var index = require('../path-key/index.js');
7
7
 
8
8
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
9
9