├── .github ├── actions │ ├── README.md │ ├── prepare-dynamic-steps │ │ ├── .npmrc │ │ ├── .nvmrc │ │ ├── action.yaml │ │ ├── index.js │ │ ├── node_modules │ │ │ ├── .bin │ │ │ │ └── yaml │ │ │ ├── .package-lock.json │ │ │ ├── @actions │ │ │ │ ├── core │ │ │ │ │ ├── LICENSE.md │ │ │ │ │ ├── README.md │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── command.d.ts │ │ │ │ │ │ ├── command.js │ │ │ │ │ │ ├── command.js.map │ │ │ │ │ │ ├── core.d.ts │ │ │ │ │ │ ├── core.js │ │ │ │ │ │ ├── core.js.map │ │ │ │ │ │ ├── file-command.d.ts │ │ │ │ │ │ ├── file-command.js │ │ │ │ │ │ ├── file-command.js.map │ │ │ │ │ │ ├── oidc-utils.d.ts │ │ │ │ │ │ ├── oidc-utils.js │ │ │ │ │ │ ├── oidc-utils.js.map │ │ │ │ │ │ ├── path-utils.d.ts │ │ │ │ │ │ ├── path-utils.js │ │ │ │ │ │ ├── path-utils.js.map │ │ │ │ │ │ ├── platform.d.ts │ │ │ │ │ │ ├── platform.js │ │ │ │ │ │ ├── platform.js.map │ │ │ │ │ │ ├── summary.d.ts │ │ │ │ │ │ ├── summary.js │ │ │ │ │ │ ├── summary.js.map │ │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ │ ├── utils.js │ │ │ │ │ │ └── utils.js.map │ │ │ │ │ └── package.json │ │ │ │ ├── exec │ │ │ │ │ ├── LICENSE.md │ │ │ │ │ ├── README.md │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── exec.d.ts │ │ │ │ │ │ ├── exec.js │ │ │ │ │ │ ├── exec.js.map │ │ │ │ │ │ ├── interfaces.d.ts │ │ │ │ │ │ ├── interfaces.js │ │ │ │ │ │ ├── interfaces.js.map │ │ │ │ │ │ ├── toolrunner.d.ts │ │ │ │ │ │ ├── toolrunner.js │ │ │ │ │ │ └── toolrunner.js.map │ │ │ │ │ └── package.json │ │ │ │ ├── http-client │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── auth.d.ts │ │ │ │ │ │ ├── auth.js │ │ │ │ │ │ ├── auth.js.map │ │ │ │ │ │ ├── index.d.ts │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── index.js.map │ │ │ │ │ │ ├── interfaces.d.ts │ │ │ │ │ │ ├── interfaces.js │ │ │ │ │ │ ├── interfaces.js.map │ │ │ │ │ │ ├── proxy.d.ts │ │ │ │ │ │ ├── proxy.js │ │ │ │ │ │ └── proxy.js.map │ │ │ │ │ └── package.json │ │ │ │ └── io │ │ │ │ │ ├── LICENSE.md │ │ │ │ │ ├── README.md │ │ │ │ │ ├── lib │ │ │ │ │ ├── io-util.d.ts │ │ │ │ │ ├── io-util.js │ │ │ │ │ ├── io-util.js.map │ │ │ │ │ ├── io.d.ts │ │ │ │ │ ├── io.js │ │ │ │ │ └── io.js.map │ │ │ │ │ └── package.json │ │ │ ├── @fastify │ │ │ │ └── busboy │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── deps │ │ │ │ │ ├── dicer │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ └── lib │ │ │ │ │ │ │ ├── Dicer.js │ │ │ │ │ │ │ ├── HeaderParser.js │ │ │ │ │ │ │ ├── PartStream.js │ │ │ │ │ │ │ └── dicer.d.ts │ │ │ │ │ └── streamsearch │ │ │ │ │ │ └── sbmh.js │ │ │ │ │ ├── lib │ │ │ │ │ ├── main.d.ts │ │ │ │ │ ├── main.js │ │ │ │ │ ├── types │ │ │ │ │ │ ├── multipart.js │ │ │ │ │ │ └── urlencoded.js │ │ │ │ │ └── utils │ │ │ │ │ │ ├── Decoder.js │ │ │ │ │ │ ├── basename.js │ │ │ │ │ │ ├── decodeText.js │ │ │ │ │ │ ├── getLimit.js │ │ │ │ │ │ └── parseParams.js │ │ │ │ │ └── package.json │ │ │ ├── tunnel │ │ │ │ ├── .travis.yml │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ │ └── tunnel.js │ │ │ │ └── package.json │ │ │ ├── undici │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── docs │ │ │ │ │ ├── api │ │ │ │ │ │ ├── Agent.md │ │ │ │ │ │ ├── BalancedPool.md │ │ │ │ │ │ ├── CacheStorage.md │ │ │ │ │ │ ├── Client.md │ │ │ │ │ │ ├── Connector.md │ │ │ │ │ │ ├── ContentType.md │ │ │ │ │ │ ├── Cookies.md │ │ │ │ │ │ ├── DiagnosticsChannel.md │ │ │ │ │ │ ├── DispatchInterceptor.md │ │ │ │ │ │ ├── Dispatcher.md │ │ │ │ │ │ ├── Errors.md │ │ │ │ │ │ ├── Fetch.md │ │ │ │ │ │ ├── MockAgent.md │ │ │ │ │ │ ├── MockClient.md │ │ │ │ │ │ ├── MockErrors.md │ │ │ │ │ │ ├── MockPool.md │ │ │ │ │ │ ├── Pool.md │ │ │ │ │ │ ├── PoolStats.md │ │ │ │ │ │ ├── ProxyAgent.md │ │ │ │ │ │ ├── RetryHandler.md │ │ │ │ │ │ ├── WebSocket.md │ │ │ │ │ │ └── api-lifecycle.md │ │ │ │ │ ├── assets │ │ │ │ │ │ └── lifecycle-diagram.png │ │ │ │ │ └── best-practices │ │ │ │ │ │ ├── client-certificate.md │ │ │ │ │ │ ├── mocking-request.md │ │ │ │ │ │ ├── proxy.md │ │ │ │ │ │ └── writing-tests.md │ │ │ │ ├── index-fetch.js │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── lib │ │ │ │ │ ├── agent.js │ │ │ │ │ ├── api │ │ │ │ │ │ ├── abort-signal.js │ │ │ │ │ │ ├── api-connect.js │ │ │ │ │ │ ├── api-pipeline.js │ │ │ │ │ │ ├── api-request.js │ │ │ │ │ │ ├── api-stream.js │ │ │ │ │ │ ├── api-upgrade.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── readable.js │ │ │ │ │ │ └── util.js │ │ │ │ │ ├── balanced-pool.js │ │ │ │ │ ├── cache │ │ │ │ │ │ ├── cache.js │ │ │ │ │ │ ├── cachestorage.js │ │ │ │ │ │ ├── symbols.js │ │ │ │ │ │ └── util.js │ │ │ │ │ ├── client.js │ │ │ │ │ ├── compat │ │ │ │ │ │ └── dispatcher-weakref.js │ │ │ │ │ ├── cookies │ │ │ │ │ │ ├── constants.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── parse.js │ │ │ │ │ │ └── util.js │ │ │ │ │ ├── core │ │ │ │ │ │ ├── connect.js │ │ │ │ │ │ ├── constants.js │ │ │ │ │ │ ├── errors.js │ │ │ │ │ │ ├── request.js │ │ │ │ │ │ ├── symbols.js │ │ │ │ │ │ └── util.js │ │ │ │ │ ├── dispatcher-base.js │ │ │ │ │ ├── dispatcher.js │ │ │ │ │ ├── fetch │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── body.js │ │ │ │ │ │ ├── constants.js │ │ │ │ │ │ ├── dataURL.js │ │ │ │ │ │ ├── file.js │ │ │ │ │ │ ├── formdata.js │ │ │ │ │ │ ├── global.js │ │ │ │ │ │ ├── headers.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── request.js │ │ │ │ │ │ ├── response.js │ │ │ │ │ │ ├── symbols.js │ │ │ │ │ │ ├── util.js │ │ │ │ │ │ └── webidl.js │ │ │ │ │ ├── fileapi │ │ │ │ │ │ ├── encoding.js │ │ │ │ │ │ ├── filereader.js │ │ │ │ │ │ ├── progressevent.js │ │ │ │ │ │ ├── symbols.js │ │ │ │ │ │ └── util.js │ │ │ │ │ ├── global.js │ │ │ │ │ ├── handler │ │ │ │ │ │ ├── DecoratorHandler.js │ │ │ │ │ │ ├── RedirectHandler.js │ │ │ │ │ │ └── RetryHandler.js │ │ │ │ │ ├── interceptor │ │ │ │ │ │ └── redirectInterceptor.js │ │ │ │ │ ├── llhttp │ │ │ │ │ │ ├── constants.d.ts │ │ │ │ │ │ ├── constants.js │ │ │ │ │ │ ├── constants.js.map │ │ │ │ │ │ ├── llhttp-wasm.js │ │ │ │ │ │ ├── llhttp.wasm │ │ │ │ │ │ ├── llhttp_simd-wasm.js │ │ │ │ │ │ ├── llhttp_simd.wasm │ │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ │ ├── utils.js │ │ │ │ │ │ ├── utils.js.map │ │ │ │ │ │ └── wasm_build_env.txt │ │ │ │ │ ├── mock │ │ │ │ │ │ ├── mock-agent.js │ │ │ │ │ │ ├── mock-client.js │ │ │ │ │ │ ├── mock-errors.js │ │ │ │ │ │ ├── mock-interceptor.js │ │ │ │ │ │ ├── mock-pool.js │ │ │ │ │ │ ├── mock-symbols.js │ │ │ │ │ │ ├── mock-utils.js │ │ │ │ │ │ ├── pending-interceptors-formatter.js │ │ │ │ │ │ └── pluralizer.js │ │ │ │ │ ├── node │ │ │ │ │ │ └── fixed-queue.js │ │ │ │ │ ├── pool-base.js │ │ │ │ │ ├── pool-stats.js │ │ │ │ │ ├── pool.js │ │ │ │ │ ├── proxy-agent.js │ │ │ │ │ ├── timers.js │ │ │ │ │ └── websocket │ │ │ │ │ │ ├── connection.js │ │ │ │ │ │ ├── constants.js │ │ │ │ │ │ ├── events.js │ │ │ │ │ │ ├── frame.js │ │ │ │ │ │ ├── receiver.js │ │ │ │ │ │ ├── symbols.js │ │ │ │ │ │ ├── util.js │ │ │ │ │ │ └── websocket.js │ │ │ │ ├── package.json │ │ │ │ └── types │ │ │ │ │ ├── README.md │ │ │ │ │ ├── agent.d.ts │ │ │ │ │ ├── api.d.ts │ │ │ │ │ ├── balanced-pool.d.ts │ │ │ │ │ ├── cache.d.ts │ │ │ │ │ ├── client.d.ts │ │ │ │ │ ├── connector.d.ts │ │ │ │ │ ├── content-type.d.ts │ │ │ │ │ ├── cookies.d.ts │ │ │ │ │ ├── diagnostics-channel.d.ts │ │ │ │ │ ├── dispatcher.d.ts │ │ │ │ │ ├── errors.d.ts │ │ │ │ │ ├── fetch.d.ts │ │ │ │ │ ├── file.d.ts │ │ │ │ │ ├── filereader.d.ts │ │ │ │ │ ├── formdata.d.ts │ │ │ │ │ ├── global-dispatcher.d.ts │ │ │ │ │ ├── global-origin.d.ts │ │ │ │ │ ├── handlers.d.ts │ │ │ │ │ ├── header.d.ts │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── interceptors.d.ts │ │ │ │ │ ├── mock-agent.d.ts │ │ │ │ │ ├── mock-client.d.ts │ │ │ │ │ ├── mock-errors.d.ts │ │ │ │ │ ├── mock-interceptor.d.ts │ │ │ │ │ ├── mock-pool.d.ts │ │ │ │ │ ├── patch.d.ts │ │ │ │ │ ├── pool-stats.d.ts │ │ │ │ │ ├── pool.d.ts │ │ │ │ │ ├── proxy-agent.d.ts │ │ │ │ │ ├── readable.d.ts │ │ │ │ │ ├── retry-handler.d.ts │ │ │ │ │ ├── webidl.d.ts │ │ │ │ │ └── websocket.d.ts │ │ │ └── yaml │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── bin.mjs │ │ │ │ ├── browser │ │ │ │ ├── dist │ │ │ │ │ ├── compose │ │ │ │ │ │ ├── compose-collection.js │ │ │ │ │ │ ├── compose-doc.js │ │ │ │ │ │ ├── compose-node.js │ │ │ │ │ │ ├── compose-scalar.js │ │ │ │ │ │ ├── composer.js │ │ │ │ │ │ ├── resolve-block-map.js │ │ │ │ │ │ ├── resolve-block-scalar.js │ │ │ │ │ │ ├── resolve-block-seq.js │ │ │ │ │ │ ├── resolve-end.js │ │ │ │ │ │ ├── resolve-flow-collection.js │ │ │ │ │ │ ├── resolve-flow-scalar.js │ │ │ │ │ │ ├── resolve-props.js │ │ │ │ │ │ ├── util-contains-newline.js │ │ │ │ │ │ ├── util-empty-scalar-position.js │ │ │ │ │ │ ├── util-flow-indent-check.js │ │ │ │ │ │ └── util-map-includes.js │ │ │ │ │ ├── doc │ │ │ │ │ │ ├── Document.js │ │ │ │ │ │ ├── anchors.js │ │ │ │ │ │ ├── applyReviver.js │ │ │ │ │ │ ├── createNode.js │ │ │ │ │ │ └── directives.js │ │ │ │ │ ├── errors.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── log.js │ │ │ │ │ ├── nodes │ │ │ │ │ │ ├── Alias.js │ │ │ │ │ │ ├── Collection.js │ │ │ │ │ │ ├── Node.js │ │ │ │ │ │ ├── Pair.js │ │ │ │ │ │ ├── Scalar.js │ │ │ │ │ │ ├── YAMLMap.js │ │ │ │ │ │ ├── YAMLSeq.js │ │ │ │ │ │ ├── addPairToJSMap.js │ │ │ │ │ │ ├── identity.js │ │ │ │ │ │ └── toJS.js │ │ │ │ │ ├── parse │ │ │ │ │ │ ├── cst-scalar.js │ │ │ │ │ │ ├── cst-stringify.js │ │ │ │ │ │ ├── cst-visit.js │ │ │ │ │ │ ├── cst.js │ │ │ │ │ │ ├── lexer.js │ │ │ │ │ │ ├── line-counter.js │ │ │ │ │ │ └── parser.js │ │ │ │ │ ├── public-api.js │ │ │ │ │ ├── schema │ │ │ │ │ │ ├── Schema.js │ │ │ │ │ │ ├── common │ │ │ │ │ │ │ ├── map.js │ │ │ │ │ │ │ ├── null.js │ │ │ │ │ │ │ ├── seq.js │ │ │ │ │ │ │ └── string.js │ │ │ │ │ │ ├── core │ │ │ │ │ │ │ ├── bool.js │ │ │ │ │ │ │ ├── float.js │ │ │ │ │ │ │ ├── int.js │ │ │ │ │ │ │ └── schema.js │ │ │ │ │ │ ├── json │ │ │ │ │ │ │ └── schema.js │ │ │ │ │ │ ├── tags.js │ │ │ │ │ │ └── yaml-1.1 │ │ │ │ │ │ │ ├── binary.js │ │ │ │ │ │ │ ├── bool.js │ │ │ │ │ │ │ ├── float.js │ │ │ │ │ │ │ ├── int.js │ │ │ │ │ │ │ ├── merge.js │ │ │ │ │ │ │ ├── omap.js │ │ │ │ │ │ │ ├── pairs.js │ │ │ │ │ │ │ ├── schema.js │ │ │ │ │ │ │ ├── set.js │ │ │ │ │ │ │ └── timestamp.js │ │ │ │ │ ├── stringify │ │ │ │ │ │ ├── foldFlowLines.js │ │ │ │ │ │ ├── stringify.js │ │ │ │ │ │ ├── stringifyCollection.js │ │ │ │ │ │ ├── stringifyComment.js │ │ │ │ │ │ ├── stringifyDocument.js │ │ │ │ │ │ ├── stringifyNumber.js │ │ │ │ │ │ ├── stringifyPair.js │ │ │ │ │ │ └── stringifyString.js │ │ │ │ │ ├── util.js │ │ │ │ │ └── visit.js │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ │ ├── dist │ │ │ │ ├── cli.d.ts │ │ │ │ ├── cli.mjs │ │ │ │ ├── compose │ │ │ │ │ ├── compose-collection.d.ts │ │ │ │ │ ├── compose-collection.js │ │ │ │ │ ├── compose-doc.d.ts │ │ │ │ │ ├── compose-doc.js │ │ │ │ │ ├── compose-node.d.ts │ │ │ │ │ ├── compose-node.js │ │ │ │ │ ├── compose-scalar.d.ts │ │ │ │ │ ├── compose-scalar.js │ │ │ │ │ ├── composer.d.ts │ │ │ │ │ ├── composer.js │ │ │ │ │ ├── resolve-block-map.d.ts │ │ │ │ │ ├── resolve-block-map.js │ │ │ │ │ ├── resolve-block-scalar.d.ts │ │ │ │ │ ├── resolve-block-scalar.js │ │ │ │ │ ├── resolve-block-seq.d.ts │ │ │ │ │ ├── resolve-block-seq.js │ │ │ │ │ ├── resolve-end.d.ts │ │ │ │ │ ├── resolve-end.js │ │ │ │ │ ├── resolve-flow-collection.d.ts │ │ │ │ │ ├── resolve-flow-collection.js │ │ │ │ │ ├── resolve-flow-scalar.d.ts │ │ │ │ │ ├── resolve-flow-scalar.js │ │ │ │ │ ├── resolve-props.d.ts │ │ │ │ │ ├── resolve-props.js │ │ │ │ │ ├── util-contains-newline.d.ts │ │ │ │ │ ├── util-contains-newline.js │ │ │ │ │ ├── util-empty-scalar-position.d.ts │ │ │ │ │ ├── util-empty-scalar-position.js │ │ │ │ │ ├── util-flow-indent-check.d.ts │ │ │ │ │ ├── util-flow-indent-check.js │ │ │ │ │ ├── util-map-includes.d.ts │ │ │ │ │ └── util-map-includes.js │ │ │ │ ├── doc │ │ │ │ │ ├── Document.d.ts │ │ │ │ │ ├── Document.js │ │ │ │ │ ├── anchors.d.ts │ │ │ │ │ ├── anchors.js │ │ │ │ │ ├── applyReviver.d.ts │ │ │ │ │ ├── applyReviver.js │ │ │ │ │ ├── createNode.d.ts │ │ │ │ │ ├── createNode.js │ │ │ │ │ ├── directives.d.ts │ │ │ │ │ └── directives.js │ │ │ │ ├── errors.d.ts │ │ │ │ ├── errors.js │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── log.d.ts │ │ │ │ ├── log.js │ │ │ │ ├── nodes │ │ │ │ │ ├── Alias.d.ts │ │ │ │ │ ├── Alias.js │ │ │ │ │ ├── Collection.d.ts │ │ │ │ │ ├── Collection.js │ │ │ │ │ ├── Node.d.ts │ │ │ │ │ ├── Node.js │ │ │ │ │ ├── Pair.d.ts │ │ │ │ │ ├── Pair.js │ │ │ │ │ ├── Scalar.d.ts │ │ │ │ │ ├── Scalar.js │ │ │ │ │ ├── YAMLMap.d.ts │ │ │ │ │ ├── YAMLMap.js │ │ │ │ │ ├── YAMLSeq.d.ts │ │ │ │ │ ├── YAMLSeq.js │ │ │ │ │ ├── addPairToJSMap.d.ts │ │ │ │ │ ├── addPairToJSMap.js │ │ │ │ │ ├── identity.d.ts │ │ │ │ │ ├── identity.js │ │ │ │ │ ├── toJS.d.ts │ │ │ │ │ └── toJS.js │ │ │ │ ├── options.d.ts │ │ │ │ ├── parse │ │ │ │ │ ├── cst-scalar.d.ts │ │ │ │ │ ├── cst-scalar.js │ │ │ │ │ ├── cst-stringify.d.ts │ │ │ │ │ ├── cst-stringify.js │ │ │ │ │ ├── cst-visit.d.ts │ │ │ │ │ ├── cst-visit.js │ │ │ │ │ ├── cst.d.ts │ │ │ │ │ ├── cst.js │ │ │ │ │ ├── lexer.d.ts │ │ │ │ │ ├── lexer.js │ │ │ │ │ ├── line-counter.d.ts │ │ │ │ │ ├── line-counter.js │ │ │ │ │ ├── parser.d.ts │ │ │ │ │ └── parser.js │ │ │ │ ├── public-api.d.ts │ │ │ │ ├── public-api.js │ │ │ │ ├── schema │ │ │ │ │ ├── Schema.d.ts │ │ │ │ │ ├── Schema.js │ │ │ │ │ ├── common │ │ │ │ │ │ ├── map.d.ts │ │ │ │ │ │ ├── map.js │ │ │ │ │ │ ├── null.d.ts │ │ │ │ │ │ ├── null.js │ │ │ │ │ │ ├── seq.d.ts │ │ │ │ │ │ ├── seq.js │ │ │ │ │ │ ├── string.d.ts │ │ │ │ │ │ └── string.js │ │ │ │ │ ├── core │ │ │ │ │ │ ├── bool.d.ts │ │ │ │ │ │ ├── bool.js │ │ │ │ │ │ ├── float.d.ts │ │ │ │ │ │ ├── float.js │ │ │ │ │ │ ├── int.d.ts │ │ │ │ │ │ ├── int.js │ │ │ │ │ │ ├── schema.d.ts │ │ │ │ │ │ └── schema.js │ │ │ │ │ ├── json-schema.d.ts │ │ │ │ │ ├── json │ │ │ │ │ │ ├── schema.d.ts │ │ │ │ │ │ └── schema.js │ │ │ │ │ ├── tags.d.ts │ │ │ │ │ ├── tags.js │ │ │ │ │ ├── types.d.ts │ │ │ │ │ └── yaml-1.1 │ │ │ │ │ │ ├── binary.d.ts │ │ │ │ │ │ ├── binary.js │ │ │ │ │ │ ├── bool.d.ts │ │ │ │ │ │ ├── bool.js │ │ │ │ │ │ ├── float.d.ts │ │ │ │ │ │ ├── float.js │ │ │ │ │ │ ├── int.d.ts │ │ │ │ │ │ ├── int.js │ │ │ │ │ │ ├── merge.d.ts │ │ │ │ │ │ ├── merge.js │ │ │ │ │ │ ├── omap.d.ts │ │ │ │ │ │ ├── omap.js │ │ │ │ │ │ ├── pairs.d.ts │ │ │ │ │ │ ├── pairs.js │ │ │ │ │ │ ├── schema.d.ts │ │ │ │ │ │ ├── schema.js │ │ │ │ │ │ ├── set.d.ts │ │ │ │ │ │ ├── set.js │ │ │ │ │ │ ├── timestamp.d.ts │ │ │ │ │ │ └── timestamp.js │ │ │ │ ├── stringify │ │ │ │ │ ├── foldFlowLines.d.ts │ │ │ │ │ ├── foldFlowLines.js │ │ │ │ │ ├── stringify.d.ts │ │ │ │ │ ├── stringify.js │ │ │ │ │ ├── stringifyCollection.d.ts │ │ │ │ │ ├── stringifyCollection.js │ │ │ │ │ ├── stringifyComment.d.ts │ │ │ │ │ ├── stringifyComment.js │ │ │ │ │ ├── stringifyDocument.d.ts │ │ │ │ │ ├── stringifyDocument.js │ │ │ │ │ ├── stringifyNumber.d.ts │ │ │ │ │ ├── stringifyNumber.js │ │ │ │ │ ├── stringifyPair.d.ts │ │ │ │ │ ├── stringifyPair.js │ │ │ │ │ ├── stringifyString.d.ts │ │ │ │ │ └── stringifyString.js │ │ │ │ ├── test-events.d.ts │ │ │ │ ├── test-events.js │ │ │ │ ├── util.d.ts │ │ │ │ ├── util.js │ │ │ │ ├── visit.d.ts │ │ │ │ └── visit.js │ │ │ │ ├── package.json │ │ │ │ └── util.js │ │ ├── npm-shrinkwrap.json │ │ ├── package.json │ │ └── test │ │ │ └── index.js │ └── prepare-node-test-matrix-action │ │ ├── .npmrc │ │ ├── .nvmrc │ │ ├── action.yaml │ │ ├── index.js │ │ ├── node_modules │ │ ├── .bin │ │ │ ├── semver │ │ │ └── yaml │ │ ├── .package-lock.json │ │ ├── @actions │ │ │ ├── core │ │ │ │ ├── LICENSE.md │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── command.d.ts │ │ │ │ │ ├── command.js │ │ │ │ │ ├── command.js.map │ │ │ │ │ ├── core.d.ts │ │ │ │ │ ├── core.js │ │ │ │ │ ├── core.js.map │ │ │ │ │ ├── file-command.d.ts │ │ │ │ │ ├── file-command.js │ │ │ │ │ ├── file-command.js.map │ │ │ │ │ ├── oidc-utils.d.ts │ │ │ │ │ ├── oidc-utils.js │ │ │ │ │ ├── oidc-utils.js.map │ │ │ │ │ ├── path-utils.d.ts │ │ │ │ │ ├── path-utils.js │ │ │ │ │ ├── path-utils.js.map │ │ │ │ │ ├── platform.d.ts │ │ │ │ │ ├── platform.js │ │ │ │ │ ├── platform.js.map │ │ │ │ │ ├── summary.d.ts │ │ │ │ │ ├── summary.js │ │ │ │ │ ├── summary.js.map │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ ├── utils.js │ │ │ │ │ └── utils.js.map │ │ │ │ └── package.json │ │ │ ├── exec │ │ │ │ ├── LICENSE.md │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── exec.d.ts │ │ │ │ │ ├── exec.js │ │ │ │ │ ├── exec.js.map │ │ │ │ │ ├── interfaces.d.ts │ │ │ │ │ ├── interfaces.js │ │ │ │ │ ├── interfaces.js.map │ │ │ │ │ ├── toolrunner.d.ts │ │ │ │ │ ├── toolrunner.js │ │ │ │ │ └── toolrunner.js.map │ │ │ │ └── package.json │ │ │ ├── http-client │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── auth.d.ts │ │ │ │ │ ├── auth.js │ │ │ │ │ ├── auth.js.map │ │ │ │ │ ├── index.d.ts │ │ │ │ │ ├── index.js │ │ │ │ │ ├── index.js.map │ │ │ │ │ ├── interfaces.d.ts │ │ │ │ │ ├── interfaces.js │ │ │ │ │ ├── interfaces.js.map │ │ │ │ │ ├── proxy.d.ts │ │ │ │ │ ├── proxy.js │ │ │ │ │ └── proxy.js.map │ │ │ │ └── package.json │ │ │ └── io │ │ │ │ ├── LICENSE.md │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ ├── io-util.d.ts │ │ │ │ ├── io-util.js │ │ │ │ ├── io-util.js.map │ │ │ │ ├── io.d.ts │ │ │ │ ├── io.js │ │ │ │ └── io.js.map │ │ │ │ └── package.json │ │ ├── @fastify │ │ │ └── busboy │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── deps │ │ │ │ ├── dicer │ │ │ │ │ ├── LICENSE │ │ │ │ │ └── lib │ │ │ │ │ │ ├── Dicer.js │ │ │ │ │ │ ├── HeaderParser.js │ │ │ │ │ │ ├── PartStream.js │ │ │ │ │ │ └── dicer.d.ts │ │ │ │ └── streamsearch │ │ │ │ │ └── sbmh.js │ │ │ │ ├── lib │ │ │ │ ├── main.d.ts │ │ │ │ ├── main.js │ │ │ │ ├── types │ │ │ │ │ ├── multipart.js │ │ │ │ │ └── urlencoded.js │ │ │ │ └── utils │ │ │ │ │ ├── Decoder.js │ │ │ │ │ ├── basename.js │ │ │ │ │ ├── decodeText.js │ │ │ │ │ ├── getLimit.js │ │ │ │ │ └── parseParams.js │ │ │ │ └── package.json │ │ ├── semver │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ └── semver.js │ │ │ ├── classes │ │ │ │ ├── comparator.js │ │ │ │ ├── index.js │ │ │ │ ├── range.js │ │ │ │ └── semver.js │ │ │ ├── functions │ │ │ │ ├── clean.js │ │ │ │ ├── cmp.js │ │ │ │ ├── coerce.js │ │ │ │ ├── compare-build.js │ │ │ │ ├── compare-loose.js │ │ │ │ ├── compare.js │ │ │ │ ├── diff.js │ │ │ │ ├── eq.js │ │ │ │ ├── gt.js │ │ │ │ ├── gte.js │ │ │ │ ├── inc.js │ │ │ │ ├── lt.js │ │ │ │ ├── lte.js │ │ │ │ ├── major.js │ │ │ │ ├── minor.js │ │ │ │ ├── neq.js │ │ │ │ ├── parse.js │ │ │ │ ├── patch.js │ │ │ │ ├── prerelease.js │ │ │ │ ├── rcompare.js │ │ │ │ ├── rsort.js │ │ │ │ ├── satisfies.js │ │ │ │ ├── sort.js │ │ │ │ └── valid.js │ │ │ ├── index.js │ │ │ ├── internal │ │ │ │ ├── constants.js │ │ │ │ ├── debug.js │ │ │ │ ├── identifiers.js │ │ │ │ ├── lrucache.js │ │ │ │ ├── parse-options.js │ │ │ │ └── re.js │ │ │ ├── package.json │ │ │ ├── preload.js │ │ │ ├── range.bnf │ │ │ └── ranges │ │ │ │ ├── gtr.js │ │ │ │ ├── intersects.js │ │ │ │ ├── ltr.js │ │ │ │ ├── max-satisfying.js │ │ │ │ ├── min-satisfying.js │ │ │ │ ├── min-version.js │ │ │ │ ├── outside.js │ │ │ │ ├── simplify.js │ │ │ │ ├── subset.js │ │ │ │ ├── to-comparators.js │ │ │ │ └── valid.js │ │ ├── tunnel │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ └── tunnel.js │ │ │ └── package.json │ │ ├── undici │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── docs │ │ │ │ ├── api │ │ │ │ │ ├── Agent.md │ │ │ │ │ ├── BalancedPool.md │ │ │ │ │ ├── CacheStorage.md │ │ │ │ │ ├── Client.md │ │ │ │ │ ├── Connector.md │ │ │ │ │ ├── ContentType.md │ │ │ │ │ ├── Cookies.md │ │ │ │ │ ├── DiagnosticsChannel.md │ │ │ │ │ ├── DispatchInterceptor.md │ │ │ │ │ ├── Dispatcher.md │ │ │ │ │ ├── Errors.md │ │ │ │ │ ├── Fetch.md │ │ │ │ │ ├── MockAgent.md │ │ │ │ │ ├── MockClient.md │ │ │ │ │ ├── MockErrors.md │ │ │ │ │ ├── MockPool.md │ │ │ │ │ ├── Pool.md │ │ │ │ │ ├── PoolStats.md │ │ │ │ │ ├── ProxyAgent.md │ │ │ │ │ ├── RetryHandler.md │ │ │ │ │ ├── WebSocket.md │ │ │ │ │ └── api-lifecycle.md │ │ │ │ ├── assets │ │ │ │ │ └── lifecycle-diagram.png │ │ │ │ └── best-practices │ │ │ │ │ ├── client-certificate.md │ │ │ │ │ ├── mocking-request.md │ │ │ │ │ ├── proxy.md │ │ │ │ │ └── writing-tests.md │ │ │ ├── index-fetch.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── agent.js │ │ │ │ ├── api │ │ │ │ │ ├── abort-signal.js │ │ │ │ │ ├── api-connect.js │ │ │ │ │ ├── api-pipeline.js │ │ │ │ │ ├── api-request.js │ │ │ │ │ ├── api-stream.js │ │ │ │ │ ├── api-upgrade.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── readable.js │ │ │ │ │ └── util.js │ │ │ │ ├── balanced-pool.js │ │ │ │ ├── cache │ │ │ │ │ ├── cache.js │ │ │ │ │ ├── cachestorage.js │ │ │ │ │ ├── symbols.js │ │ │ │ │ └── util.js │ │ │ │ ├── client.js │ │ │ │ ├── compat │ │ │ │ │ └── dispatcher-weakref.js │ │ │ │ ├── cookies │ │ │ │ │ ├── constants.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── parse.js │ │ │ │ │ └── util.js │ │ │ │ ├── core │ │ │ │ │ ├── connect.js │ │ │ │ │ ├── constants.js │ │ │ │ │ ├── errors.js │ │ │ │ │ ├── request.js │ │ │ │ │ ├── symbols.js │ │ │ │ │ └── util.js │ │ │ │ ├── dispatcher-base.js │ │ │ │ ├── dispatcher.js │ │ │ │ ├── fetch │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── body.js │ │ │ │ │ ├── constants.js │ │ │ │ │ ├── dataURL.js │ │ │ │ │ ├── file.js │ │ │ │ │ ├── formdata.js │ │ │ │ │ ├── global.js │ │ │ │ │ ├── headers.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── request.js │ │ │ │ │ ├── response.js │ │ │ │ │ ├── symbols.js │ │ │ │ │ ├── util.js │ │ │ │ │ └── webidl.js │ │ │ │ ├── fileapi │ │ │ │ │ ├── encoding.js │ │ │ │ │ ├── filereader.js │ │ │ │ │ ├── progressevent.js │ │ │ │ │ ├── symbols.js │ │ │ │ │ └── util.js │ │ │ │ ├── global.js │ │ │ │ ├── handler │ │ │ │ │ ├── DecoratorHandler.js │ │ │ │ │ ├── RedirectHandler.js │ │ │ │ │ └── RetryHandler.js │ │ │ │ ├── interceptor │ │ │ │ │ └── redirectInterceptor.js │ │ │ │ ├── llhttp │ │ │ │ │ ├── constants.d.ts │ │ │ │ │ ├── constants.js │ │ │ │ │ ├── constants.js.map │ │ │ │ │ ├── llhttp-wasm.js │ │ │ │ │ ├── llhttp.wasm │ │ │ │ │ ├── llhttp_simd-wasm.js │ │ │ │ │ ├── llhttp_simd.wasm │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ ├── utils.js │ │ │ │ │ ├── utils.js.map │ │ │ │ │ └── wasm_build_env.txt │ │ │ │ ├── mock │ │ │ │ │ ├── mock-agent.js │ │ │ │ │ ├── mock-client.js │ │ │ │ │ ├── mock-errors.js │ │ │ │ │ ├── mock-interceptor.js │ │ │ │ │ ├── mock-pool.js │ │ │ │ │ ├── mock-symbols.js │ │ │ │ │ ├── mock-utils.js │ │ │ │ │ ├── pending-interceptors-formatter.js │ │ │ │ │ └── pluralizer.js │ │ │ │ ├── node │ │ │ │ │ └── fixed-queue.js │ │ │ │ ├── pool-base.js │ │ │ │ ├── pool-stats.js │ │ │ │ ├── pool.js │ │ │ │ ├── proxy-agent.js │ │ │ │ ├── timers.js │ │ │ │ └── websocket │ │ │ │ │ ├── connection.js │ │ │ │ │ ├── constants.js │ │ │ │ │ ├── events.js │ │ │ │ │ ├── frame.js │ │ │ │ │ ├── receiver.js │ │ │ │ │ ├── symbols.js │ │ │ │ │ ├── util.js │ │ │ │ │ └── websocket.js │ │ │ ├── package.json │ │ │ └── types │ │ │ │ ├── README.md │ │ │ │ ├── agent.d.ts │ │ │ │ ├── api.d.ts │ │ │ │ ├── balanced-pool.d.ts │ │ │ │ ├── cache.d.ts │ │ │ │ ├── client.d.ts │ │ │ │ ├── connector.d.ts │ │ │ │ ├── content-type.d.ts │ │ │ │ ├── cookies.d.ts │ │ │ │ ├── diagnostics-channel.d.ts │ │ │ │ ├── dispatcher.d.ts │ │ │ │ ├── errors.d.ts │ │ │ │ ├── fetch.d.ts │ │ │ │ ├── file.d.ts │ │ │ │ ├── filereader.d.ts │ │ │ │ ├── formdata.d.ts │ │ │ │ ├── global-dispatcher.d.ts │ │ │ │ ├── global-origin.d.ts │ │ │ │ ├── handlers.d.ts │ │ │ │ ├── header.d.ts │ │ │ │ ├── index.d.ts │ │ │ │ ├── interceptors.d.ts │ │ │ │ ├── mock-agent.d.ts │ │ │ │ ├── mock-client.d.ts │ │ │ │ ├── mock-errors.d.ts │ │ │ │ ├── mock-interceptor.d.ts │ │ │ │ ├── mock-pool.d.ts │ │ │ │ ├── patch.d.ts │ │ │ │ ├── pool-stats.d.ts │ │ │ │ ├── pool.d.ts │ │ │ │ ├── proxy-agent.d.ts │ │ │ │ ├── readable.d.ts │ │ │ │ ├── retry-handler.d.ts │ │ │ │ ├── webidl.d.ts │ │ │ │ └── websocket.d.ts │ │ └── yaml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin.mjs │ │ │ ├── browser │ │ │ ├── dist │ │ │ │ ├── compose │ │ │ │ │ ├── compose-collection.js │ │ │ │ │ ├── compose-doc.js │ │ │ │ │ ├── compose-node.js │ │ │ │ │ ├── compose-scalar.js │ │ │ │ │ ├── composer.js │ │ │ │ │ ├── resolve-block-map.js │ │ │ │ │ ├── resolve-block-scalar.js │ │ │ │ │ ├── resolve-block-seq.js │ │ │ │ │ ├── resolve-end.js │ │ │ │ │ ├── resolve-flow-collection.js │ │ │ │ │ ├── resolve-flow-scalar.js │ │ │ │ │ ├── resolve-props.js │ │ │ │ │ ├── util-contains-newline.js │ │ │ │ │ ├── util-empty-scalar-position.js │ │ │ │ │ ├── util-flow-indent-check.js │ │ │ │ │ └── util-map-includes.js │ │ │ │ ├── doc │ │ │ │ │ ├── Document.js │ │ │ │ │ ├── anchors.js │ │ │ │ │ ├── applyReviver.js │ │ │ │ │ ├── createNode.js │ │ │ │ │ └── directives.js │ │ │ │ ├── errors.js │ │ │ │ ├── index.js │ │ │ │ ├── log.js │ │ │ │ ├── nodes │ │ │ │ │ ├── Alias.js │ │ │ │ │ ├── Collection.js │ │ │ │ │ ├── Node.js │ │ │ │ │ ├── Pair.js │ │ │ │ │ ├── Scalar.js │ │ │ │ │ ├── YAMLMap.js │ │ │ │ │ ├── YAMLSeq.js │ │ │ │ │ ├── addPairToJSMap.js │ │ │ │ │ ├── identity.js │ │ │ │ │ └── toJS.js │ │ │ │ ├── parse │ │ │ │ │ ├── cst-scalar.js │ │ │ │ │ ├── cst-stringify.js │ │ │ │ │ ├── cst-visit.js │ │ │ │ │ ├── cst.js │ │ │ │ │ ├── lexer.js │ │ │ │ │ ├── line-counter.js │ │ │ │ │ └── parser.js │ │ │ │ ├── public-api.js │ │ │ │ ├── schema │ │ │ │ │ ├── Schema.js │ │ │ │ │ ├── common │ │ │ │ │ │ ├── map.js │ │ │ │ │ │ ├── null.js │ │ │ │ │ │ ├── seq.js │ │ │ │ │ │ └── string.js │ │ │ │ │ ├── core │ │ │ │ │ │ ├── bool.js │ │ │ │ │ │ ├── float.js │ │ │ │ │ │ ├── int.js │ │ │ │ │ │ └── schema.js │ │ │ │ │ ├── json │ │ │ │ │ │ └── schema.js │ │ │ │ │ ├── tags.js │ │ │ │ │ └── yaml-1.1 │ │ │ │ │ │ ├── binary.js │ │ │ │ │ │ ├── bool.js │ │ │ │ │ │ ├── float.js │ │ │ │ │ │ ├── int.js │ │ │ │ │ │ ├── merge.js │ │ │ │ │ │ ├── omap.js │ │ │ │ │ │ ├── pairs.js │ │ │ │ │ │ ├── schema.js │ │ │ │ │ │ ├── set.js │ │ │ │ │ │ └── timestamp.js │ │ │ │ ├── stringify │ │ │ │ │ ├── foldFlowLines.js │ │ │ │ │ ├── stringify.js │ │ │ │ │ ├── stringifyCollection.js │ │ │ │ │ ├── stringifyComment.js │ │ │ │ │ ├── stringifyDocument.js │ │ │ │ │ ├── stringifyNumber.js │ │ │ │ │ ├── stringifyPair.js │ │ │ │ │ └── stringifyString.js │ │ │ │ ├── util.js │ │ │ │ └── visit.js │ │ │ ├── index.js │ │ │ └── package.json │ │ │ ├── dist │ │ │ ├── cli.d.ts │ │ │ ├── cli.mjs │ │ │ ├── compose │ │ │ │ ├── compose-collection.d.ts │ │ │ │ ├── compose-collection.js │ │ │ │ ├── compose-doc.d.ts │ │ │ │ ├── compose-doc.js │ │ │ │ ├── compose-node.d.ts │ │ │ │ ├── compose-node.js │ │ │ │ ├── compose-scalar.d.ts │ │ │ │ ├── compose-scalar.js │ │ │ │ ├── composer.d.ts │ │ │ │ ├── composer.js │ │ │ │ ├── resolve-block-map.d.ts │ │ │ │ ├── resolve-block-map.js │ │ │ │ ├── resolve-block-scalar.d.ts │ │ │ │ ├── resolve-block-scalar.js │ │ │ │ ├── resolve-block-seq.d.ts │ │ │ │ ├── resolve-block-seq.js │ │ │ │ ├── resolve-end.d.ts │ │ │ │ ├── resolve-end.js │ │ │ │ ├── resolve-flow-collection.d.ts │ │ │ │ ├── resolve-flow-collection.js │ │ │ │ ├── resolve-flow-scalar.d.ts │ │ │ │ ├── resolve-flow-scalar.js │ │ │ │ ├── resolve-props.d.ts │ │ │ │ ├── resolve-props.js │ │ │ │ ├── util-contains-newline.d.ts │ │ │ │ ├── util-contains-newline.js │ │ │ │ ├── util-empty-scalar-position.d.ts │ │ │ │ ├── util-empty-scalar-position.js │ │ │ │ ├── util-flow-indent-check.d.ts │ │ │ │ ├── util-flow-indent-check.js │ │ │ │ ├── util-map-includes.d.ts │ │ │ │ └── util-map-includes.js │ │ │ ├── doc │ │ │ │ ├── Document.d.ts │ │ │ │ ├── Document.js │ │ │ │ ├── anchors.d.ts │ │ │ │ ├── anchors.js │ │ │ │ ├── applyReviver.d.ts │ │ │ │ ├── applyReviver.js │ │ │ │ ├── createNode.d.ts │ │ │ │ ├── createNode.js │ │ │ │ ├── directives.d.ts │ │ │ │ └── directives.js │ │ │ ├── errors.d.ts │ │ │ ├── errors.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── log.d.ts │ │ │ ├── log.js │ │ │ ├── nodes │ │ │ │ ├── Alias.d.ts │ │ │ │ ├── Alias.js │ │ │ │ ├── Collection.d.ts │ │ │ │ ├── Collection.js │ │ │ │ ├── Node.d.ts │ │ │ │ ├── Node.js │ │ │ │ ├── Pair.d.ts │ │ │ │ ├── Pair.js │ │ │ │ ├── Scalar.d.ts │ │ │ │ ├── Scalar.js │ │ │ │ ├── YAMLMap.d.ts │ │ │ │ ├── YAMLMap.js │ │ │ │ ├── YAMLSeq.d.ts │ │ │ │ ├── YAMLSeq.js │ │ │ │ ├── addPairToJSMap.d.ts │ │ │ │ ├── addPairToJSMap.js │ │ │ │ ├── identity.d.ts │ │ │ │ ├── identity.js │ │ │ │ ├── toJS.d.ts │ │ │ │ └── toJS.js │ │ │ ├── options.d.ts │ │ │ ├── parse │ │ │ │ ├── cst-scalar.d.ts │ │ │ │ ├── cst-scalar.js │ │ │ │ ├── cst-stringify.d.ts │ │ │ │ ├── cst-stringify.js │ │ │ │ ├── cst-visit.d.ts │ │ │ │ ├── cst-visit.js │ │ │ │ ├── cst.d.ts │ │ │ │ ├── cst.js │ │ │ │ ├── lexer.d.ts │ │ │ │ ├── lexer.js │ │ │ │ ├── line-counter.d.ts │ │ │ │ ├── line-counter.js │ │ │ │ ├── parser.d.ts │ │ │ │ └── parser.js │ │ │ ├── public-api.d.ts │ │ │ ├── public-api.js │ │ │ ├── schema │ │ │ │ ├── Schema.d.ts │ │ │ │ ├── Schema.js │ │ │ │ ├── common │ │ │ │ │ ├── map.d.ts │ │ │ │ │ ├── map.js │ │ │ │ │ ├── null.d.ts │ │ │ │ │ ├── null.js │ │ │ │ │ ├── seq.d.ts │ │ │ │ │ ├── seq.js │ │ │ │ │ ├── string.d.ts │ │ │ │ │ └── string.js │ │ │ │ ├── core │ │ │ │ │ ├── bool.d.ts │ │ │ │ │ ├── bool.js │ │ │ │ │ ├── float.d.ts │ │ │ │ │ ├── float.js │ │ │ │ │ ├── int.d.ts │ │ │ │ │ ├── int.js │ │ │ │ │ ├── schema.d.ts │ │ │ │ │ └── schema.js │ │ │ │ ├── json-schema.d.ts │ │ │ │ ├── json │ │ │ │ │ ├── schema.d.ts │ │ │ │ │ └── schema.js │ │ │ │ ├── tags.d.ts │ │ │ │ ├── tags.js │ │ │ │ ├── types.d.ts │ │ │ │ └── yaml-1.1 │ │ │ │ │ ├── binary.d.ts │ │ │ │ │ ├── binary.js │ │ │ │ │ ├── bool.d.ts │ │ │ │ │ ├── bool.js │ │ │ │ │ ├── float.d.ts │ │ │ │ │ ├── float.js │ │ │ │ │ ├── int.d.ts │ │ │ │ │ ├── int.js │ │ │ │ │ ├── merge.d.ts │ │ │ │ │ ├── merge.js │ │ │ │ │ ├── omap.d.ts │ │ │ │ │ ├── omap.js │ │ │ │ │ ├── pairs.d.ts │ │ │ │ │ ├── pairs.js │ │ │ │ │ ├── schema.d.ts │ │ │ │ │ ├── schema.js │ │ │ │ │ ├── set.d.ts │ │ │ │ │ ├── set.js │ │ │ │ │ ├── timestamp.d.ts │ │ │ │ │ └── timestamp.js │ │ │ ├── stringify │ │ │ │ ├── foldFlowLines.d.ts │ │ │ │ ├── foldFlowLines.js │ │ │ │ ├── stringify.d.ts │ │ │ │ ├── stringify.js │ │ │ │ ├── stringifyCollection.d.ts │ │ │ │ ├── stringifyCollection.js │ │ │ │ ├── stringifyComment.d.ts │ │ │ │ ├── stringifyComment.js │ │ │ │ ├── stringifyDocument.d.ts │ │ │ │ ├── stringifyDocument.js │ │ │ │ ├── stringifyNumber.d.ts │ │ │ │ ├── stringifyNumber.js │ │ │ │ ├── stringifyPair.d.ts │ │ │ │ ├── stringifyPair.js │ │ │ │ ├── stringifyString.d.ts │ │ │ │ └── stringifyString.js │ │ │ ├── test-events.d.ts │ │ │ ├── test-events.js │ │ │ ├── util.d.ts │ │ │ ├── util.js │ │ │ ├── visit.d.ts │ │ │ └── visit.js │ │ │ ├── package.json │ │ │ └── util.js │ │ ├── npm-shrinkwrap.json │ │ ├── package.json │ │ ├── schedule.json │ │ └── test │ │ └── index.js └── workflows │ ├── ci.yaml │ ├── node-test.yaml │ └── update-release-tag.yaml ├── .gitignore ├── .npmrc ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── docs └── USAGE.md ├── eslint.config.js ├── package.json └── renovate.json /.github/actions/README.md: -------------------------------------------------------------------------------- 1 | The actions in this folder are not meant to be used directly, they are subject to change or removal without notice or SemVer major releases. 2 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=true 2 | shrinkwrap=true 3 | lockfile-version=3 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/.nvmrc: -------------------------------------------------------------------------------- 1 | 20 2 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/action.yaml: -------------------------------------------------------------------------------- 1 | name: Dynamic action generator 2 | 3 | description: Takes a list of steps as YAML inside string and writes them out as a composite action 4 | 5 | runs: 6 | using: node20 7 | main: index.js 8 | 9 | inputs: 10 | steps: 11 | description: "A string with an array of Github Actions steps" 12 | required: true 13 | path: 14 | description: "The name of the folder to write the action" 15 | required: true 16 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/.bin/yaml: -------------------------------------------------------------------------------- 1 | ../yaml/bin.mjs -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/@actions/core/lib/command.d.ts: -------------------------------------------------------------------------------- 1 | export interface CommandProperties { 2 | [key: string]: any; 3 | } 4 | /** 5 | * Commands 6 | * 7 | * Command Format: 8 | * ::name key=value,key=value::message 9 | * 10 | * Examples: 11 | * ::warning::This is the message 12 | * ::set-env name=MY_VAR::some value 13 | */ 14 | export declare function issueCommand(command: string, properties: CommandProperties, message: any): void; 15 | export declare function issue(name: string, message?: string): void; 16 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/@actions/core/lib/file-command.d.ts: -------------------------------------------------------------------------------- 1 | export declare function issueFileCommand(command: string, message: any): void; 2 | export declare function prepareKeyValueMessage(key: string, value: any): string; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/@actions/core/lib/oidc-utils.d.ts: -------------------------------------------------------------------------------- 1 | export declare class OidcClient { 2 | private static createHttpClient; 3 | private static getRequestToken; 4 | private static getIDTokenUrl; 5 | private static getCall; 6 | static getIDToken(audience?: string): Promise; 7 | } 8 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/@actions/core/lib/path-utils.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * toPosixPath converts the given path to the posix form. On Windows, \\ will be 3 | * replaced with /. 4 | * 5 | * @param pth. Path to transform. 6 | * @return string Posix path. 7 | */ 8 | export declare function toPosixPath(pth: string): string; 9 | /** 10 | * toWin32Path converts the given path to the win32 form. On Linux, / will be 11 | * replaced with \\. 12 | * 13 | * @param pth. Path to transform. 14 | * @return string Win32 path. 15 | */ 16 | export declare function toWin32Path(pth: string): string; 17 | /** 18 | * toPlatformPath converts the given path to a platform-specific path. It does 19 | * this by replacing instances of / and \ with the platform-specific path 20 | * separator. 21 | * 22 | * @param pth The path to platformize. 23 | * @return string The platform-specific path. 24 | */ 25 | export declare function toPlatformPath(pth: string): string; 26 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/@actions/core/lib/path-utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"path-utils.js","sourceRoot":"","sources":["../src/path-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4B;AAE5B;;;;;;GAMG;AACH,SAAgB,WAAW,CAAC,GAAW;IACrC,OAAO,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAA;AAClC,CAAC;AAFD,kCAEC;AAED;;;;;;GAMG;AACH,SAAgB,WAAW,CAAC,GAAW;IACrC,OAAO,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;AAClC,CAAC;AAFD,kCAEC;AAED;;;;;;;GAOG;AACH,SAAgB,cAAc,CAAC,GAAW;IACxC,OAAO,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;AACxC,CAAC;AAFD,wCAEC"} -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/@actions/core/lib/platform.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const platform: NodeJS.Platform; 3 | export declare const arch: string; 4 | export declare const isWindows: boolean; 5 | export declare const isMacOS: boolean; 6 | export declare const isLinux: boolean; 7 | export declare function getDetails(): Promise<{ 8 | name: string; 9 | platform: string; 10 | arch: string; 11 | version: string; 12 | isWindows: boolean; 13 | isMacOS: boolean; 14 | isLinux: boolean; 15 | }>; 16 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/@actions/core/lib/utils.d.ts: -------------------------------------------------------------------------------- 1 | import { AnnotationProperties } from './core'; 2 | import { CommandProperties } from './command'; 3 | /** 4 | * Sanitizes an input into a string so it can be passed into issueCommand safely 5 | * @param input input to sanitize into a string 6 | */ 7 | export declare function toCommandValue(input: any): string; 8 | /** 9 | * 10 | * @param annotationProperties 11 | * @returns The command properties to send with the actual annotation command 12 | * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646 13 | */ 14 | export declare function toCommandProperties(annotationProperties: AnnotationProperties): CommandProperties; 15 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/@actions/core/lib/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA,mCAAmC;AACnC,uDAAuD;;;AAKvD;;;GAGG;AACH,SAAgB,cAAc,CAAC,KAAU;IACvC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE;QACzC,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,MAAM,EAAE;QAC/D,OAAO,KAAe,CAAA;KACvB;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;AAC9B,CAAC;AAPD,wCAOC;AAED;;;;;GAKG;AACH,SAAgB,mBAAmB,CACjC,oBAA0C;IAE1C,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,MAAM,EAAE;QAC7C,OAAO,EAAE,CAAA;KACV;IAED,OAAO;QACL,KAAK,EAAE,oBAAoB,CAAC,KAAK;QACjC,IAAI,EAAE,oBAAoB,CAAC,IAAI;QAC/B,IAAI,EAAE,oBAAoB,CAAC,SAAS;QACpC,OAAO,EAAE,oBAAoB,CAAC,OAAO;QACrC,GAAG,EAAE,oBAAoB,CAAC,WAAW;QACrC,SAAS,EAAE,oBAAoB,CAAC,SAAS;KAC1C,CAAA;AACH,CAAC;AAfD,kDAeC"} -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/@actions/exec/lib/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=interfaces.js.map -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/@actions/exec/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/@actions/http-client/lib/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=interfaces.js.map -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/@actions/http-client/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/@actions/http-client/lib/proxy.d.ts: -------------------------------------------------------------------------------- 1 | export declare function getProxyUrl(reqUrl: URL): URL | undefined; 2 | export declare function checkBypass(reqUrl: URL): boolean; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/@actions/io/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@actions/io", 3 | "version": "1.1.3", 4 | "description": "Actions io lib", 5 | "keywords": [ 6 | "github", 7 | "actions", 8 | "io" 9 | ], 10 | "homepage": "https://github.com/actions/toolkit/tree/main/packages/io", 11 | "license": "MIT", 12 | "main": "lib/io.js", 13 | "types": "lib/io.d.ts", 14 | "directories": { 15 | "lib": "lib", 16 | "test": "__tests__" 17 | }, 18 | "files": [ 19 | "lib" 20 | ], 21 | "publishConfig": { 22 | "access": "public" 23 | }, 24 | "repository": { 25 | "type": "git", 26 | "url": "git+https://github.com/actions/toolkit.git", 27 | "directory": "packages/io" 28 | }, 29 | "scripts": { 30 | "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", 31 | "test": "echo \"Error: run tests from root\" && exit 1", 32 | "tsc": "tsc" 33 | }, 34 | "bugs": { 35 | "url": "https://github.com/actions/toolkit/issues" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const inherits = require('node:util').inherits 4 | const ReadableStream = require('node:stream').Readable 5 | 6 | function PartStream (opts) { 7 | ReadableStream.call(this, opts) 8 | } 9 | inherits(PartStream, ReadableStream) 10 | 11 | PartStream.prototype._read = function (n) {} 12 | 13 | module.exports = PartStream 14 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/@fastify/busboy/lib/utils/basename.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function basename (path) { 4 | if (typeof path !== 'string') { return '' } 5 | for (var i = path.length - 1; i >= 0; --i) { // eslint-disable-line no-var 6 | switch (path.charCodeAt(i)) { 7 | case 0x2F: // '/' 8 | case 0x5C: // '\' 9 | path = path.slice(i + 1) 10 | return (path === '..' || path === '.' ? '' : path) 11 | } 12 | } 13 | return (path === '..' || path === '.' ? '' : path) 14 | } 15 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/@fastify/busboy/lib/utils/getLimit.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function getLimit (limits, name, defaultLimit) { 4 | if ( 5 | !limits || 6 | limits[name] === undefined || 7 | limits[name] === null 8 | ) { return defaultLimit } 9 | 10 | if ( 11 | typeof limits[name] !== 'number' || 12 | isNaN(limits[name]) 13 | ) { throw new TypeError('Limit ' + name + ' is not a valid number') } 14 | 15 | return limits[name] 16 | } 17 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/tunnel/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "6" 5 | - "8" 6 | - "10" 7 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/tunnel/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | - 0.0.6 (2018/09/11) 4 | - Fix `localAddress` not working (#25) 5 | - Fix `Host:` header for CONNECT method by @tmurakam (#29, #30) 6 | - Fix default port for https (#32) 7 | - Fix error handling when the proxy send illegal response body (#33) 8 | 9 | - 0.0.5 (2017/06/12) 10 | - Fix socket leak. 11 | 12 | - 0.0.4 (2016/01/23) 13 | - supported Node v0.12 or later. 14 | 15 | - 0.0.3 (2014/01/20) 16 | - fixed package.json 17 | 18 | - 0.0.1 (2012/02/18) 19 | - supported Node v0.6.x (0.6.11 or later). 20 | 21 | - 0.0.0 (2012/02/11) 22 | - first release. 23 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/tunnel/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/tunnel'); 2 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/tunnel/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tunnel", 3 | "version": "0.0.6", 4 | "description": "Node HTTP/HTTPS Agents for tunneling proxies", 5 | "keywords": [ 6 | "http", 7 | "https", 8 | "agent", 9 | "proxy", 10 | "tunnel" 11 | ], 12 | "homepage": "https://github.com/koichik/node-tunnel/", 13 | "bugs": "https://github.com/koichik/node-tunnel/issues", 14 | "license": "MIT", 15 | "author": "Koichi Kobayashi ", 16 | "main": "./index.js", 17 | "directories": { 18 | "lib": "./lib" 19 | }, 20 | "repository": { 21 | "type": "git", 22 | "url": "https://github.com/koichik/node-tunnel.git" 23 | }, 24 | "scripts": { 25 | "test": "mocha" 26 | }, 27 | "devDependencies": { 28 | "mocha": "^5.2.0", 29 | "should": "^13.2.3" 30 | }, 31 | "engines": { 32 | "node": ">=0.6.11 <=0.7.0 || >=0.7.3" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/docs/api/MockErrors.md: -------------------------------------------------------------------------------- 1 | # MockErrors 2 | 3 | Undici exposes a variety of mock error objects that you can use to enhance your mock error handling. 4 | You can find all the mock error objects inside the `mockErrors` key. 5 | 6 | ```js 7 | import { mockErrors } from 'undici' 8 | ``` 9 | 10 | | Mock Error | Mock Error Codes | Description | 11 | | --------------------- | ------------------------------- | ---------------------------------------------------------- | 12 | | `MockNotMatchedError` | `UND_MOCK_ERR_MOCK_NOT_MATCHED` | The request does not match any registered mock dispatches. | 13 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/docs/api/PoolStats.md: -------------------------------------------------------------------------------- 1 | # Class: PoolStats 2 | 3 | Aggregate stats for a [Pool](Pool.md) or [BalancedPool](BalancedPool.md). 4 | 5 | ## `new PoolStats(pool)` 6 | 7 | Arguments: 8 | 9 | * **pool** `Pool` - Pool or BalancedPool from which to return stats. 10 | 11 | ## Instance Properties 12 | 13 | ### `PoolStats.connected` 14 | 15 | Number of open socket connections in this pool. 16 | 17 | ### `PoolStats.free` 18 | 19 | Number of open socket connections in this pool that do not have an active request. 20 | 21 | ### `PoolStats.pending` 22 | 23 | Number of pending requests across all clients in this pool. 24 | 25 | ### `PoolStats.queued` 26 | 27 | Number of queued requests across all clients in this pool. 28 | 29 | ### `PoolStats.running` 30 | 31 | Number of currently active requests across all clients in this pool. 32 | 33 | ### `PoolStats.size` 34 | 35 | Number of active, pending, or queued requests across all clients in this pool. 36 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/docs/assets/lifecycle-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/action/fc31378f033e820ab1332a32e99788974e1b98ca/.github/actions/prepare-dynamic-steps/node_modules/undici/docs/assets/lifecycle-diagram.png -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/docs/best-practices/writing-tests.md: -------------------------------------------------------------------------------- 1 | # Writing tests 2 | 3 | Undici is tuned for a production use case and its default will keep 4 | a socket open for a few seconds after an HTTP request is completed to 5 | remove the overhead of opening up a new socket. These settings that makes 6 | Undici shine in production are not a good fit for using Undici in automated 7 | tests, as it will result in longer execution times. 8 | 9 | The following are good defaults that will keep the socket open for only 10ms: 10 | 11 | ```js 12 | import { request, setGlobalDispatcher, Agent } from 'undici' 13 | 14 | const agent = new Agent({ 15 | keepAliveTimeout: 10, // milliseconds 16 | keepAliveMaxTimeout: 10 // milliseconds 17 | }) 18 | 19 | setGlobalDispatcher(agent) 20 | ``` 21 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/index-fetch.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fetchImpl = require('./lib/fetch').fetch 4 | 5 | module.exports.fetch = function fetch (resource, init = undefined) { 6 | return fetchImpl(resource, init).catch((err) => { 7 | Error.captureStackTrace(err, this) 8 | throw err 9 | }) 10 | } 11 | module.exports.FormData = require('./lib/fetch/formdata').FormData 12 | module.exports.Headers = require('./lib/fetch/headers').Headers 13 | module.exports.Response = require('./lib/fetch/response').Response 14 | module.exports.Request = require('./lib/fetch/request').Request 15 | module.exports.WebSocket = require('./lib/websocket/websocket').WebSocket 16 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './types/index' 2 | import Undici from './types/index' 3 | export default Undici 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/api/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports.request = require('./api-request') 4 | module.exports.stream = require('./api-stream') 5 | module.exports.pipeline = require('./api-pipeline') 6 | module.exports.upgrade = require('./api-upgrade') 7 | module.exports.connect = require('./api-connect') 8 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/cache/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kConstruct: require('../core/symbols').kConstruct 5 | } 6 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/cookies/constants.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // https://wicg.github.io/cookie-store/#cookie-maximum-attribute-value-size 4 | const maxAttributeValueSize = 1024 5 | 6 | // https://wicg.github.io/cookie-store/#cookie-maximum-name-value-pair-size 7 | const maxNameValuePairSize = 4096 8 | 9 | module.exports = { 10 | maxAttributeValueSize, 11 | maxNameValuePairSize 12 | } 13 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/dispatcher.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const EventEmitter = require('events') 4 | 5 | class Dispatcher extends EventEmitter { 6 | dispatch () { 7 | throw new Error('not implemented') 8 | } 9 | 10 | close () { 11 | throw new Error('not implemented') 12 | } 13 | 14 | destroy () { 15 | throw new Error('not implemented') 16 | } 17 | } 18 | 19 | module.exports = Dispatcher 20 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/fetch/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kUrl: Symbol('url'), 5 | kHeaders: Symbol('headers'), 6 | kSignal: Symbol('signal'), 7 | kState: Symbol('state'), 8 | kGuard: Symbol('guard'), 9 | kRealm: Symbol('realm') 10 | } 11 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/fileapi/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kState: Symbol('FileReader state'), 5 | kResult: Symbol('FileReader result'), 6 | kError: Symbol('FileReader error'), 7 | kLastProgressEventFired: Symbol('FileReader last progress event fired timestamp'), 8 | kEvents: Symbol('FileReader events'), 9 | kAborted: Symbol('FileReader aborted') 10 | } 11 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/global.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // We include a version number for the Dispatcher API. In case of breaking changes, 4 | // this version number must be increased to avoid conflicts. 5 | const globalDispatcher = Symbol.for('undici.globalDispatcher.1') 6 | const { InvalidArgumentError } = require('./core/errors') 7 | const Agent = require('./agent') 8 | 9 | if (getGlobalDispatcher() === undefined) { 10 | setGlobalDispatcher(new Agent()) 11 | } 12 | 13 | function setGlobalDispatcher (agent) { 14 | if (!agent || typeof agent.dispatch !== 'function') { 15 | throw new InvalidArgumentError('Argument agent must implement Agent') 16 | } 17 | Object.defineProperty(globalThis, globalDispatcher, { 18 | value: agent, 19 | writable: true, 20 | enumerable: false, 21 | configurable: false 22 | }) 23 | } 24 | 25 | function getGlobalDispatcher () { 26 | return globalThis[globalDispatcher] 27 | } 28 | 29 | module.exports = { 30 | setGlobalDispatcher, 31 | getGlobalDispatcher 32 | } 33 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/handler/DecoratorHandler.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = class DecoratorHandler { 4 | constructor (handler) { 5 | this.handler = handler 6 | } 7 | 8 | onConnect (...args) { 9 | return this.handler.onConnect(...args) 10 | } 11 | 12 | onError (...args) { 13 | return this.handler.onError(...args) 14 | } 15 | 16 | onUpgrade (...args) { 17 | return this.handler.onUpgrade(...args) 18 | } 19 | 20 | onHeaders (...args) { 21 | return this.handler.onHeaders(...args) 22 | } 23 | 24 | onData (...args) { 25 | return this.handler.onData(...args) 26 | } 27 | 28 | onComplete (...args) { 29 | return this.handler.onComplete(...args) 30 | } 31 | 32 | onBodySent (...args) { 33 | return this.handler.onBodySent(...args) 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/interceptor/redirectInterceptor.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const RedirectHandler = require('../handler/RedirectHandler') 4 | 5 | function createRedirectInterceptor ({ maxRedirections: defaultMaxRedirections }) { 6 | return (dispatch) => { 7 | return function Intercept (opts, handler) { 8 | const { maxRedirections = defaultMaxRedirections } = opts 9 | 10 | if (!maxRedirections) { 11 | return dispatch(opts, handler) 12 | } 13 | 14 | const redirectHandler = new RedirectHandler(dispatch, maxRedirections, opts, handler) 15 | opts = { ...opts, maxRedirections: 0 } // Stop sub dispatcher from also redirecting. 16 | return dispatch(opts, redirectHandler) 17 | } 18 | } 19 | } 20 | 21 | module.exports = createRedirectInterceptor 22 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/llhttp/llhttp.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/action/fc31378f033e820ab1332a32e99788974e1b98ca/.github/actions/prepare-dynamic-steps/node_modules/undici/lib/llhttp/llhttp.wasm -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/llhttp/llhttp_simd.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/action/fc31378f033e820ab1332a32e99788974e1b98ca/.github/actions/prepare-dynamic-steps/node_modules/undici/lib/llhttp/llhttp_simd.wasm -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/llhttp/utils.d.ts: -------------------------------------------------------------------------------- 1 | export interface IEnumMap { 2 | [key: string]: number; 3 | } 4 | export declare function enumToMap(obj: any): IEnumMap; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/llhttp/utils.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.enumToMap = void 0; 4 | function enumToMap(obj) { 5 | const res = {}; 6 | Object.keys(obj).forEach((key) => { 7 | const value = obj[key]; 8 | if (typeof value === 'number') { 9 | res[key] = value; 10 | } 11 | }); 12 | return res; 13 | } 14 | exports.enumToMap = enumToMap; 15 | //# sourceMappingURL=utils.js.map -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/llhttp/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/llhttp/utils.ts"],"names":[],"mappings":";;;AAIA,SAAgB,SAAS,CAAC,GAAQ;IAChC,MAAM,GAAG,GAAa,EAAE,CAAC;IAEzB,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;QAC/B,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;QACvB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAClB;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,GAAG,CAAC;AACb,CAAC;AAXD,8BAWC"} -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/llhttp/wasm_build_env.txt: -------------------------------------------------------------------------------- 1 | alpine-baselayout-data-3.4.0-r0 2 | musl-1.2.3-r4 3 | busybox-1.35.0-r29 4 | busybox-binsh-1.35.0-r29 5 | alpine-baselayout-3.4.0-r0 6 | alpine-keys-2.4-r1 7 | ca-certificates-bundle-20220614-r4 8 | libcrypto3-3.0.8-r3 9 | libssl3-3.0.8-r3 10 | ssl_client-1.35.0-r29 11 | zlib-1.2.13-r0 12 | apk-tools-2.12.10-r1 13 | scanelf-1.3.5-r1 14 | musl-utils-1.2.3-r4 15 | libc-utils-0.7.2-r3 16 | libgcc-12.2.1_git20220924-r4 17 | libstdc++-12.2.1_git20220924-r4 18 | libffi-3.4.4-r0 19 | xz-libs-5.2.9-r0 20 | libxml2-2.10.4-r0 21 | zstd-libs-1.5.5-r0 22 | llvm15-libs-15.0.7-r0 23 | clang15-libs-15.0.7-r0 24 | libstdc++-dev-12.2.1_git20220924-r4 25 | clang15-15.0.7-r0 26 | lld-libs-15.0.7-r0 27 | lld-15.0.7-r0 28 | wasi-libc-0.20220525-r1 29 | wasi-libcxx-15.0.7-r0 30 | wasi-libcxxabi-15.0.7-r0 31 | wasi-compiler-rt-15.0.7-r0 32 | wasi-sdk-16-r0 33 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/mock/mock-errors.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const { UndiciError } = require('../core/errors') 4 | 5 | class MockNotMatchedError extends UndiciError { 6 | constructor (message) { 7 | super(message) 8 | Error.captureStackTrace(this, MockNotMatchedError) 9 | this.name = 'MockNotMatchedError' 10 | this.message = message || 'The request does not match any registered mock dispatches' 11 | this.code = 'UND_MOCK_ERR_MOCK_NOT_MATCHED' 12 | } 13 | } 14 | 15 | module.exports = { 16 | MockNotMatchedError 17 | } 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/mock/mock-symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kAgent: Symbol('agent'), 5 | kOptions: Symbol('options'), 6 | kFactory: Symbol('factory'), 7 | kDispatches: Symbol('dispatches'), 8 | kDispatchKey: Symbol('dispatch key'), 9 | kDefaultHeaders: Symbol('default headers'), 10 | kDefaultTrailers: Symbol('default trailers'), 11 | kContentLength: Symbol('content length'), 12 | kMockAgent: Symbol('mock agent'), 13 | kMockAgentSet: Symbol('mock agent set'), 14 | kMockAgentGet: Symbol('mock agent get'), 15 | kMockDispatch: Symbol('mock dispatch'), 16 | kClose: Symbol('close'), 17 | kOriginalClose: Symbol('original agent close'), 18 | kOrigin: Symbol('origin'), 19 | kIsMockActive: Symbol('is mock active'), 20 | kNetConnect: Symbol('net connect'), 21 | kGetNetConnect: Symbol('get net connect'), 22 | kConnected: Symbol('connected') 23 | } 24 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/mock/pluralizer.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const singulars = { 4 | pronoun: 'it', 5 | is: 'is', 6 | was: 'was', 7 | this: 'this' 8 | } 9 | 10 | const plurals = { 11 | pronoun: 'they', 12 | is: 'are', 13 | was: 'were', 14 | this: 'these' 15 | } 16 | 17 | module.exports = class Pluralizer { 18 | constructor (singular, plural) { 19 | this.singular = singular 20 | this.plural = plural 21 | } 22 | 23 | pluralize (count) { 24 | const one = count === 1 25 | const keys = one ? singulars : plurals 26 | const noun = one ? this.singular : this.plural 27 | return { ...keys, count, noun } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/pool-stats.js: -------------------------------------------------------------------------------- 1 | const { kFree, kConnected, kPending, kQueued, kRunning, kSize } = require('./core/symbols') 2 | const kPool = Symbol('pool') 3 | 4 | class PoolStats { 5 | constructor (pool) { 6 | this[kPool] = pool 7 | } 8 | 9 | get connected () { 10 | return this[kPool][kConnected] 11 | } 12 | 13 | get free () { 14 | return this[kPool][kFree] 15 | } 16 | 17 | get pending () { 18 | return this[kPool][kPending] 19 | } 20 | 21 | get queued () { 22 | return this[kPool][kQueued] 23 | } 24 | 25 | get running () { 26 | return this[kPool][kRunning] 27 | } 28 | 29 | get size () { 30 | return this[kPool][kSize] 31 | } 32 | } 33 | 34 | module.exports = PoolStats 35 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/lib/websocket/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kWebSocketURL: Symbol('url'), 5 | kReadyState: Symbol('ready state'), 6 | kController: Symbol('controller'), 7 | kResponse: Symbol('response'), 8 | kBinaryType: Symbol('binary type'), 9 | kSentClose: Symbol('sent close'), 10 | kReceivedClose: Symbol('received close'), 11 | kByteParser: Symbol('byte parser') 12 | } 13 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/types/README.md: -------------------------------------------------------------------------------- 1 | # undici-types 2 | 3 | This package is a dual-publish of the [undici](https://www.npmjs.com/package/undici) library types. The `undici` package **still contains types**. This package is for users who _only_ need undici types (such as for `@types/node`). It is published alongside every release of `undici`, so you can always use the same version. 4 | 5 | - [GitHub nodejs/undici](https://github.com/nodejs/undici) 6 | - [Undici Documentation](https://undici.nodejs.org/#/) 7 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/types/balanced-pool.d.ts: -------------------------------------------------------------------------------- 1 | import Pool from './pool' 2 | import Dispatcher from './dispatcher' 3 | import { URL } from 'url' 4 | 5 | export default BalancedPool 6 | 7 | declare class BalancedPool extends Dispatcher { 8 | constructor(url: string | string[] | URL | URL[], options?: Pool.Options); 9 | 10 | addUpstream(upstream: string | URL): BalancedPool; 11 | removeUpstream(upstream: string | URL): BalancedPool; 12 | upstreams: Array; 13 | 14 | /** `true` after `pool.close()` has been called. */ 15 | closed: boolean; 16 | /** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */ 17 | destroyed: boolean; 18 | } 19 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/types/content-type.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | interface MIMEType { 4 | type: string 5 | subtype: string 6 | parameters: Map 7 | essence: string 8 | } 9 | 10 | /** 11 | * Parse a string to a {@link MIMEType} object. Returns `failure` if the string 12 | * couldn't be parsed. 13 | * @see https://mimesniff.spec.whatwg.org/#parse-a-mime-type 14 | */ 15 | export function parseMIMEType (input: string): 'failure' | MIMEType 16 | 17 | /** 18 | * Convert a MIMEType object to a string. 19 | * @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type 20 | */ 21 | export function serializeAMimeType (mimeType: MIMEType): string 22 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/types/cookies.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | import type { Headers } from './fetch' 4 | 5 | export interface Cookie { 6 | name: string 7 | value: string 8 | expires?: Date | number 9 | maxAge?: number 10 | domain?: string 11 | path?: string 12 | secure?: boolean 13 | httpOnly?: boolean 14 | sameSite?: 'Strict' | 'Lax' | 'None' 15 | unparsed?: string[] 16 | } 17 | 18 | export function deleteCookie ( 19 | headers: Headers, 20 | name: string, 21 | attributes?: { name?: string, domain?: string } 22 | ): void 23 | 24 | export function getCookies (headers: Headers): Record 25 | 26 | export function getSetCookies (headers: Headers): Cookie[] 27 | 28 | export function setCookie (headers: Headers, cookie: Cookie): void 29 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/types/global-dispatcher.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | 3 | export { 4 | getGlobalDispatcher, 5 | setGlobalDispatcher 6 | } 7 | 8 | declare function setGlobalDispatcher(dispatcher: DispatcherImplementation): void; 9 | declare function getGlobalDispatcher(): Dispatcher; 10 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/types/global-origin.d.ts: -------------------------------------------------------------------------------- 1 | export { 2 | setGlobalOrigin, 3 | getGlobalOrigin 4 | } 5 | 6 | declare function setGlobalOrigin(origin: string | URL | undefined): void; 7 | declare function getGlobalOrigin(): URL | undefined; -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/types/handlers.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | 3 | export declare class RedirectHandler implements Dispatcher.DispatchHandlers{ 4 | constructor (dispatch: Dispatcher, maxRedirections: number, opts: Dispatcher.DispatchOptions, handler: Dispatcher.DispatchHandlers) 5 | } 6 | 7 | export declare class DecoratorHandler implements Dispatcher.DispatchHandlers{ 8 | constructor (handler: Dispatcher.DispatchHandlers) 9 | } 10 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/types/header.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * The header type declaration of `undici`. 3 | */ 4 | export type IncomingHttpHeaders = Record; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/types/interceptors.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | 3 | type RedirectInterceptorOpts = { maxRedirections?: number } 4 | 5 | export declare function createRedirectInterceptor (opts: RedirectInterceptorOpts): Dispatcher.DispatchInterceptor 6 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/types/mock-errors.d.ts: -------------------------------------------------------------------------------- 1 | import Errors from './errors' 2 | 3 | export default MockErrors 4 | 5 | declare namespace MockErrors { 6 | /** The request does not match any registered mock dispatches. */ 7 | export class MockNotMatchedError extends Errors.UndiciError { 8 | constructor(message?: string); 9 | name: 'MockNotMatchedError'; 10 | code: 'UND_MOCK_ERR_MOCK_NOT_MATCHED'; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/types/pool-stats.d.ts: -------------------------------------------------------------------------------- 1 | import Pool from "./pool" 2 | 3 | export default PoolStats 4 | 5 | declare class PoolStats { 6 | constructor(pool: Pool); 7 | /** Number of open socket connections in this pool. */ 8 | connected: number; 9 | /** Number of open socket connections in this pool that do not have an active request. */ 10 | free: number; 11 | /** Number of pending requests across all clients in this pool. */ 12 | pending: number; 13 | /** Number of queued requests across all clients in this pool. */ 14 | queued: number; 15 | /** Number of currently active requests across all clients in this pool. */ 16 | running: number; 17 | /** Number of active, pending, or queued requests across all clients in this pool. */ 18 | size: number; 19 | } 20 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/undici/types/proxy-agent.d.ts: -------------------------------------------------------------------------------- 1 | import Agent from './agent' 2 | import buildConnector from './connector'; 3 | import Client from './client' 4 | import Dispatcher from './dispatcher' 5 | import { IncomingHttpHeaders } from './header' 6 | import Pool from './pool' 7 | 8 | export default ProxyAgent 9 | 10 | declare class ProxyAgent extends Dispatcher { 11 | constructor(options: ProxyAgent.Options | string) 12 | 13 | dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean; 14 | close(): Promise; 15 | } 16 | 17 | declare namespace ProxyAgent { 18 | export interface Options extends Agent.Options { 19 | uri: string; 20 | /** 21 | * @deprecated use opts.token 22 | */ 23 | auth?: string; 24 | token?: string; 25 | headers?: IncomingHttpHeaders; 26 | requestTls?: buildConnector.BuildOptions; 27 | proxyTls?: buildConnector.BuildOptions; 28 | clientFactory?(origin: URL, opts: object): Dispatcher; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright Eemeli Aro 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any purpose 4 | with or without fee is hereby granted, provided that the above copyright notice 5 | and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 8 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 9 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 10 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 11 | OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 12 | TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF 13 | THIS SOFTWARE. 14 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/bin.mjs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | import { UserError, cli, help } from './dist/cli.mjs' 4 | 5 | cli(process.stdin, error => { 6 | if (error instanceof UserError) { 7 | if (error.code === UserError.ARGS) console.error(`${help}\n`) 8 | console.error(error.message) 9 | process.exitCode = error.code 10 | } else if (error) throw error 11 | }) 12 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js: -------------------------------------------------------------------------------- 1 | function emptyScalarPosition(offset, before, pos) { 2 | if (before) { 3 | if (pos === null) 4 | pos = before.length; 5 | for (let i = pos - 1; i >= 0; --i) { 6 | let st = before[i]; 7 | switch (st.type) { 8 | case 'space': 9 | case 'comment': 10 | case 'newline': 11 | offset -= st.source.length; 12 | continue; 13 | } 14 | // Technically, an empty scalar is immediately after the last non-empty 15 | // node, but it's more useful to place it after any whitespace. 16 | st = before[++i]; 17 | while (st?.type === 'space') { 18 | offset += st.source.length; 19 | st = before[++i]; 20 | } 21 | break; 22 | } 23 | } 24 | return offset; 25 | } 26 | 27 | export { emptyScalarPosition }; 28 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js: -------------------------------------------------------------------------------- 1 | import { containsNewline } from './util-contains-newline.js'; 2 | 3 | function flowIndentCheck(indent, fc, onError) { 4 | if (fc?.type === 'flow-collection') { 5 | const end = fc.end[0]; 6 | if (end.indent === indent && 7 | (end.source === ']' || end.source === '}') && 8 | containsNewline(fc)) { 9 | const msg = 'Flow end indicator should be more indented than parent'; 10 | onError(end, 'BAD_INDENT', msg, true); 11 | } 12 | } 13 | } 14 | 15 | export { flowIndentCheck }; 16 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/dist/compose/util-map-includes.js: -------------------------------------------------------------------------------- 1 | import { isScalar } from '../nodes/identity.js'; 2 | 3 | function mapIncludes(ctx, items, search) { 4 | const { uniqueKeys } = ctx.options; 5 | if (uniqueKeys === false) 6 | return false; 7 | const isEqual = typeof uniqueKeys === 'function' 8 | ? uniqueKeys 9 | : (a, b) => a === b || (isScalar(a) && isScalar(b) && a.value === b.value); 10 | return items.some(pair => isEqual(pair.key, search)); 11 | } 12 | 13 | export { mapIncludes }; 14 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/dist/index.js: -------------------------------------------------------------------------------- 1 | export { Composer } from './compose/composer.js'; 2 | export { Document } from './doc/Document.js'; 3 | export { Schema } from './schema/Schema.js'; 4 | export { YAMLError, YAMLParseError, YAMLWarning } from './errors.js'; 5 | export { Alias } from './nodes/Alias.js'; 6 | export { isAlias, isCollection, isDocument, isMap, isNode, isPair, isScalar, isSeq } from './nodes/identity.js'; 7 | export { Pair } from './nodes/Pair.js'; 8 | export { Scalar } from './nodes/Scalar.js'; 9 | export { YAMLMap } from './nodes/YAMLMap.js'; 10 | export { YAMLSeq } from './nodes/YAMLSeq.js'; 11 | import * as cst from './parse/cst.js'; 12 | export { cst as CST }; 13 | export { Lexer } from './parse/lexer.js'; 14 | export { LineCounter } from './parse/line-counter.js'; 15 | export { Parser } from './parse/parser.js'; 16 | export { parse, parseAllDocuments, parseDocument, stringify } from './public-api.js'; 17 | export { visit, visitAsync } from './visit.js'; 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/dist/log.js: -------------------------------------------------------------------------------- 1 | function debug(logLevel, ...messages) { 2 | if (logLevel === 'debug') 3 | console.log(...messages); 4 | } 5 | function warn(logLevel, warning) { 6 | if (logLevel === 'debug' || logLevel === 'warn') { 7 | console.warn(warning); 8 | } 9 | } 10 | 11 | export { debug, warn }; 12 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/dist/nodes/Scalar.js: -------------------------------------------------------------------------------- 1 | import { SCALAR } from './identity.js'; 2 | import { NodeBase } from './Node.js'; 3 | import { toJS } from './toJS.js'; 4 | 5 | const isScalarValue = (value) => !value || (typeof value !== 'function' && typeof value !== 'object'); 6 | class Scalar extends NodeBase { 7 | constructor(value) { 8 | super(SCALAR); 9 | this.value = value; 10 | } 11 | toJSON(arg, ctx) { 12 | return ctx?.keep ? this.value : toJS(this.value, arg, ctx); 13 | } 14 | toString() { 15 | return String(this.value); 16 | } 17 | } 18 | Scalar.BLOCK_FOLDED = 'BLOCK_FOLDED'; 19 | Scalar.BLOCK_LITERAL = 'BLOCK_LITERAL'; 20 | Scalar.PLAIN = 'PLAIN'; 21 | Scalar.QUOTE_DOUBLE = 'QUOTE_DOUBLE'; 22 | Scalar.QUOTE_SINGLE = 'QUOTE_SINGLE'; 23 | 24 | export { Scalar, isScalarValue }; 25 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/dist/schema/common/map.js: -------------------------------------------------------------------------------- 1 | import { isMap } from '../../nodes/identity.js'; 2 | import { YAMLMap } from '../../nodes/YAMLMap.js'; 3 | 4 | const map = { 5 | collection: 'map', 6 | default: true, 7 | nodeClass: YAMLMap, 8 | tag: 'tag:yaml.org,2002:map', 9 | resolve(map, onError) { 10 | if (!isMap(map)) 11 | onError('Expected a mapping for this tag'); 12 | return map; 13 | }, 14 | createNode: (schema, obj, ctx) => YAMLMap.from(schema, obj, ctx) 15 | }; 16 | 17 | export { map }; 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/dist/schema/common/null.js: -------------------------------------------------------------------------------- 1 | import { Scalar } from '../../nodes/Scalar.js'; 2 | 3 | const nullTag = { 4 | identify: value => value == null, 5 | createNode: () => new Scalar(null), 6 | default: true, 7 | tag: 'tag:yaml.org,2002:null', 8 | test: /^(?:~|[Nn]ull|NULL)?$/, 9 | resolve: () => new Scalar(null), 10 | stringify: ({ source }, ctx) => typeof source === 'string' && nullTag.test.test(source) 11 | ? source 12 | : ctx.options.nullStr 13 | }; 14 | 15 | export { nullTag }; 16 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/dist/schema/common/seq.js: -------------------------------------------------------------------------------- 1 | import { isSeq } from '../../nodes/identity.js'; 2 | import { YAMLSeq } from '../../nodes/YAMLSeq.js'; 3 | 4 | const seq = { 5 | collection: 'seq', 6 | default: true, 7 | nodeClass: YAMLSeq, 8 | tag: 'tag:yaml.org,2002:seq', 9 | resolve(seq, onError) { 10 | if (!isSeq(seq)) 11 | onError('Expected a sequence for this tag'); 12 | return seq; 13 | }, 14 | createNode: (schema, obj, ctx) => YAMLSeq.from(schema, obj, ctx) 15 | }; 16 | 17 | export { seq }; 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/dist/schema/common/string.js: -------------------------------------------------------------------------------- 1 | import { stringifyString } from '../../stringify/stringifyString.js'; 2 | 3 | const string = { 4 | identify: value => typeof value === 'string', 5 | default: true, 6 | tag: 'tag:yaml.org,2002:str', 7 | resolve: str => str, 8 | stringify(item, ctx, onComment, onChompKeep) { 9 | ctx = Object.assign({ actualString: true }, ctx); 10 | return stringifyString(item, ctx, onComment, onChompKeep); 11 | } 12 | }; 13 | 14 | export { string }; 15 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/dist/schema/core/bool.js: -------------------------------------------------------------------------------- 1 | import { Scalar } from '../../nodes/Scalar.js'; 2 | 3 | const boolTag = { 4 | identify: value => typeof value === 'boolean', 5 | default: true, 6 | tag: 'tag:yaml.org,2002:bool', 7 | test: /^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/, 8 | resolve: str => new Scalar(str[0] === 't' || str[0] === 'T'), 9 | stringify({ source, value }, ctx) { 10 | if (source && boolTag.test.test(source)) { 11 | const sv = source[0] === 't' || source[0] === 'T'; 12 | if (value === sv) 13 | return source; 14 | } 15 | return value ? ctx.options.trueStr : ctx.options.falseStr; 16 | } 17 | }; 18 | 19 | export { boolTag }; 20 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/dist/schema/core/schema.js: -------------------------------------------------------------------------------- 1 | import { map } from '../common/map.js'; 2 | import { nullTag } from '../common/null.js'; 3 | import { seq } from '../common/seq.js'; 4 | import { string } from '../common/string.js'; 5 | import { boolTag } from './bool.js'; 6 | import { floatNaN, floatExp, float } from './float.js'; 7 | import { intOct, int, intHex } from './int.js'; 8 | 9 | const schema = [ 10 | map, 11 | seq, 12 | string, 13 | nullTag, 14 | boolTag, 15 | intOct, 16 | int, 17 | intHex, 18 | floatNaN, 19 | floatExp, 20 | float 21 | ]; 22 | 23 | export { schema }; 24 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js: -------------------------------------------------------------------------------- 1 | import { Scalar } from '../../nodes/Scalar.js'; 2 | 3 | function boolStringify({ value, source }, ctx) { 4 | const boolObj = value ? trueTag : falseTag; 5 | if (source && boolObj.test.test(source)) 6 | return source; 7 | return value ? ctx.options.trueStr : ctx.options.falseStr; 8 | } 9 | const trueTag = { 10 | identify: value => value === true, 11 | default: true, 12 | tag: 'tag:yaml.org,2002:bool', 13 | test: /^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/, 14 | resolve: () => new Scalar(true), 15 | stringify: boolStringify 16 | }; 17 | const falseTag = { 18 | identify: value => value === false, 19 | default: true, 20 | tag: 'tag:yaml.org,2002:bool', 21 | test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/, 22 | resolve: () => new Scalar(false), 23 | stringify: boolStringify 24 | }; 25 | 26 | export { falseTag, trueTag }; 27 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js: -------------------------------------------------------------------------------- 1 | import { map } from '../common/map.js'; 2 | import { nullTag } from '../common/null.js'; 3 | import { seq } from '../common/seq.js'; 4 | import { string } from '../common/string.js'; 5 | import { binary } from './binary.js'; 6 | import { trueTag, falseTag } from './bool.js'; 7 | import { floatNaN, floatExp, float } from './float.js'; 8 | import { intBin, intOct, int, intHex } from './int.js'; 9 | import { merge } from './merge.js'; 10 | import { omap } from './omap.js'; 11 | import { pairs } from './pairs.js'; 12 | import { set } from './set.js'; 13 | import { intTime, floatTime, timestamp } from './timestamp.js'; 14 | 15 | const schema = [ 16 | map, 17 | seq, 18 | string, 19 | nullTag, 20 | trueTag, 21 | falseTag, 22 | intBin, 23 | intOct, 24 | int, 25 | intHex, 26 | floatNaN, 27 | floatExp, 28 | float, 29 | binary, 30 | merge, 31 | omap, 32 | pairs, 33 | set, 34 | intTime, 35 | floatTime, 36 | timestamp 37 | ]; 38 | 39 | export { schema }; 40 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/dist/stringify/stringifyComment.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Stringifies a comment. 3 | * 4 | * Empty comment lines are left empty, 5 | * lines consisting of a single space are replaced by `#`, 6 | * and all other lines are prefixed with a `#`. 7 | */ 8 | const stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, '#'); 9 | function indentComment(comment, indent) { 10 | if (/^\n+$/.test(comment)) 11 | return comment.substring(1); 12 | return indent ? comment.replace(/^(?! *$)/gm, indent) : comment; 13 | } 14 | const lineComment = (str, indent, comment) => str.endsWith('\n') 15 | ? indentComment(comment, indent) 16 | : comment.includes('\n') 17 | ? '\n' + indentComment(comment, indent) 18 | : (str.endsWith(' ') ? '' : ' ') + comment; 19 | 20 | export { indentComment, lineComment, stringifyComment }; 21 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/dist/stringify/stringifyNumber.js: -------------------------------------------------------------------------------- 1 | function stringifyNumber({ format, minFractionDigits, tag, value }) { 2 | if (typeof value === 'bigint') 3 | return String(value); 4 | const num = typeof value === 'number' ? value : Number(value); 5 | if (!isFinite(num)) 6 | return isNaN(num) ? '.nan' : num < 0 ? '-.inf' : '.inf'; 7 | let n = JSON.stringify(value); 8 | if (!format && 9 | minFractionDigits && 10 | (!tag || tag === 'tag:yaml.org,2002:float') && 11 | /^\d/.test(n)) { 12 | let i = n.indexOf('.'); 13 | if (i < 0) { 14 | i = n.length; 15 | n += '.'; 16 | } 17 | let d = minFractionDigits - (n.length - i - 1); 18 | while (d-- > 0) 19 | n += '0'; 20 | } 21 | return n; 22 | } 23 | 24 | export { stringifyNumber }; 25 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/dist/util.js: -------------------------------------------------------------------------------- 1 | export { createNode } from './doc/createNode.js'; 2 | export { debug, warn } from './log.js'; 3 | export { createPair } from './nodes/Pair.js'; 4 | export { toJS } from './nodes/toJS.js'; 5 | export { findPair } from './nodes/YAMLMap.js'; 6 | export { map as mapTag } from './schema/common/map.js'; 7 | export { seq as seqTag } from './schema/common/seq.js'; 8 | export { string as stringTag } from './schema/common/string.js'; 9 | export { foldFlowLines } from './stringify/foldFlowLines.js'; 10 | export { stringifyNumber } from './stringify/stringifyNumber.js'; 11 | export { stringifyString } from './stringify/stringifyString.js'; 12 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/index.js: -------------------------------------------------------------------------------- 1 | // `export * as default from ...` fails on Webpack v4 2 | // https://github.com/eemeli/yaml/issues/228 3 | import * as YAML from './dist/index.js' 4 | export default YAML 5 | export * from './dist/index.js' 6 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/browser/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "module" 3 | } 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/compose/compose-collection.d.ts: -------------------------------------------------------------------------------- 1 | import type { ParsedNode } from '../nodes/Node'; 2 | import type { BlockMap, BlockSequence, FlowCollection, SourceToken } from '../parse/cst'; 3 | import type { ComposeContext, ComposeNode } from './compose-node'; 4 | import type { ComposeErrorHandler } from './composer'; 5 | interface Props { 6 | anchor: SourceToken | null; 7 | tag: SourceToken | null; 8 | newlineAfterProp: SourceToken | null; 9 | } 10 | export declare function composeCollection(CN: ComposeNode, ctx: ComposeContext, token: BlockMap | BlockSequence | FlowCollection, props: Props, onError: ComposeErrorHandler): ParsedNode; 11 | export {}; 12 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/compose/compose-doc.d.ts: -------------------------------------------------------------------------------- 1 | import type { Directives } from '../doc/directives'; 2 | import { Document } from '../doc/Document'; 3 | import type { ParsedNode } from '../nodes/Node'; 4 | import type { DocumentOptions, ParseOptions, SchemaOptions } from '../options'; 5 | import type * as CST from '../parse/cst'; 6 | import type { ComposeErrorHandler } from './composer'; 7 | export declare function composeDoc(options: ParseOptions & DocumentOptions & SchemaOptions, directives: Directives, { offset, start, value, end }: CST.Document, onError: ComposeErrorHandler): Document.Parsed; 8 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/compose/compose-scalar.d.ts: -------------------------------------------------------------------------------- 1 | import { Scalar } from '../nodes/Scalar'; 2 | import type { BlockScalar, FlowScalar, SourceToken } from '../parse/cst'; 3 | import type { ComposeContext } from './compose-node'; 4 | import type { ComposeErrorHandler } from './composer'; 5 | export declare function composeScalar(ctx: ComposeContext, token: FlowScalar | BlockScalar, tagToken: SourceToken | null, onError: ComposeErrorHandler): Scalar.Parsed; 6 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/compose/resolve-block-map.d.ts: -------------------------------------------------------------------------------- 1 | import { YAMLMap } from '../nodes/YAMLMap'; 2 | import type { BlockMap } from '../parse/cst'; 3 | import type { CollectionTag } from '../schema/types'; 4 | import type { ComposeContext, ComposeNode } from './compose-node'; 5 | import type { ComposeErrorHandler } from './composer'; 6 | export declare function resolveBlockMap({ composeNode, composeEmptyNode }: ComposeNode, ctx: ComposeContext, bm: BlockMap, onError: ComposeErrorHandler, tag?: CollectionTag): YAMLMap.Parsed; 7 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts: -------------------------------------------------------------------------------- 1 | import type { Range } from '../nodes/Node'; 2 | import { Scalar } from '../nodes/Scalar'; 3 | import type { BlockScalar } from '../parse/cst'; 4 | import type { ComposeContext } from './compose-node'; 5 | import type { ComposeErrorHandler } from './composer'; 6 | export declare function resolveBlockScalar(ctx: ComposeContext, scalar: BlockScalar, onError: ComposeErrorHandler): { 7 | value: string; 8 | type: Scalar.BLOCK_FOLDED | Scalar.BLOCK_LITERAL | null; 9 | comment: string; 10 | range: Range; 11 | }; 12 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/compose/resolve-block-seq.d.ts: -------------------------------------------------------------------------------- 1 | import { YAMLSeq } from '../nodes/YAMLSeq'; 2 | import type { BlockSequence } from '../parse/cst'; 3 | import type { CollectionTag } from '../schema/types'; 4 | import type { ComposeContext, ComposeNode } from './compose-node'; 5 | import type { ComposeErrorHandler } from './composer'; 6 | export declare function resolveBlockSeq({ composeNode, composeEmptyNode }: ComposeNode, ctx: ComposeContext, bs: BlockSequence, onError: ComposeErrorHandler, tag?: CollectionTag): YAMLSeq.Parsed; 7 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/compose/resolve-end.d.ts: -------------------------------------------------------------------------------- 1 | import type { SourceToken } from '../parse/cst'; 2 | import type { ComposeErrorHandler } from './composer'; 3 | export declare function resolveEnd(end: SourceToken[] | undefined, offset: number, reqSpace: boolean, onError: ComposeErrorHandler): { 4 | comment: string; 5 | offset: number; 6 | }; 7 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts: -------------------------------------------------------------------------------- 1 | import { YAMLMap } from '../nodes/YAMLMap'; 2 | import { YAMLSeq } from '../nodes/YAMLSeq'; 3 | import type { FlowCollection } from '../parse/cst'; 4 | import type { CollectionTag } from '../schema/types'; 5 | import type { ComposeContext, ComposeNode } from './compose-node'; 6 | import type { ComposeErrorHandler } from './composer'; 7 | export declare function resolveFlowCollection({ composeNode, composeEmptyNode }: ComposeNode, ctx: ComposeContext, fc: FlowCollection, onError: ComposeErrorHandler, tag?: CollectionTag): YAMLMap.Parsed | YAMLSeq.Parsed; 8 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts: -------------------------------------------------------------------------------- 1 | import type { Range } from '../nodes/Node'; 2 | import { Scalar } from '../nodes/Scalar'; 3 | import type { FlowScalar } from '../parse/cst'; 4 | import type { ComposeErrorHandler } from './composer'; 5 | export declare function resolveFlowScalar(scalar: FlowScalar, strict: boolean, onError: ComposeErrorHandler): { 6 | value: string; 7 | type: Scalar.PLAIN | Scalar.QUOTE_DOUBLE | Scalar.QUOTE_SINGLE | null; 8 | comment: string; 9 | range: Range; 10 | }; 11 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/compose/resolve-props.d.ts: -------------------------------------------------------------------------------- 1 | import type { SourceToken, Token } from '../parse/cst'; 2 | import type { ComposeErrorHandler } from './composer'; 3 | export interface ResolvePropsArg { 4 | flow?: 'flow map' | 'flow sequence'; 5 | indicator: 'doc-start' | 'explicit-key-ind' | 'map-value-ind' | 'seq-item-ind'; 6 | next: Token | null | undefined; 7 | offset: number; 8 | onError: ComposeErrorHandler; 9 | parentIndent: number; 10 | startOnNewline: boolean; 11 | } 12 | export declare function resolveProps(tokens: SourceToken[], { flow, indicator, next, offset, onError, parentIndent, startOnNewline }: ResolvePropsArg): { 13 | comma: SourceToken | null; 14 | found: SourceToken | null; 15 | spaceBefore: boolean; 16 | comment: string; 17 | hasNewline: boolean; 18 | anchor: SourceToken | null; 19 | tag: SourceToken | null; 20 | newlineAfterProp: SourceToken | null; 21 | end: number; 22 | start: number; 23 | }; 24 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/compose/util-contains-newline.d.ts: -------------------------------------------------------------------------------- 1 | import type { Token } from '../parse/cst'; 2 | export declare function containsNewline(key: Token | null | undefined): boolean | null; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts: -------------------------------------------------------------------------------- 1 | import type { Token } from '../parse/cst'; 2 | export declare function emptyScalarPosition(offset: number, before: Token[] | undefined, pos: number | null): number; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/compose/util-empty-scalar-position.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | function emptyScalarPosition(offset, before, pos) { 4 | if (before) { 5 | if (pos === null) 6 | pos = before.length; 7 | for (let i = pos - 1; i >= 0; --i) { 8 | let st = before[i]; 9 | switch (st.type) { 10 | case 'space': 11 | case 'comment': 12 | case 'newline': 13 | offset -= st.source.length; 14 | continue; 15 | } 16 | // Technically, an empty scalar is immediately after the last non-empty 17 | // node, but it's more useful to place it after any whitespace. 18 | st = before[++i]; 19 | while (st?.type === 'space') { 20 | offset += st.source.length; 21 | st = before[++i]; 22 | } 23 | break; 24 | } 25 | } 26 | return offset; 27 | } 28 | 29 | exports.emptyScalarPosition = emptyScalarPosition; 30 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts: -------------------------------------------------------------------------------- 1 | import type { Token } from '../parse/cst'; 2 | import type { ComposeErrorHandler } from './composer'; 3 | export declare function flowIndentCheck(indent: number, fc: Token | null | undefined, onError: ComposeErrorHandler): void; 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/compose/util-flow-indent-check.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var utilContainsNewline = require('./util-contains-newline.js'); 4 | 5 | function flowIndentCheck(indent, fc, onError) { 6 | if (fc?.type === 'flow-collection') { 7 | const end = fc.end[0]; 8 | if (end.indent === indent && 9 | (end.source === ']' || end.source === '}') && 10 | utilContainsNewline.containsNewline(fc)) { 11 | const msg = 'Flow end indicator should be more indented than parent'; 12 | onError(end, 'BAD_INDENT', msg, true); 13 | } 14 | } 15 | } 16 | 17 | exports.flowIndentCheck = flowIndentCheck; 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/compose/util-map-includes.d.ts: -------------------------------------------------------------------------------- 1 | import type { ParsedNode } from '../nodes/Node'; 2 | import type { Pair } from '../nodes/Pair'; 3 | import type { ComposeContext } from './compose-node'; 4 | export declare function mapIncludes(ctx: ComposeContext, items: Pair[], search: ParsedNode): boolean; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/compose/util-map-includes.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var identity = require('../nodes/identity.js'); 4 | 5 | function mapIncludes(ctx, items, search) { 6 | const { uniqueKeys } = ctx.options; 7 | if (uniqueKeys === false) 8 | return false; 9 | const isEqual = typeof uniqueKeys === 'function' 10 | ? uniqueKeys 11 | : (a, b) => a === b || (identity.isScalar(a) && identity.isScalar(b) && a.value === b.value); 12 | return items.some(pair => isEqual(pair.key, search)); 13 | } 14 | 15 | exports.mapIncludes = mapIncludes; 16 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/doc/anchors.d.ts: -------------------------------------------------------------------------------- 1 | import type { Node } from '../nodes/Node'; 2 | import type { Document } from './Document'; 3 | /** 4 | * Verify that the input string is a valid anchor. 5 | * 6 | * Will throw on errors. 7 | */ 8 | export declare function anchorIsValid(anchor: string): true; 9 | export declare function anchorNames(root: Document | Node): Set; 10 | /** Find a new anchor name with the given `prefix` and a one-indexed suffix. */ 11 | export declare function findNewAnchor(prefix: string, exclude: Set): string; 12 | export declare function createNodeAnchors(doc: Document, prefix: string): { 13 | onAnchor: (source: unknown) => string; 14 | /** 15 | * With circular references, the source node is only resolved after all 16 | * of its child nodes are. This is why anchors are set only after all of 17 | * the nodes have been created. 18 | */ 19 | setAnchors: () => void; 20 | sourceObjects: Map; 24 | }; 25 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/doc/applyReviver.d.ts: -------------------------------------------------------------------------------- 1 | export type Reviver = (key: unknown, value: unknown) => unknown; 2 | /** 3 | * Applies the JSON.parse reviver algorithm as defined in the ECMA-262 spec, 4 | * in section 24.5.1.1 "Runtime Semantics: InternalizeJSONProperty" of the 5 | * 2021 edition: https://tc39.es/ecma262/#sec-json.parse 6 | * 7 | * Includes extensions for handling Map and Set objects. 8 | */ 9 | export declare function applyReviver(reviver: Reviver, obj: unknown, key: unknown, val: any): unknown; 10 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/doc/createNode.d.ts: -------------------------------------------------------------------------------- 1 | import type { Node } from '../nodes/Node'; 2 | import type { Schema } from '../schema/Schema'; 3 | import type { CollectionTag, ScalarTag } from '../schema/types'; 4 | import type { Replacer } from './Document'; 5 | export interface CreateNodeContext { 6 | aliasDuplicateObjects: boolean; 7 | keepUndefined: boolean; 8 | onAnchor: (source: unknown) => string; 9 | onTagObj?: (tagObj: ScalarTag | CollectionTag) => void; 10 | sourceObjects: Map; 14 | replacer?: Replacer; 15 | schema: Schema; 16 | } 17 | export declare function createNode(value: unknown, tagName: string | undefined, ctx: CreateNodeContext): Node; 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/log.d.ts: -------------------------------------------------------------------------------- 1 | export type LogLevelId = 'silent' | 'error' | 'warn' | 'debug'; 2 | export declare function debug(logLevel: LogLevelId, ...messages: any[]): void; 3 | export declare function warn(logLevel: LogLevelId, warning: string | Error): void; 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/log.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var node_process = require('node:process'); 4 | 5 | function debug(logLevel, ...messages) { 6 | if (logLevel === 'debug') 7 | console.log(...messages); 8 | } 9 | function warn(logLevel, warning) { 10 | if (logLevel === 'debug' || logLevel === 'warn') { 11 | if (typeof node_process.emitWarning === 'function') 12 | node_process.emitWarning(warning); 13 | else 14 | console.warn(warning); 15 | } 16 | } 17 | 18 | exports.debug = debug; 19 | exports.warn = warn; 20 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/nodes/Scalar.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var identity = require('./identity.js'); 4 | var Node = require('./Node.js'); 5 | var toJS = require('./toJS.js'); 6 | 7 | const isScalarValue = (value) => !value || (typeof value !== 'function' && typeof value !== 'object'); 8 | class Scalar extends Node.NodeBase { 9 | constructor(value) { 10 | super(identity.SCALAR); 11 | this.value = value; 12 | } 13 | toJSON(arg, ctx) { 14 | return ctx?.keep ? this.value : toJS.toJS(this.value, arg, ctx); 15 | } 16 | toString() { 17 | return String(this.value); 18 | } 19 | } 20 | Scalar.BLOCK_FOLDED = 'BLOCK_FOLDED'; 21 | Scalar.BLOCK_LITERAL = 'BLOCK_LITERAL'; 22 | Scalar.PLAIN = 'PLAIN'; 23 | Scalar.QUOTE_DOUBLE = 'QUOTE_DOUBLE'; 24 | Scalar.QUOTE_SINGLE = 'QUOTE_SINGLE'; 25 | 26 | exports.Scalar = Scalar; 27 | exports.isScalarValue = isScalarValue; 28 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts: -------------------------------------------------------------------------------- 1 | import type { Pair } from './Pair'; 2 | import type { ToJSContext } from './toJS'; 3 | import type { MapLike } from './YAMLMap'; 4 | export declare function addPairToJSMap(ctx: ToJSContext | undefined, map: MapLike, { key, value }: Pair): MapLike; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/nodes/toJS.d.ts: -------------------------------------------------------------------------------- 1 | import type { Document } from '../doc/Document'; 2 | import type { Node } from './Node'; 3 | export interface AnchorData { 4 | aliasCount: number; 5 | count: number; 6 | res: unknown; 7 | } 8 | export interface ToJSContext { 9 | anchors: Map; 10 | doc: Document; 11 | keep: boolean; 12 | mapAsMap: boolean; 13 | mapKeyWarned: boolean; 14 | maxAliasCount: number; 15 | onCreate?: (res: unknown) => void; 16 | } 17 | /** 18 | * Recursively convert any node or its contents to native JavaScript 19 | * 20 | * @param value - The input value 21 | * @param arg - If `value` defines a `toJSON()` method, use this 22 | * as its first argument 23 | * @param ctx - Conversion context, originally set in Document#toJS(). If 24 | * `{ keep: true }` is not set, output should be suitable for JSON 25 | * stringification. 26 | */ 27 | export declare function toJS(value: any, arg: string | null, ctx?: ToJSContext): any; 28 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/parse/cst-stringify.d.ts: -------------------------------------------------------------------------------- 1 | import type { CollectionItem, Token } from './cst'; 2 | /** 3 | * Stringify a CST document, token, or collection item 4 | * 5 | * Fair warning: This applies no validation whatsoever, and 6 | * simply concatenates the sources in their logical order. 7 | */ 8 | export declare const stringify: (cst: Token | CollectionItem) => string; 9 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/parse/line-counter.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Tracks newlines during parsing in order to provide an efficient API for 3 | * determining the one-indexed `{ line, col }` position for any offset 4 | * within the input. 5 | */ 6 | export declare class LineCounter { 7 | lineStarts: number[]; 8 | /** 9 | * Should be called in ascending order. Otherwise, call 10 | * `lineCounter.lineStarts.sort()` before calling `linePos()`. 11 | */ 12 | addNewLine: (offset: number) => number; 13 | /** 14 | * Performs a binary search and returns the 1-indexed { line, col } 15 | * position of `offset`. If `line === 0`, `addNewLine` has never been 16 | * called or `offset` is before the first known newline. 17 | */ 18 | linePos: (offset: number) => { 19 | line: number; 20 | col: number; 21 | }; 22 | } 23 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/Schema.d.ts: -------------------------------------------------------------------------------- 1 | import { MAP, SCALAR, SEQ } from '../nodes/identity'; 2 | import type { Pair } from '../nodes/Pair'; 3 | import type { SchemaOptions, ToStringOptions } from '../options'; 4 | import type { CollectionTag, ScalarTag } from './types'; 5 | export declare class Schema { 6 | compat: Array | null; 7 | knownTags: Record; 8 | name: string; 9 | sortMapEntries: ((a: Pair, b: Pair) => number) | null; 10 | tags: Array; 11 | toStringOptions: Readonly | null; 12 | readonly [MAP]: CollectionTag; 13 | readonly [SCALAR]: ScalarTag; 14 | readonly [SEQ]: CollectionTag; 15 | constructor({ compat, customTags, merge, resolveKnownTags, schema, sortMapEntries, toStringDefaults }: SchemaOptions); 16 | clone(): Schema; 17 | } 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/common/map.d.ts: -------------------------------------------------------------------------------- 1 | import type { CollectionTag } from '../types'; 2 | export declare const map: CollectionTag; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/common/map.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var identity = require('../../nodes/identity.js'); 4 | var YAMLMap = require('../../nodes/YAMLMap.js'); 5 | 6 | const map = { 7 | collection: 'map', 8 | default: true, 9 | nodeClass: YAMLMap.YAMLMap, 10 | tag: 'tag:yaml.org,2002:map', 11 | resolve(map, onError) { 12 | if (!identity.isMap(map)) 13 | onError('Expected a mapping for this tag'); 14 | return map; 15 | }, 16 | createNode: (schema, obj, ctx) => YAMLMap.YAMLMap.from(schema, obj, ctx) 17 | }; 18 | 19 | exports.map = map; 20 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/common/null.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const nullTag: ScalarTag & { 3 | test: RegExp; 4 | }; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/common/null.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Scalar = require('../../nodes/Scalar.js'); 4 | 5 | const nullTag = { 6 | identify: value => value == null, 7 | createNode: () => new Scalar.Scalar(null), 8 | default: true, 9 | tag: 'tag:yaml.org,2002:null', 10 | test: /^(?:~|[Nn]ull|NULL)?$/, 11 | resolve: () => new Scalar.Scalar(null), 12 | stringify: ({ source }, ctx) => typeof source === 'string' && nullTag.test.test(source) 13 | ? source 14 | : ctx.options.nullStr 15 | }; 16 | 17 | exports.nullTag = nullTag; 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/common/seq.d.ts: -------------------------------------------------------------------------------- 1 | import type { CollectionTag } from '../types'; 2 | export declare const seq: CollectionTag; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/common/seq.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var identity = require('../../nodes/identity.js'); 4 | var YAMLSeq = require('../../nodes/YAMLSeq.js'); 5 | 6 | const seq = { 7 | collection: 'seq', 8 | default: true, 9 | nodeClass: YAMLSeq.YAMLSeq, 10 | tag: 'tag:yaml.org,2002:seq', 11 | resolve(seq, onError) { 12 | if (!identity.isSeq(seq)) 13 | onError('Expected a sequence for this tag'); 14 | return seq; 15 | }, 16 | createNode: (schema, obj, ctx) => YAMLSeq.YAMLSeq.from(schema, obj, ctx) 17 | }; 18 | 19 | exports.seq = seq; 20 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/common/string.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const string: ScalarTag; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/common/string.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var stringifyString = require('../../stringify/stringifyString.js'); 4 | 5 | const string = { 6 | identify: value => typeof value === 'string', 7 | default: true, 8 | tag: 'tag:yaml.org,2002:str', 9 | resolve: str => str, 10 | stringify(item, ctx, onComment, onChompKeep) { 11 | ctx = Object.assign({ actualString: true }, ctx); 12 | return stringifyString.stringifyString(item, ctx, onComment, onChompKeep); 13 | } 14 | }; 15 | 16 | exports.string = string; 17 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/core/bool.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const boolTag: ScalarTag & { 3 | test: RegExp; 4 | }; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/core/bool.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Scalar = require('../../nodes/Scalar.js'); 4 | 5 | const boolTag = { 6 | identify: value => typeof value === 'boolean', 7 | default: true, 8 | tag: 'tag:yaml.org,2002:bool', 9 | test: /^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/, 10 | resolve: str => new Scalar.Scalar(str[0] === 't' || str[0] === 'T'), 11 | stringify({ source, value }, ctx) { 12 | if (source && boolTag.test.test(source)) { 13 | const sv = source[0] === 't' || source[0] === 'T'; 14 | if (value === sv) 15 | return source; 16 | } 17 | return value ? ctx.options.trueStr : ctx.options.falseStr; 18 | } 19 | }; 20 | 21 | exports.boolTag = boolTag; 22 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/core/float.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const floatNaN: ScalarTag; 3 | export declare const floatExp: ScalarTag; 4 | export declare const float: ScalarTag; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/core/int.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const intOct: ScalarTag; 3 | export declare const int: ScalarTag; 4 | export declare const intHex: ScalarTag; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/core/schema.d.ts: -------------------------------------------------------------------------------- 1 | export declare const schema: (import('../types').CollectionTag | import('../types').ScalarTag)[]; 2 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/core/schema.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var map = require('../common/map.js'); 4 | var _null = require('../common/null.js'); 5 | var seq = require('../common/seq.js'); 6 | var string = require('../common/string.js'); 7 | var bool = require('./bool.js'); 8 | var float = require('./float.js'); 9 | var int = require('./int.js'); 10 | 11 | const schema = [ 12 | map.map, 13 | seq.seq, 14 | string.string, 15 | _null.nullTag, 16 | bool.boolTag, 17 | int.intOct, 18 | int.int, 19 | int.intHex, 20 | float.floatNaN, 21 | float.floatExp, 22 | float.float 23 | ]; 24 | 25 | exports.schema = schema; 26 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/json/schema.d.ts: -------------------------------------------------------------------------------- 1 | import type { CollectionTag, ScalarTag } from '../types'; 2 | export declare const schema: (CollectionTag | ScalarTag)[]; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const binary: ScalarTag; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const trueTag: ScalarTag & { 3 | test: RegExp; 4 | }; 5 | export declare const falseTag: ScalarTag & { 6 | test: RegExp; 7 | }; 8 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/yaml-1.1/bool.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Scalar = require('../../nodes/Scalar.js'); 4 | 5 | function boolStringify({ value, source }, ctx) { 6 | const boolObj = value ? trueTag : falseTag; 7 | if (source && boolObj.test.test(source)) 8 | return source; 9 | return value ? ctx.options.trueStr : ctx.options.falseStr; 10 | } 11 | const trueTag = { 12 | identify: value => value === true, 13 | default: true, 14 | tag: 'tag:yaml.org,2002:bool', 15 | test: /^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/, 16 | resolve: () => new Scalar.Scalar(true), 17 | stringify: boolStringify 18 | }; 19 | const falseTag = { 20 | identify: value => value === false, 21 | default: true, 22 | tag: 'tag:yaml.org,2002:bool', 23 | test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/, 24 | resolve: () => new Scalar.Scalar(false), 25 | stringify: boolStringify 26 | }; 27 | 28 | exports.falseTag = falseTag; 29 | exports.trueTag = trueTag; 30 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const floatNaN: ScalarTag; 3 | export declare const floatExp: ScalarTag; 4 | export declare const float: ScalarTag; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const intBin: ScalarTag; 3 | export declare const intOct: ScalarTag; 4 | export declare const int: ScalarTag; 5 | export declare const intHex: ScalarTag; 6 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts: -------------------------------------------------------------------------------- 1 | import type { ToJSContext } from '../../nodes/toJS'; 2 | import type { MapLike } from '../../nodes/YAMLMap'; 3 | import type { ScalarTag } from '../types'; 4 | export declare const merge: ScalarTag & { 5 | identify(value: unknown): boolean; 6 | test: RegExp; 7 | }; 8 | export declare const isMergeKey: (ctx: ToJSContext | undefined, key: unknown) => boolean | undefined; 9 | export declare function addMergeToJSMap(ctx: ToJSContext | undefined, map: MapLike, value: unknown): void; 10 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts: -------------------------------------------------------------------------------- 1 | import type { ToJSContext } from '../../nodes/toJS'; 2 | import { YAMLMap } from '../../nodes/YAMLMap'; 3 | import { YAMLSeq } from '../../nodes/YAMLSeq'; 4 | import type { CreateNodeContext } from '../../util'; 5 | import type { Schema } from '../Schema'; 6 | import type { CollectionTag } from '../types'; 7 | export declare class YAMLOMap extends YAMLSeq { 8 | static tag: string; 9 | constructor(); 10 | add: typeof YAMLMap.prototype.add; 11 | delete: typeof YAMLMap.prototype.delete; 12 | get: typeof YAMLMap.prototype.get; 13 | has: typeof YAMLMap.prototype.has; 14 | set: typeof YAMLMap.prototype.set; 15 | /** 16 | * If `ctx` is given, the return type is actually `Map`, 17 | * but TypeScript won't allow widening the signature of a child method. 18 | */ 19 | toJSON(_?: unknown, ctx?: ToJSContext): unknown[]; 20 | static from(schema: Schema, iterable: unknown, ctx: CreateNodeContext): YAMLOMap; 21 | } 22 | export declare const omap: CollectionTag; 23 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts: -------------------------------------------------------------------------------- 1 | import type { CreateNodeContext } from '../../doc/createNode'; 2 | import type { ParsedNode } from '../../nodes/Node'; 3 | import { Pair } from '../../nodes/Pair'; 4 | import type { YAMLMap } from '../../nodes/YAMLMap'; 5 | import { YAMLSeq } from '../../nodes/YAMLSeq'; 6 | import type { Schema } from '../../schema/Schema'; 7 | import type { CollectionTag } from '../types'; 8 | export declare function resolvePairs(seq: YAMLSeq.Parsed> | YAMLMap.Parsed, onError: (message: string) => void): YAMLSeq.Parsed>; 9 | export declare function createPairs(schema: Schema, iterable: unknown, ctx: CreateNodeContext): YAMLSeq; 10 | export declare const pairs: CollectionTag; 11 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts: -------------------------------------------------------------------------------- 1 | export declare const schema: (import('../types').CollectionTag | import('../types').ScalarTag)[]; 2 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const intTime: ScalarTag; 3 | export declare const floatTime: ScalarTag; 4 | export declare const timestamp: ScalarTag & { 5 | test: RegExp; 6 | }; 7 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/stringify/stringify.d.ts: -------------------------------------------------------------------------------- 1 | import type { Document } from '../doc/Document'; 2 | import type { Alias } from '../nodes/Alias'; 3 | import type { ToStringOptions } from '../options'; 4 | export type StringifyContext = { 5 | actualString?: boolean; 6 | allNullValues?: boolean; 7 | anchors: Set; 8 | doc: Document; 9 | forceBlockIndent?: boolean; 10 | implicitKey?: boolean; 11 | indent: string; 12 | indentStep: string; 13 | indentAtStart?: number; 14 | inFlow: boolean | null; 15 | inStringifyKey?: boolean; 16 | flowCollectionPadding: string; 17 | options: Readonly>>; 18 | resolvedAliases?: Set; 19 | }; 20 | export declare function createStringifyContext(doc: Document, options: ToStringOptions): StringifyContext; 21 | export declare function stringify(item: unknown, ctx: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string; 22 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/stringify/stringifyCollection.d.ts: -------------------------------------------------------------------------------- 1 | import type { Collection } from '../nodes/Collection'; 2 | import type { StringifyContext } from './stringify'; 3 | interface StringifyCollectionOptions { 4 | blockItemPrefix: string; 5 | flowChars: { 6 | start: '{'; 7 | end: '}'; 8 | } | { 9 | start: '['; 10 | end: ']'; 11 | }; 12 | itemIndent: string; 13 | onChompKeep?: () => void; 14 | onComment?: () => void; 15 | } 16 | export declare function stringifyCollection(collection: Readonly, ctx: StringifyContext, options: StringifyCollectionOptions): string; 17 | export {}; 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/stringify/stringifyComment.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Stringifies a comment. 3 | * 4 | * Empty comment lines are left empty, 5 | * lines consisting of a single space are replaced by `#`, 6 | * and all other lines are prefixed with a `#`. 7 | */ 8 | export declare const stringifyComment: (str: string) => string; 9 | export declare function indentComment(comment: string, indent: string): string; 10 | export declare const lineComment: (str: string, indent: string, comment: string) => string; 11 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/stringify/stringifyComment.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Stringifies a comment. 5 | * 6 | * Empty comment lines are left empty, 7 | * lines consisting of a single space are replaced by `#`, 8 | * and all other lines are prefixed with a `#`. 9 | */ 10 | const stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, '#'); 11 | function indentComment(comment, indent) { 12 | if (/^\n+$/.test(comment)) 13 | return comment.substring(1); 14 | return indent ? comment.replace(/^(?! *$)/gm, indent) : comment; 15 | } 16 | const lineComment = (str, indent, comment) => str.endsWith('\n') 17 | ? indentComment(comment, indent) 18 | : comment.includes('\n') 19 | ? '\n' + indentComment(comment, indent) 20 | : (str.endsWith(' ') ? '' : ' ') + comment; 21 | 22 | exports.indentComment = indentComment; 23 | exports.lineComment = lineComment; 24 | exports.stringifyComment = stringifyComment; 25 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/stringify/stringifyDocument.d.ts: -------------------------------------------------------------------------------- 1 | import type { Document } from '../doc/Document'; 2 | import type { Node } from '../nodes/Node'; 3 | import type { ToStringOptions } from '../options'; 4 | export declare function stringifyDocument(doc: Readonly>, options: ToStringOptions): string; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/stringify/stringifyNumber.d.ts: -------------------------------------------------------------------------------- 1 | import type { Scalar } from '../nodes/Scalar'; 2 | export declare function stringifyNumber({ format, minFractionDigits, tag, value }: Scalar): string; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/stringify/stringifyNumber.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | function stringifyNumber({ format, minFractionDigits, tag, value }) { 4 | if (typeof value === 'bigint') 5 | return String(value); 6 | const num = typeof value === 'number' ? value : Number(value); 7 | if (!isFinite(num)) 8 | return isNaN(num) ? '.nan' : num < 0 ? '-.inf' : '.inf'; 9 | let n = JSON.stringify(value); 10 | if (!format && 11 | minFractionDigits && 12 | (!tag || tag === 'tag:yaml.org,2002:float') && 13 | /^\d/.test(n)) { 14 | let i = n.indexOf('.'); 15 | if (i < 0) { 16 | i = n.length; 17 | n += '.'; 18 | } 19 | let d = minFractionDigits - (n.length - i - 1); 20 | while (d-- > 0) 21 | n += '0'; 22 | } 23 | return n; 24 | } 25 | 26 | exports.stringifyNumber = stringifyNumber; 27 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/stringify/stringifyPair.d.ts: -------------------------------------------------------------------------------- 1 | import type { Pair } from '../nodes/Pair'; 2 | import type { StringifyContext } from './stringify'; 3 | export declare function stringifyPair({ key, value }: Readonly, ctx: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string; 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/stringify/stringifyString.d.ts: -------------------------------------------------------------------------------- 1 | import { Scalar } from '../nodes/Scalar'; 2 | import type { StringifyContext } from './stringify'; 3 | interface StringifyScalar { 4 | value: string; 5 | comment?: string | null; 6 | type?: string; 7 | } 8 | export declare function stringifyString(item: Scalar | StringifyScalar, ctx: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string; 9 | export {}; 10 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/test-events.d.ts: -------------------------------------------------------------------------------- 1 | export declare function testEvents(src: string): { 2 | events: string[]; 3 | error: unknown; 4 | }; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/dist/util.d.ts: -------------------------------------------------------------------------------- 1 | export { createNode } from './doc/createNode'; 2 | export type { CreateNodeContext } from './doc/createNode'; 3 | export { debug, warn } from './log'; 4 | export type { LogLevelId } from './log'; 5 | export { createPair } from './nodes/Pair'; 6 | export { toJS } from './nodes/toJS'; 7 | export type { ToJSContext } from './nodes/toJS'; 8 | export { findPair } from './nodes/YAMLMap'; 9 | export { map as mapTag } from './schema/common/map'; 10 | export { seq as seqTag } from './schema/common/seq'; 11 | export { string as stringTag } from './schema/common/string'; 12 | export { foldFlowLines } from './stringify/foldFlowLines'; 13 | export type { FoldOptions } from './stringify/foldFlowLines'; 14 | export type { StringifyContext } from './stringify/stringify'; 15 | export { stringifyNumber } from './stringify/stringifyNumber'; 16 | export { stringifyString } from './stringify/stringifyString'; 17 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/node_modules/yaml/util.js: -------------------------------------------------------------------------------- 1 | // Re-exporter for Node.js < 12.16.0 2 | module.exports = require('./dist/util.js') 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-dynamic-steps/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@pkgjs/prepare-dynamic-steps", 3 | "private": true, 4 | "version": "0.0.0-development", 5 | "description": "Github Actions tooling for testing Node.js packages", 6 | "scripts": { 7 | "test": "node test/index.js" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/pkgjs/action.git" 12 | }, 13 | "author": "@pkgjs", 14 | "license": "MIT", 15 | "engines": { 16 | "node": "^20", 17 | "npm": "^10 || ^11" 18 | }, 19 | "dependencies": { 20 | "@actions/core": "^1.6.0", 21 | "yaml": "^2.0.0" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=true 2 | shrinkwrap=true 3 | lockfile-version=3 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/.nvmrc: -------------------------------------------------------------------------------- 1 | 20 2 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/.bin/semver: -------------------------------------------------------------------------------- 1 | ../semver/bin/semver.js -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/.bin/yaml: -------------------------------------------------------------------------------- 1 | ../yaml/bin.mjs -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/@actions/core/lib/command.d.ts: -------------------------------------------------------------------------------- 1 | export interface CommandProperties { 2 | [key: string]: any; 3 | } 4 | /** 5 | * Commands 6 | * 7 | * Command Format: 8 | * ::name key=value,key=value::message 9 | * 10 | * Examples: 11 | * ::warning::This is the message 12 | * ::set-env name=MY_VAR::some value 13 | */ 14 | export declare function issueCommand(command: string, properties: CommandProperties, message: any): void; 15 | export declare function issue(name: string, message?: string): void; 16 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/@actions/core/lib/file-command.d.ts: -------------------------------------------------------------------------------- 1 | export declare function issueFileCommand(command: string, message: any): void; 2 | export declare function prepareKeyValueMessage(key: string, value: any): string; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/@actions/core/lib/oidc-utils.d.ts: -------------------------------------------------------------------------------- 1 | export declare class OidcClient { 2 | private static createHttpClient; 3 | private static getRequestToken; 4 | private static getIDTokenUrl; 5 | private static getCall; 6 | static getIDToken(audience?: string): Promise; 7 | } 8 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/@actions/core/lib/path-utils.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * toPosixPath converts the given path to the posix form. On Windows, \\ will be 3 | * replaced with /. 4 | * 5 | * @param pth. Path to transform. 6 | * @return string Posix path. 7 | */ 8 | export declare function toPosixPath(pth: string): string; 9 | /** 10 | * toWin32Path converts the given path to the win32 form. On Linux, / will be 11 | * replaced with \\. 12 | * 13 | * @param pth. Path to transform. 14 | * @return string Win32 path. 15 | */ 16 | export declare function toWin32Path(pth: string): string; 17 | /** 18 | * toPlatformPath converts the given path to a platform-specific path. It does 19 | * this by replacing instances of / and \ with the platform-specific path 20 | * separator. 21 | * 22 | * @param pth The path to platformize. 23 | * @return string The platform-specific path. 24 | */ 25 | export declare function toPlatformPath(pth: string): string; 26 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/@actions/core/lib/path-utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"path-utils.js","sourceRoot":"","sources":["../src/path-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4B;AAE5B;;;;;;GAMG;AACH,SAAgB,WAAW,CAAC,GAAW;IACrC,OAAO,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAA;AAClC,CAAC;AAFD,kCAEC;AAED;;;;;;GAMG;AACH,SAAgB,WAAW,CAAC,GAAW;IACrC,OAAO,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;AAClC,CAAC;AAFD,kCAEC;AAED;;;;;;;GAOG;AACH,SAAgB,cAAc,CAAC,GAAW;IACxC,OAAO,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;AACxC,CAAC;AAFD,wCAEC"} -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/@actions/core/lib/platform.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const platform: NodeJS.Platform; 3 | export declare const arch: string; 4 | export declare const isWindows: boolean; 5 | export declare const isMacOS: boolean; 6 | export declare const isLinux: boolean; 7 | export declare function getDetails(): Promise<{ 8 | name: string; 9 | platform: string; 10 | arch: string; 11 | version: string; 12 | isWindows: boolean; 13 | isMacOS: boolean; 14 | isLinux: boolean; 15 | }>; 16 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/@actions/core/lib/utils.d.ts: -------------------------------------------------------------------------------- 1 | import { AnnotationProperties } from './core'; 2 | import { CommandProperties } from './command'; 3 | /** 4 | * Sanitizes an input into a string so it can be passed into issueCommand safely 5 | * @param input input to sanitize into a string 6 | */ 7 | export declare function toCommandValue(input: any): string; 8 | /** 9 | * 10 | * @param annotationProperties 11 | * @returns The command properties to send with the actual annotation command 12 | * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646 13 | */ 14 | export declare function toCommandProperties(annotationProperties: AnnotationProperties): CommandProperties; 15 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/@actions/core/lib/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA,mCAAmC;AACnC,uDAAuD;;;AAKvD;;;GAGG;AACH,SAAgB,cAAc,CAAC,KAAU;IACvC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE;QACzC,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,MAAM,EAAE;QAC/D,OAAO,KAAe,CAAA;KACvB;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;AAC9B,CAAC;AAPD,wCAOC;AAED;;;;;GAKG;AACH,SAAgB,mBAAmB,CACjC,oBAA0C;IAE1C,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,MAAM,EAAE;QAC7C,OAAO,EAAE,CAAA;KACV;IAED,OAAO;QACL,KAAK,EAAE,oBAAoB,CAAC,KAAK;QACjC,IAAI,EAAE,oBAAoB,CAAC,IAAI;QAC/B,IAAI,EAAE,oBAAoB,CAAC,SAAS;QACpC,OAAO,EAAE,oBAAoB,CAAC,OAAO;QACrC,GAAG,EAAE,oBAAoB,CAAC,WAAW;QACrC,SAAS,EAAE,oBAAoB,CAAC,SAAS;KAC1C,CAAA;AACH,CAAC;AAfD,kDAeC"} -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/@actions/exec/lib/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=interfaces.js.map -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/@actions/exec/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/@actions/http-client/lib/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=interfaces.js.map -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/@actions/http-client/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/@actions/http-client/lib/proxy.d.ts: -------------------------------------------------------------------------------- 1 | export declare function getProxyUrl(reqUrl: URL): URL | undefined; 2 | export declare function checkBypass(reqUrl: URL): boolean; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/@actions/io/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@actions/io", 3 | "version": "1.1.3", 4 | "description": "Actions io lib", 5 | "keywords": [ 6 | "github", 7 | "actions", 8 | "io" 9 | ], 10 | "homepage": "https://github.com/actions/toolkit/tree/main/packages/io", 11 | "license": "MIT", 12 | "main": "lib/io.js", 13 | "types": "lib/io.d.ts", 14 | "directories": { 15 | "lib": "lib", 16 | "test": "__tests__" 17 | }, 18 | "files": [ 19 | "lib" 20 | ], 21 | "publishConfig": { 22 | "access": "public" 23 | }, 24 | "repository": { 25 | "type": "git", 26 | "url": "git+https://github.com/actions/toolkit.git", 27 | "directory": "packages/io" 28 | }, 29 | "scripts": { 30 | "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json", 31 | "test": "echo \"Error: run tests from root\" && exit 1", 32 | "tsc": "tsc" 33 | }, 34 | "bugs": { 35 | "url": "https://github.com/actions/toolkit/issues" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const inherits = require('node:util').inherits 4 | const ReadableStream = require('node:stream').Readable 5 | 6 | function PartStream (opts) { 7 | ReadableStream.call(this, opts) 8 | } 9 | inherits(PartStream, ReadableStream) 10 | 11 | PartStream.prototype._read = function (n) {} 12 | 13 | module.exports = PartStream 14 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/@fastify/busboy/lib/utils/basename.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function basename (path) { 4 | if (typeof path !== 'string') { return '' } 5 | for (var i = path.length - 1; i >= 0; --i) { // eslint-disable-line no-var 6 | switch (path.charCodeAt(i)) { 7 | case 0x2F: // '/' 8 | case 0x5C: // '\' 9 | path = path.slice(i + 1) 10 | return (path === '..' || path === '.' ? '' : path) 11 | } 12 | } 13 | return (path === '..' || path === '.' ? '' : path) 14 | } 15 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/@fastify/busboy/lib/utils/getLimit.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function getLimit (limits, name, defaultLimit) { 4 | if ( 5 | !limits || 6 | limits[name] === undefined || 7 | limits[name] === null 8 | ) { return defaultLimit } 9 | 10 | if ( 11 | typeof limits[name] !== 'number' || 12 | isNaN(limits[name]) 13 | ) { throw new TypeError('Limit ' + name + ' is not a valid number') } 14 | 15 | return limits[name] 16 | } 17 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/classes/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | SemVer: require('./semver.js'), 3 | Range: require('./range.js'), 4 | Comparator: require('./comparator.js'), 5 | } 6 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/clean.js: -------------------------------------------------------------------------------- 1 | const parse = require('./parse') 2 | const clean = (version, options) => { 3 | const s = parse(version.trim().replace(/^[=v]+/, ''), options) 4 | return s ? s.version : null 5 | } 6 | module.exports = clean 7 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/compare-build.js: -------------------------------------------------------------------------------- 1 | const SemVer = require('../classes/semver') 2 | const compareBuild = (a, b, loose) => { 3 | const versionA = new SemVer(a, loose) 4 | const versionB = new SemVer(b, loose) 5 | return versionA.compare(versionB) || versionA.compareBuild(versionB) 6 | } 7 | module.exports = compareBuild 8 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/compare-loose.js: -------------------------------------------------------------------------------- 1 | const compare = require('./compare') 2 | const compareLoose = (a, b) => compare(a, b, true) 3 | module.exports = compareLoose 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/compare.js: -------------------------------------------------------------------------------- 1 | const SemVer = require('../classes/semver') 2 | const compare = (a, b, loose) => 3 | new SemVer(a, loose).compare(new SemVer(b, loose)) 4 | 5 | module.exports = compare 6 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/eq.js: -------------------------------------------------------------------------------- 1 | const compare = require('./compare') 2 | const eq = (a, b, loose) => compare(a, b, loose) === 0 3 | module.exports = eq 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/gt.js: -------------------------------------------------------------------------------- 1 | const compare = require('./compare') 2 | const gt = (a, b, loose) => compare(a, b, loose) > 0 3 | module.exports = gt 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/gte.js: -------------------------------------------------------------------------------- 1 | const compare = require('./compare') 2 | const gte = (a, b, loose) => compare(a, b, loose) >= 0 3 | module.exports = gte 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/inc.js: -------------------------------------------------------------------------------- 1 | const SemVer = require('../classes/semver') 2 | 3 | const inc = (version, release, options, identifier, identifierBase) => { 4 | if (typeof (options) === 'string') { 5 | identifierBase = identifier 6 | identifier = options 7 | options = undefined 8 | } 9 | 10 | try { 11 | return new SemVer( 12 | version instanceof SemVer ? version.version : version, 13 | options 14 | ).inc(release, identifier, identifierBase).version 15 | } catch (er) { 16 | return null 17 | } 18 | } 19 | module.exports = inc 20 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/lt.js: -------------------------------------------------------------------------------- 1 | const compare = require('./compare') 2 | const lt = (a, b, loose) => compare(a, b, loose) < 0 3 | module.exports = lt 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/lte.js: -------------------------------------------------------------------------------- 1 | const compare = require('./compare') 2 | const lte = (a, b, loose) => compare(a, b, loose) <= 0 3 | module.exports = lte 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/major.js: -------------------------------------------------------------------------------- 1 | const SemVer = require('../classes/semver') 2 | const major = (a, loose) => new SemVer(a, loose).major 3 | module.exports = major 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/minor.js: -------------------------------------------------------------------------------- 1 | const SemVer = require('../classes/semver') 2 | const minor = (a, loose) => new SemVer(a, loose).minor 3 | module.exports = minor 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/neq.js: -------------------------------------------------------------------------------- 1 | const compare = require('./compare') 2 | const neq = (a, b, loose) => compare(a, b, loose) !== 0 3 | module.exports = neq 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/parse.js: -------------------------------------------------------------------------------- 1 | const SemVer = require('../classes/semver') 2 | const parse = (version, options, throwErrors = false) => { 3 | if (version instanceof SemVer) { 4 | return version 5 | } 6 | try { 7 | return new SemVer(version, options) 8 | } catch (er) { 9 | if (!throwErrors) { 10 | return null 11 | } 12 | throw er 13 | } 14 | } 15 | 16 | module.exports = parse 17 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/patch.js: -------------------------------------------------------------------------------- 1 | const SemVer = require('../classes/semver') 2 | const patch = (a, loose) => new SemVer(a, loose).patch 3 | module.exports = patch 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/prerelease.js: -------------------------------------------------------------------------------- 1 | const parse = require('./parse') 2 | const prerelease = (version, options) => { 3 | const parsed = parse(version, options) 4 | return (parsed && parsed.prerelease.length) ? parsed.prerelease : null 5 | } 6 | module.exports = prerelease 7 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/rcompare.js: -------------------------------------------------------------------------------- 1 | const compare = require('./compare') 2 | const rcompare = (a, b, loose) => compare(b, a, loose) 3 | module.exports = rcompare 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/rsort.js: -------------------------------------------------------------------------------- 1 | const compareBuild = require('./compare-build') 2 | const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose)) 3 | module.exports = rsort 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/satisfies.js: -------------------------------------------------------------------------------- 1 | const Range = require('../classes/range') 2 | const satisfies = (version, range, options) => { 3 | try { 4 | range = new Range(range, options) 5 | } catch (er) { 6 | return false 7 | } 8 | return range.test(version) 9 | } 10 | module.exports = satisfies 11 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/sort.js: -------------------------------------------------------------------------------- 1 | const compareBuild = require('./compare-build') 2 | const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose)) 3 | module.exports = sort 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/functions/valid.js: -------------------------------------------------------------------------------- 1 | const parse = require('./parse') 2 | const valid = (version, options) => { 3 | const v = parse(version, options) 4 | return v ? v.version : null 5 | } 6 | module.exports = valid 7 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/internal/constants.js: -------------------------------------------------------------------------------- 1 | // Note: this is the semver.org version of the spec that it implements 2 | // Not necessarily the package version of this code. 3 | const SEMVER_SPEC_VERSION = '2.0.0' 4 | 5 | const MAX_LENGTH = 256 6 | const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 7 | /* istanbul ignore next */ 9007199254740991 8 | 9 | // Max safe segment length for coercion. 10 | const MAX_SAFE_COMPONENT_LENGTH = 16 11 | 12 | // Max safe length for a build identifier. The max length minus 6 characters for 13 | // the shortest version with a build 0.0.0+BUILD. 14 | const MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6 15 | 16 | const RELEASE_TYPES = [ 17 | 'major', 18 | 'premajor', 19 | 'minor', 20 | 'preminor', 21 | 'patch', 22 | 'prepatch', 23 | 'prerelease', 24 | ] 25 | 26 | module.exports = { 27 | MAX_LENGTH, 28 | MAX_SAFE_COMPONENT_LENGTH, 29 | MAX_SAFE_BUILD_LENGTH, 30 | MAX_SAFE_INTEGER, 31 | RELEASE_TYPES, 32 | SEMVER_SPEC_VERSION, 33 | FLAG_INCLUDE_PRERELEASE: 0b001, 34 | FLAG_LOOSE: 0b010, 35 | } 36 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/internal/debug.js: -------------------------------------------------------------------------------- 1 | const debug = ( 2 | typeof process === 'object' && 3 | process.env && 4 | process.env.NODE_DEBUG && 5 | /\bsemver\b/i.test(process.env.NODE_DEBUG) 6 | ) ? (...args) => console.error('SEMVER', ...args) 7 | : () => {} 8 | 9 | module.exports = debug 10 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/internal/identifiers.js: -------------------------------------------------------------------------------- 1 | const numeric = /^[0-9]+$/ 2 | const compareIdentifiers = (a, b) => { 3 | const anum = numeric.test(a) 4 | const bnum = numeric.test(b) 5 | 6 | if (anum && bnum) { 7 | a = +a 8 | b = +b 9 | } 10 | 11 | return a === b ? 0 12 | : (anum && !bnum) ? -1 13 | : (bnum && !anum) ? 1 14 | : a < b ? -1 15 | : 1 16 | } 17 | 18 | const rcompareIdentifiers = (a, b) => compareIdentifiers(b, a) 19 | 20 | module.exports = { 21 | compareIdentifiers, 22 | rcompareIdentifiers, 23 | } 24 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/internal/lrucache.js: -------------------------------------------------------------------------------- 1 | class LRUCache { 2 | constructor () { 3 | this.max = 1000 4 | this.map = new Map() 5 | } 6 | 7 | get (key) { 8 | const value = this.map.get(key) 9 | if (value === undefined) { 10 | return undefined 11 | } else { 12 | // Remove the key from the map and add it to the end 13 | this.map.delete(key) 14 | this.map.set(key, value) 15 | return value 16 | } 17 | } 18 | 19 | delete (key) { 20 | return this.map.delete(key) 21 | } 22 | 23 | set (key, value) { 24 | const deleted = this.delete(key) 25 | 26 | if (!deleted && value !== undefined) { 27 | // If cache is full, delete the least recently used item 28 | if (this.map.size >= this.max) { 29 | const firstKey = this.map.keys().next().value 30 | this.delete(firstKey) 31 | } 32 | 33 | this.map.set(key, value) 34 | } 35 | 36 | return this 37 | } 38 | } 39 | 40 | module.exports = LRUCache 41 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/internal/parse-options.js: -------------------------------------------------------------------------------- 1 | // parse out just the options we care about 2 | const looseOption = Object.freeze({ loose: true }) 3 | const emptyOpts = Object.freeze({ }) 4 | const parseOptions = options => { 5 | if (!options) { 6 | return emptyOpts 7 | } 8 | 9 | if (typeof options !== 'object') { 10 | return looseOption 11 | } 12 | 13 | return options 14 | } 15 | module.exports = parseOptions 16 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/preload.js: -------------------------------------------------------------------------------- 1 | // XXX remove in v8 or beyond 2 | module.exports = require('./index.js') 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/range.bnf: -------------------------------------------------------------------------------- 1 | range-set ::= range ( logical-or range ) * 2 | logical-or ::= ( ' ' ) * '||' ( ' ' ) * 3 | range ::= hyphen | simple ( ' ' simple ) * | '' 4 | hyphen ::= partial ' - ' partial 5 | simple ::= primitive | partial | tilde | caret 6 | primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial 7 | partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )? 8 | xr ::= 'x' | 'X' | '*' | nr 9 | nr ::= '0' | [1-9] ( [0-9] ) * 10 | tilde ::= '~' partial 11 | caret ::= '^' partial 12 | qualifier ::= ( '-' pre )? ( '+' build )? 13 | pre ::= parts 14 | build ::= parts 15 | parts ::= part ( '.' part ) * 16 | part ::= nr | [-0-9A-Za-z]+ 17 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/ranges/gtr.js: -------------------------------------------------------------------------------- 1 | // Determine if version is greater than all the versions possible in the range. 2 | const outside = require('./outside') 3 | const gtr = (version, range, options) => outside(version, range, '>', options) 4 | module.exports = gtr 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/ranges/intersects.js: -------------------------------------------------------------------------------- 1 | const Range = require('../classes/range') 2 | const intersects = (r1, r2, options) => { 3 | r1 = new Range(r1, options) 4 | r2 = new Range(r2, options) 5 | return r1.intersects(r2, options) 6 | } 7 | module.exports = intersects 8 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/ranges/ltr.js: -------------------------------------------------------------------------------- 1 | const outside = require('./outside') 2 | // Determine if version is less than all the versions possible in the range 3 | const ltr = (version, range, options) => outside(version, range, '<', options) 4 | module.exports = ltr 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/ranges/max-satisfying.js: -------------------------------------------------------------------------------- 1 | const SemVer = require('../classes/semver') 2 | const Range = require('../classes/range') 3 | 4 | const maxSatisfying = (versions, range, options) => { 5 | let max = null 6 | let maxSV = null 7 | let rangeObj = null 8 | try { 9 | rangeObj = new Range(range, options) 10 | } catch (er) { 11 | return null 12 | } 13 | versions.forEach((v) => { 14 | if (rangeObj.test(v)) { 15 | // satisfies(v, range, options) 16 | if (!max || maxSV.compare(v) === -1) { 17 | // compare(max, v, true) 18 | max = v 19 | maxSV = new SemVer(max, options) 20 | } 21 | } 22 | }) 23 | return max 24 | } 25 | module.exports = maxSatisfying 26 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/ranges/min-satisfying.js: -------------------------------------------------------------------------------- 1 | const SemVer = require('../classes/semver') 2 | const Range = require('../classes/range') 3 | const minSatisfying = (versions, range, options) => { 4 | let min = null 5 | let minSV = null 6 | let rangeObj = null 7 | try { 8 | rangeObj = new Range(range, options) 9 | } catch (er) { 10 | return null 11 | } 12 | versions.forEach((v) => { 13 | if (rangeObj.test(v)) { 14 | // satisfies(v, range, options) 15 | if (!min || minSV.compare(v) === 1) { 16 | // compare(min, v, true) 17 | min = v 18 | minSV = new SemVer(min, options) 19 | } 20 | } 21 | }) 22 | return min 23 | } 24 | module.exports = minSatisfying 25 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/ranges/to-comparators.js: -------------------------------------------------------------------------------- 1 | const Range = require('../classes/range') 2 | 3 | // Mostly just for testing and legacy API reasons 4 | const toComparators = (range, options) => 5 | new Range(range, options).set 6 | .map(comp => comp.map(c => c.value).join(' ').trim().split(' ')) 7 | 8 | module.exports = toComparators 9 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/semver/ranges/valid.js: -------------------------------------------------------------------------------- 1 | const Range = require('../classes/range') 2 | const validRange = (range, options) => { 3 | try { 4 | // Return '*' instead of '' so that truthiness works. 5 | // This will throw if it's invalid anyway 6 | return new Range(range, options).range || '*' 7 | } catch (er) { 8 | return null 9 | } 10 | } 11 | module.exports = validRange 12 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/tunnel/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "6" 5 | - "8" 6 | - "10" 7 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/tunnel/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | - 0.0.6 (2018/09/11) 4 | - Fix `localAddress` not working (#25) 5 | - Fix `Host:` header for CONNECT method by @tmurakam (#29, #30) 6 | - Fix default port for https (#32) 7 | - Fix error handling when the proxy send illegal response body (#33) 8 | 9 | - 0.0.5 (2017/06/12) 10 | - Fix socket leak. 11 | 12 | - 0.0.4 (2016/01/23) 13 | - supported Node v0.12 or later. 14 | 15 | - 0.0.3 (2014/01/20) 16 | - fixed package.json 17 | 18 | - 0.0.1 (2012/02/18) 19 | - supported Node v0.6.x (0.6.11 or later). 20 | 21 | - 0.0.0 (2012/02/11) 22 | - first release. 23 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/tunnel/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/tunnel'); 2 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/tunnel/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tunnel", 3 | "version": "0.0.6", 4 | "description": "Node HTTP/HTTPS Agents for tunneling proxies", 5 | "keywords": [ 6 | "http", 7 | "https", 8 | "agent", 9 | "proxy", 10 | "tunnel" 11 | ], 12 | "homepage": "https://github.com/koichik/node-tunnel/", 13 | "bugs": "https://github.com/koichik/node-tunnel/issues", 14 | "license": "MIT", 15 | "author": "Koichi Kobayashi ", 16 | "main": "./index.js", 17 | "directories": { 18 | "lib": "./lib" 19 | }, 20 | "repository": { 21 | "type": "git", 22 | "url": "https://github.com/koichik/node-tunnel.git" 23 | }, 24 | "scripts": { 25 | "test": "mocha" 26 | }, 27 | "devDependencies": { 28 | "mocha": "^5.2.0", 29 | "should": "^13.2.3" 30 | }, 31 | "engines": { 32 | "node": ">=0.6.11 <=0.7.0 || >=0.7.3" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/docs/api/MockErrors.md: -------------------------------------------------------------------------------- 1 | # MockErrors 2 | 3 | Undici exposes a variety of mock error objects that you can use to enhance your mock error handling. 4 | You can find all the mock error objects inside the `mockErrors` key. 5 | 6 | ```js 7 | import { mockErrors } from 'undici' 8 | ``` 9 | 10 | | Mock Error | Mock Error Codes | Description | 11 | | --------------------- | ------------------------------- | ---------------------------------------------------------- | 12 | | `MockNotMatchedError` | `UND_MOCK_ERR_MOCK_NOT_MATCHED` | The request does not match any registered mock dispatches. | 13 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/docs/api/PoolStats.md: -------------------------------------------------------------------------------- 1 | # Class: PoolStats 2 | 3 | Aggregate stats for a [Pool](Pool.md) or [BalancedPool](BalancedPool.md). 4 | 5 | ## `new PoolStats(pool)` 6 | 7 | Arguments: 8 | 9 | * **pool** `Pool` - Pool or BalancedPool from which to return stats. 10 | 11 | ## Instance Properties 12 | 13 | ### `PoolStats.connected` 14 | 15 | Number of open socket connections in this pool. 16 | 17 | ### `PoolStats.free` 18 | 19 | Number of open socket connections in this pool that do not have an active request. 20 | 21 | ### `PoolStats.pending` 22 | 23 | Number of pending requests across all clients in this pool. 24 | 25 | ### `PoolStats.queued` 26 | 27 | Number of queued requests across all clients in this pool. 28 | 29 | ### `PoolStats.running` 30 | 31 | Number of currently active requests across all clients in this pool. 32 | 33 | ### `PoolStats.size` 34 | 35 | Number of active, pending, or queued requests across all clients in this pool. 36 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/docs/assets/lifecycle-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/action/fc31378f033e820ab1332a32e99788974e1b98ca/.github/actions/prepare-node-test-matrix-action/node_modules/undici/docs/assets/lifecycle-diagram.png -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/docs/best-practices/writing-tests.md: -------------------------------------------------------------------------------- 1 | # Writing tests 2 | 3 | Undici is tuned for a production use case and its default will keep 4 | a socket open for a few seconds after an HTTP request is completed to 5 | remove the overhead of opening up a new socket. These settings that makes 6 | Undici shine in production are not a good fit for using Undici in automated 7 | tests, as it will result in longer execution times. 8 | 9 | The following are good defaults that will keep the socket open for only 10ms: 10 | 11 | ```js 12 | import { request, setGlobalDispatcher, Agent } from 'undici' 13 | 14 | const agent = new Agent({ 15 | keepAliveTimeout: 10, // milliseconds 16 | keepAliveMaxTimeout: 10 // milliseconds 17 | }) 18 | 19 | setGlobalDispatcher(agent) 20 | ``` 21 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/index-fetch.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fetchImpl = require('./lib/fetch').fetch 4 | 5 | module.exports.fetch = function fetch (resource, init = undefined) { 6 | return fetchImpl(resource, init).catch((err) => { 7 | Error.captureStackTrace(err, this) 8 | throw err 9 | }) 10 | } 11 | module.exports.FormData = require('./lib/fetch/formdata').FormData 12 | module.exports.Headers = require('./lib/fetch/headers').Headers 13 | module.exports.Response = require('./lib/fetch/response').Response 14 | module.exports.Request = require('./lib/fetch/request').Request 15 | module.exports.WebSocket = require('./lib/websocket/websocket').WebSocket 16 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './types/index' 2 | import Undici from './types/index' 3 | export default Undici 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/api/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports.request = require('./api-request') 4 | module.exports.stream = require('./api-stream') 5 | module.exports.pipeline = require('./api-pipeline') 6 | module.exports.upgrade = require('./api-upgrade') 7 | module.exports.connect = require('./api-connect') 8 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/cache/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kConstruct: require('../core/symbols').kConstruct 5 | } 6 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/cookies/constants.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // https://wicg.github.io/cookie-store/#cookie-maximum-attribute-value-size 4 | const maxAttributeValueSize = 1024 5 | 6 | // https://wicg.github.io/cookie-store/#cookie-maximum-name-value-pair-size 7 | const maxNameValuePairSize = 4096 8 | 9 | module.exports = { 10 | maxAttributeValueSize, 11 | maxNameValuePairSize 12 | } 13 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/dispatcher.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const EventEmitter = require('events') 4 | 5 | class Dispatcher extends EventEmitter { 6 | dispatch () { 7 | throw new Error('not implemented') 8 | } 9 | 10 | close () { 11 | throw new Error('not implemented') 12 | } 13 | 14 | destroy () { 15 | throw new Error('not implemented') 16 | } 17 | } 18 | 19 | module.exports = Dispatcher 20 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/fetch/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kUrl: Symbol('url'), 5 | kHeaders: Symbol('headers'), 6 | kSignal: Symbol('signal'), 7 | kState: Symbol('state'), 8 | kGuard: Symbol('guard'), 9 | kRealm: Symbol('realm') 10 | } 11 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/fileapi/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kState: Symbol('FileReader state'), 5 | kResult: Symbol('FileReader result'), 6 | kError: Symbol('FileReader error'), 7 | kLastProgressEventFired: Symbol('FileReader last progress event fired timestamp'), 8 | kEvents: Symbol('FileReader events'), 9 | kAborted: Symbol('FileReader aborted') 10 | } 11 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/global.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // We include a version number for the Dispatcher API. In case of breaking changes, 4 | // this version number must be increased to avoid conflicts. 5 | const globalDispatcher = Symbol.for('undici.globalDispatcher.1') 6 | const { InvalidArgumentError } = require('./core/errors') 7 | const Agent = require('./agent') 8 | 9 | if (getGlobalDispatcher() === undefined) { 10 | setGlobalDispatcher(new Agent()) 11 | } 12 | 13 | function setGlobalDispatcher (agent) { 14 | if (!agent || typeof agent.dispatch !== 'function') { 15 | throw new InvalidArgumentError('Argument agent must implement Agent') 16 | } 17 | Object.defineProperty(globalThis, globalDispatcher, { 18 | value: agent, 19 | writable: true, 20 | enumerable: false, 21 | configurable: false 22 | }) 23 | } 24 | 25 | function getGlobalDispatcher () { 26 | return globalThis[globalDispatcher] 27 | } 28 | 29 | module.exports = { 30 | setGlobalDispatcher, 31 | getGlobalDispatcher 32 | } 33 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/handler/DecoratorHandler.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = class DecoratorHandler { 4 | constructor (handler) { 5 | this.handler = handler 6 | } 7 | 8 | onConnect (...args) { 9 | return this.handler.onConnect(...args) 10 | } 11 | 12 | onError (...args) { 13 | return this.handler.onError(...args) 14 | } 15 | 16 | onUpgrade (...args) { 17 | return this.handler.onUpgrade(...args) 18 | } 19 | 20 | onHeaders (...args) { 21 | return this.handler.onHeaders(...args) 22 | } 23 | 24 | onData (...args) { 25 | return this.handler.onData(...args) 26 | } 27 | 28 | onComplete (...args) { 29 | return this.handler.onComplete(...args) 30 | } 31 | 32 | onBodySent (...args) { 33 | return this.handler.onBodySent(...args) 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/interceptor/redirectInterceptor.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const RedirectHandler = require('../handler/RedirectHandler') 4 | 5 | function createRedirectInterceptor ({ maxRedirections: defaultMaxRedirections }) { 6 | return (dispatch) => { 7 | return function Intercept (opts, handler) { 8 | const { maxRedirections = defaultMaxRedirections } = opts 9 | 10 | if (!maxRedirections) { 11 | return dispatch(opts, handler) 12 | } 13 | 14 | const redirectHandler = new RedirectHandler(dispatch, maxRedirections, opts, handler) 15 | opts = { ...opts, maxRedirections: 0 } // Stop sub dispatcher from also redirecting. 16 | return dispatch(opts, redirectHandler) 17 | } 18 | } 19 | } 20 | 21 | module.exports = createRedirectInterceptor 22 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/llhttp/llhttp.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/action/fc31378f033e820ab1332a32e99788974e1b98ca/.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/llhttp/llhttp.wasm -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/llhttp/llhttp_simd.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgjs/action/fc31378f033e820ab1332a32e99788974e1b98ca/.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/llhttp/llhttp_simd.wasm -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/llhttp/utils.d.ts: -------------------------------------------------------------------------------- 1 | export interface IEnumMap { 2 | [key: string]: number; 3 | } 4 | export declare function enumToMap(obj: any): IEnumMap; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/llhttp/utils.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.enumToMap = void 0; 4 | function enumToMap(obj) { 5 | const res = {}; 6 | Object.keys(obj).forEach((key) => { 7 | const value = obj[key]; 8 | if (typeof value === 'number') { 9 | res[key] = value; 10 | } 11 | }); 12 | return res; 13 | } 14 | exports.enumToMap = enumToMap; 15 | //# sourceMappingURL=utils.js.map -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/llhttp/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/llhttp/utils.ts"],"names":[],"mappings":";;;AAIA,SAAgB,SAAS,CAAC,GAAQ;IAChC,MAAM,GAAG,GAAa,EAAE,CAAC;IAEzB,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;QAC/B,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;QACvB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAClB;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,GAAG,CAAC;AACb,CAAC;AAXD,8BAWC"} -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/llhttp/wasm_build_env.txt: -------------------------------------------------------------------------------- 1 | alpine-baselayout-data-3.4.0-r0 2 | musl-1.2.3-r4 3 | busybox-1.35.0-r29 4 | busybox-binsh-1.35.0-r29 5 | alpine-baselayout-3.4.0-r0 6 | alpine-keys-2.4-r1 7 | ca-certificates-bundle-20220614-r4 8 | libcrypto3-3.0.8-r3 9 | libssl3-3.0.8-r3 10 | ssl_client-1.35.0-r29 11 | zlib-1.2.13-r0 12 | apk-tools-2.12.10-r1 13 | scanelf-1.3.5-r1 14 | musl-utils-1.2.3-r4 15 | libc-utils-0.7.2-r3 16 | libgcc-12.2.1_git20220924-r4 17 | libstdc++-12.2.1_git20220924-r4 18 | libffi-3.4.4-r0 19 | xz-libs-5.2.9-r0 20 | libxml2-2.10.4-r0 21 | zstd-libs-1.5.5-r0 22 | llvm15-libs-15.0.7-r0 23 | clang15-libs-15.0.7-r0 24 | libstdc++-dev-12.2.1_git20220924-r4 25 | clang15-15.0.7-r0 26 | lld-libs-15.0.7-r0 27 | lld-15.0.7-r0 28 | wasi-libc-0.20220525-r1 29 | wasi-libcxx-15.0.7-r0 30 | wasi-libcxxabi-15.0.7-r0 31 | wasi-compiler-rt-15.0.7-r0 32 | wasi-sdk-16-r0 33 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/mock/mock-errors.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const { UndiciError } = require('../core/errors') 4 | 5 | class MockNotMatchedError extends UndiciError { 6 | constructor (message) { 7 | super(message) 8 | Error.captureStackTrace(this, MockNotMatchedError) 9 | this.name = 'MockNotMatchedError' 10 | this.message = message || 'The request does not match any registered mock dispatches' 11 | this.code = 'UND_MOCK_ERR_MOCK_NOT_MATCHED' 12 | } 13 | } 14 | 15 | module.exports = { 16 | MockNotMatchedError 17 | } 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/mock/mock-symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kAgent: Symbol('agent'), 5 | kOptions: Symbol('options'), 6 | kFactory: Symbol('factory'), 7 | kDispatches: Symbol('dispatches'), 8 | kDispatchKey: Symbol('dispatch key'), 9 | kDefaultHeaders: Symbol('default headers'), 10 | kDefaultTrailers: Symbol('default trailers'), 11 | kContentLength: Symbol('content length'), 12 | kMockAgent: Symbol('mock agent'), 13 | kMockAgentSet: Symbol('mock agent set'), 14 | kMockAgentGet: Symbol('mock agent get'), 15 | kMockDispatch: Symbol('mock dispatch'), 16 | kClose: Symbol('close'), 17 | kOriginalClose: Symbol('original agent close'), 18 | kOrigin: Symbol('origin'), 19 | kIsMockActive: Symbol('is mock active'), 20 | kNetConnect: Symbol('net connect'), 21 | kGetNetConnect: Symbol('get net connect'), 22 | kConnected: Symbol('connected') 23 | } 24 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/mock/pluralizer.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const singulars = { 4 | pronoun: 'it', 5 | is: 'is', 6 | was: 'was', 7 | this: 'this' 8 | } 9 | 10 | const plurals = { 11 | pronoun: 'they', 12 | is: 'are', 13 | was: 'were', 14 | this: 'these' 15 | } 16 | 17 | module.exports = class Pluralizer { 18 | constructor (singular, plural) { 19 | this.singular = singular 20 | this.plural = plural 21 | } 22 | 23 | pluralize (count) { 24 | const one = count === 1 25 | const keys = one ? singulars : plurals 26 | const noun = one ? this.singular : this.plural 27 | return { ...keys, count, noun } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/pool-stats.js: -------------------------------------------------------------------------------- 1 | const { kFree, kConnected, kPending, kQueued, kRunning, kSize } = require('./core/symbols') 2 | const kPool = Symbol('pool') 3 | 4 | class PoolStats { 5 | constructor (pool) { 6 | this[kPool] = pool 7 | } 8 | 9 | get connected () { 10 | return this[kPool][kConnected] 11 | } 12 | 13 | get free () { 14 | return this[kPool][kFree] 15 | } 16 | 17 | get pending () { 18 | return this[kPool][kPending] 19 | } 20 | 21 | get queued () { 22 | return this[kPool][kQueued] 23 | } 24 | 25 | get running () { 26 | return this[kPool][kRunning] 27 | } 28 | 29 | get size () { 30 | return this[kPool][kSize] 31 | } 32 | } 33 | 34 | module.exports = PoolStats 35 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/lib/websocket/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kWebSocketURL: Symbol('url'), 5 | kReadyState: Symbol('ready state'), 6 | kController: Symbol('controller'), 7 | kResponse: Symbol('response'), 8 | kBinaryType: Symbol('binary type'), 9 | kSentClose: Symbol('sent close'), 10 | kReceivedClose: Symbol('received close'), 11 | kByteParser: Symbol('byte parser') 12 | } 13 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/types/README.md: -------------------------------------------------------------------------------- 1 | # undici-types 2 | 3 | This package is a dual-publish of the [undici](https://www.npmjs.com/package/undici) library types. The `undici` package **still contains types**. This package is for users who _only_ need undici types (such as for `@types/node`). It is published alongside every release of `undici`, so you can always use the same version. 4 | 5 | - [GitHub nodejs/undici](https://github.com/nodejs/undici) 6 | - [Undici Documentation](https://undici.nodejs.org/#/) 7 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/types/balanced-pool.d.ts: -------------------------------------------------------------------------------- 1 | import Pool from './pool' 2 | import Dispatcher from './dispatcher' 3 | import { URL } from 'url' 4 | 5 | export default BalancedPool 6 | 7 | declare class BalancedPool extends Dispatcher { 8 | constructor(url: string | string[] | URL | URL[], options?: Pool.Options); 9 | 10 | addUpstream(upstream: string | URL): BalancedPool; 11 | removeUpstream(upstream: string | URL): BalancedPool; 12 | upstreams: Array; 13 | 14 | /** `true` after `pool.close()` has been called. */ 15 | closed: boolean; 16 | /** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */ 17 | destroyed: boolean; 18 | } 19 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/types/content-type.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | interface MIMEType { 4 | type: string 5 | subtype: string 6 | parameters: Map 7 | essence: string 8 | } 9 | 10 | /** 11 | * Parse a string to a {@link MIMEType} object. Returns `failure` if the string 12 | * couldn't be parsed. 13 | * @see https://mimesniff.spec.whatwg.org/#parse-a-mime-type 14 | */ 15 | export function parseMIMEType (input: string): 'failure' | MIMEType 16 | 17 | /** 18 | * Convert a MIMEType object to a string. 19 | * @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type 20 | */ 21 | export function serializeAMimeType (mimeType: MIMEType): string 22 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/types/cookies.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | import type { Headers } from './fetch' 4 | 5 | export interface Cookie { 6 | name: string 7 | value: string 8 | expires?: Date | number 9 | maxAge?: number 10 | domain?: string 11 | path?: string 12 | secure?: boolean 13 | httpOnly?: boolean 14 | sameSite?: 'Strict' | 'Lax' | 'None' 15 | unparsed?: string[] 16 | } 17 | 18 | export function deleteCookie ( 19 | headers: Headers, 20 | name: string, 21 | attributes?: { name?: string, domain?: string } 22 | ): void 23 | 24 | export function getCookies (headers: Headers): Record 25 | 26 | export function getSetCookies (headers: Headers): Cookie[] 27 | 28 | export function setCookie (headers: Headers, cookie: Cookie): void 29 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/types/global-dispatcher.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | 3 | export { 4 | getGlobalDispatcher, 5 | setGlobalDispatcher 6 | } 7 | 8 | declare function setGlobalDispatcher(dispatcher: DispatcherImplementation): void; 9 | declare function getGlobalDispatcher(): Dispatcher; 10 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/types/global-origin.d.ts: -------------------------------------------------------------------------------- 1 | export { 2 | setGlobalOrigin, 3 | getGlobalOrigin 4 | } 5 | 6 | declare function setGlobalOrigin(origin: string | URL | undefined): void; 7 | declare function getGlobalOrigin(): URL | undefined; -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/types/handlers.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | 3 | export declare class RedirectHandler implements Dispatcher.DispatchHandlers{ 4 | constructor (dispatch: Dispatcher, maxRedirections: number, opts: Dispatcher.DispatchOptions, handler: Dispatcher.DispatchHandlers) 5 | } 6 | 7 | export declare class DecoratorHandler implements Dispatcher.DispatchHandlers{ 8 | constructor (handler: Dispatcher.DispatchHandlers) 9 | } 10 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/types/header.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * The header type declaration of `undici`. 3 | */ 4 | export type IncomingHttpHeaders = Record; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/types/interceptors.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | 3 | type RedirectInterceptorOpts = { maxRedirections?: number } 4 | 5 | export declare function createRedirectInterceptor (opts: RedirectInterceptorOpts): Dispatcher.DispatchInterceptor 6 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/types/mock-errors.d.ts: -------------------------------------------------------------------------------- 1 | import Errors from './errors' 2 | 3 | export default MockErrors 4 | 5 | declare namespace MockErrors { 6 | /** The request does not match any registered mock dispatches. */ 7 | export class MockNotMatchedError extends Errors.UndiciError { 8 | constructor(message?: string); 9 | name: 'MockNotMatchedError'; 10 | code: 'UND_MOCK_ERR_MOCK_NOT_MATCHED'; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/types/pool-stats.d.ts: -------------------------------------------------------------------------------- 1 | import Pool from "./pool" 2 | 3 | export default PoolStats 4 | 5 | declare class PoolStats { 6 | constructor(pool: Pool); 7 | /** Number of open socket connections in this pool. */ 8 | connected: number; 9 | /** Number of open socket connections in this pool that do not have an active request. */ 10 | free: number; 11 | /** Number of pending requests across all clients in this pool. */ 12 | pending: number; 13 | /** Number of queued requests across all clients in this pool. */ 14 | queued: number; 15 | /** Number of currently active requests across all clients in this pool. */ 16 | running: number; 17 | /** Number of active, pending, or queued requests across all clients in this pool. */ 18 | size: number; 19 | } 20 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/undici/types/proxy-agent.d.ts: -------------------------------------------------------------------------------- 1 | import Agent from './agent' 2 | import buildConnector from './connector'; 3 | import Client from './client' 4 | import Dispatcher from './dispatcher' 5 | import { IncomingHttpHeaders } from './header' 6 | import Pool from './pool' 7 | 8 | export default ProxyAgent 9 | 10 | declare class ProxyAgent extends Dispatcher { 11 | constructor(options: ProxyAgent.Options | string) 12 | 13 | dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean; 14 | close(): Promise; 15 | } 16 | 17 | declare namespace ProxyAgent { 18 | export interface Options extends Agent.Options { 19 | uri: string; 20 | /** 21 | * @deprecated use opts.token 22 | */ 23 | auth?: string; 24 | token?: string; 25 | headers?: IncomingHttpHeaders; 26 | requestTls?: buildConnector.BuildOptions; 27 | proxyTls?: buildConnector.BuildOptions; 28 | clientFactory?(origin: URL, opts: object): Dispatcher; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright Eemeli Aro 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any purpose 4 | with or without fee is hereby granted, provided that the above copyright notice 5 | and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 8 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 9 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 10 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 11 | OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 12 | TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF 13 | THIS SOFTWARE. 14 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/bin.mjs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | import { UserError, cli, help } from './dist/cli.mjs' 4 | 5 | cli(process.stdin, error => { 6 | if (error instanceof UserError) { 7 | if (error.code === UserError.ARGS) console.error(`${help}\n`) 8 | console.error(error.message) 9 | process.exitCode = error.code 10 | } else if (error) throw error 11 | }) 12 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js: -------------------------------------------------------------------------------- 1 | function emptyScalarPosition(offset, before, pos) { 2 | if (before) { 3 | if (pos === null) 4 | pos = before.length; 5 | for (let i = pos - 1; i >= 0; --i) { 6 | let st = before[i]; 7 | switch (st.type) { 8 | case 'space': 9 | case 'comment': 10 | case 'newline': 11 | offset -= st.source.length; 12 | continue; 13 | } 14 | // Technically, an empty scalar is immediately after the last non-empty 15 | // node, but it's more useful to place it after any whitespace. 16 | st = before[++i]; 17 | while (st?.type === 'space') { 18 | offset += st.source.length; 19 | st = before[++i]; 20 | } 21 | break; 22 | } 23 | } 24 | return offset; 25 | } 26 | 27 | export { emptyScalarPosition }; 28 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js: -------------------------------------------------------------------------------- 1 | import { containsNewline } from './util-contains-newline.js'; 2 | 3 | function flowIndentCheck(indent, fc, onError) { 4 | if (fc?.type === 'flow-collection') { 5 | const end = fc.end[0]; 6 | if (end.indent === indent && 7 | (end.source === ']' || end.source === '}') && 8 | containsNewline(fc)) { 9 | const msg = 'Flow end indicator should be more indented than parent'; 10 | onError(end, 'BAD_INDENT', msg, true); 11 | } 12 | } 13 | } 14 | 15 | export { flowIndentCheck }; 16 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/dist/compose/util-map-includes.js: -------------------------------------------------------------------------------- 1 | import { isScalar } from '../nodes/identity.js'; 2 | 3 | function mapIncludes(ctx, items, search) { 4 | const { uniqueKeys } = ctx.options; 5 | if (uniqueKeys === false) 6 | return false; 7 | const isEqual = typeof uniqueKeys === 'function' 8 | ? uniqueKeys 9 | : (a, b) => a === b || (isScalar(a) && isScalar(b) && a.value === b.value); 10 | return items.some(pair => isEqual(pair.key, search)); 11 | } 12 | 13 | export { mapIncludes }; 14 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/dist/index.js: -------------------------------------------------------------------------------- 1 | export { Composer } from './compose/composer.js'; 2 | export { Document } from './doc/Document.js'; 3 | export { Schema } from './schema/Schema.js'; 4 | export { YAMLError, YAMLParseError, YAMLWarning } from './errors.js'; 5 | export { Alias } from './nodes/Alias.js'; 6 | export { isAlias, isCollection, isDocument, isMap, isNode, isPair, isScalar, isSeq } from './nodes/identity.js'; 7 | export { Pair } from './nodes/Pair.js'; 8 | export { Scalar } from './nodes/Scalar.js'; 9 | export { YAMLMap } from './nodes/YAMLMap.js'; 10 | export { YAMLSeq } from './nodes/YAMLSeq.js'; 11 | import * as cst from './parse/cst.js'; 12 | export { cst as CST }; 13 | export { Lexer } from './parse/lexer.js'; 14 | export { LineCounter } from './parse/line-counter.js'; 15 | export { Parser } from './parse/parser.js'; 16 | export { parse, parseAllDocuments, parseDocument, stringify } from './public-api.js'; 17 | export { visit, visitAsync } from './visit.js'; 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/dist/log.js: -------------------------------------------------------------------------------- 1 | function debug(logLevel, ...messages) { 2 | if (logLevel === 'debug') 3 | console.log(...messages); 4 | } 5 | function warn(logLevel, warning) { 6 | if (logLevel === 'debug' || logLevel === 'warn') { 7 | console.warn(warning); 8 | } 9 | } 10 | 11 | export { debug, warn }; 12 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/dist/nodes/Scalar.js: -------------------------------------------------------------------------------- 1 | import { SCALAR } from './identity.js'; 2 | import { NodeBase } from './Node.js'; 3 | import { toJS } from './toJS.js'; 4 | 5 | const isScalarValue = (value) => !value || (typeof value !== 'function' && typeof value !== 'object'); 6 | class Scalar extends NodeBase { 7 | constructor(value) { 8 | super(SCALAR); 9 | this.value = value; 10 | } 11 | toJSON(arg, ctx) { 12 | return ctx?.keep ? this.value : toJS(this.value, arg, ctx); 13 | } 14 | toString() { 15 | return String(this.value); 16 | } 17 | } 18 | Scalar.BLOCK_FOLDED = 'BLOCK_FOLDED'; 19 | Scalar.BLOCK_LITERAL = 'BLOCK_LITERAL'; 20 | Scalar.PLAIN = 'PLAIN'; 21 | Scalar.QUOTE_DOUBLE = 'QUOTE_DOUBLE'; 22 | Scalar.QUOTE_SINGLE = 'QUOTE_SINGLE'; 23 | 24 | export { Scalar, isScalarValue }; 25 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/dist/schema/common/map.js: -------------------------------------------------------------------------------- 1 | import { isMap } from '../../nodes/identity.js'; 2 | import { YAMLMap } from '../../nodes/YAMLMap.js'; 3 | 4 | const map = { 5 | collection: 'map', 6 | default: true, 7 | nodeClass: YAMLMap, 8 | tag: 'tag:yaml.org,2002:map', 9 | resolve(map, onError) { 10 | if (!isMap(map)) 11 | onError('Expected a mapping for this tag'); 12 | return map; 13 | }, 14 | createNode: (schema, obj, ctx) => YAMLMap.from(schema, obj, ctx) 15 | }; 16 | 17 | export { map }; 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/dist/schema/common/null.js: -------------------------------------------------------------------------------- 1 | import { Scalar } from '../../nodes/Scalar.js'; 2 | 3 | const nullTag = { 4 | identify: value => value == null, 5 | createNode: () => new Scalar(null), 6 | default: true, 7 | tag: 'tag:yaml.org,2002:null', 8 | test: /^(?:~|[Nn]ull|NULL)?$/, 9 | resolve: () => new Scalar(null), 10 | stringify: ({ source }, ctx) => typeof source === 'string' && nullTag.test.test(source) 11 | ? source 12 | : ctx.options.nullStr 13 | }; 14 | 15 | export { nullTag }; 16 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/dist/schema/common/seq.js: -------------------------------------------------------------------------------- 1 | import { isSeq } from '../../nodes/identity.js'; 2 | import { YAMLSeq } from '../../nodes/YAMLSeq.js'; 3 | 4 | const seq = { 5 | collection: 'seq', 6 | default: true, 7 | nodeClass: YAMLSeq, 8 | tag: 'tag:yaml.org,2002:seq', 9 | resolve(seq, onError) { 10 | if (!isSeq(seq)) 11 | onError('Expected a sequence for this tag'); 12 | return seq; 13 | }, 14 | createNode: (schema, obj, ctx) => YAMLSeq.from(schema, obj, ctx) 15 | }; 16 | 17 | export { seq }; 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/dist/schema/common/string.js: -------------------------------------------------------------------------------- 1 | import { stringifyString } from '../../stringify/stringifyString.js'; 2 | 3 | const string = { 4 | identify: value => typeof value === 'string', 5 | default: true, 6 | tag: 'tag:yaml.org,2002:str', 7 | resolve: str => str, 8 | stringify(item, ctx, onComment, onChompKeep) { 9 | ctx = Object.assign({ actualString: true }, ctx); 10 | return stringifyString(item, ctx, onComment, onChompKeep); 11 | } 12 | }; 13 | 14 | export { string }; 15 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/dist/schema/core/bool.js: -------------------------------------------------------------------------------- 1 | import { Scalar } from '../../nodes/Scalar.js'; 2 | 3 | const boolTag = { 4 | identify: value => typeof value === 'boolean', 5 | default: true, 6 | tag: 'tag:yaml.org,2002:bool', 7 | test: /^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/, 8 | resolve: str => new Scalar(str[0] === 't' || str[0] === 'T'), 9 | stringify({ source, value }, ctx) { 10 | if (source && boolTag.test.test(source)) { 11 | const sv = source[0] === 't' || source[0] === 'T'; 12 | if (value === sv) 13 | return source; 14 | } 15 | return value ? ctx.options.trueStr : ctx.options.falseStr; 16 | } 17 | }; 18 | 19 | export { boolTag }; 20 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/dist/schema/core/schema.js: -------------------------------------------------------------------------------- 1 | import { map } from '../common/map.js'; 2 | import { nullTag } from '../common/null.js'; 3 | import { seq } from '../common/seq.js'; 4 | import { string } from '../common/string.js'; 5 | import { boolTag } from './bool.js'; 6 | import { floatNaN, floatExp, float } from './float.js'; 7 | import { intOct, int, intHex } from './int.js'; 8 | 9 | const schema = [ 10 | map, 11 | seq, 12 | string, 13 | nullTag, 14 | boolTag, 15 | intOct, 16 | int, 17 | intHex, 18 | floatNaN, 19 | floatExp, 20 | float 21 | ]; 22 | 23 | export { schema }; 24 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js: -------------------------------------------------------------------------------- 1 | import { Scalar } from '../../nodes/Scalar.js'; 2 | 3 | function boolStringify({ value, source }, ctx) { 4 | const boolObj = value ? trueTag : falseTag; 5 | if (source && boolObj.test.test(source)) 6 | return source; 7 | return value ? ctx.options.trueStr : ctx.options.falseStr; 8 | } 9 | const trueTag = { 10 | identify: value => value === true, 11 | default: true, 12 | tag: 'tag:yaml.org,2002:bool', 13 | test: /^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/, 14 | resolve: () => new Scalar(true), 15 | stringify: boolStringify 16 | }; 17 | const falseTag = { 18 | identify: value => value === false, 19 | default: true, 20 | tag: 'tag:yaml.org,2002:bool', 21 | test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/, 22 | resolve: () => new Scalar(false), 23 | stringify: boolStringify 24 | }; 25 | 26 | export { falseTag, trueTag }; 27 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js: -------------------------------------------------------------------------------- 1 | import { map } from '../common/map.js'; 2 | import { nullTag } from '../common/null.js'; 3 | import { seq } from '../common/seq.js'; 4 | import { string } from '../common/string.js'; 5 | import { binary } from './binary.js'; 6 | import { trueTag, falseTag } from './bool.js'; 7 | import { floatNaN, floatExp, float } from './float.js'; 8 | import { intBin, intOct, int, intHex } from './int.js'; 9 | import { merge } from './merge.js'; 10 | import { omap } from './omap.js'; 11 | import { pairs } from './pairs.js'; 12 | import { set } from './set.js'; 13 | import { intTime, floatTime, timestamp } from './timestamp.js'; 14 | 15 | const schema = [ 16 | map, 17 | seq, 18 | string, 19 | nullTag, 20 | trueTag, 21 | falseTag, 22 | intBin, 23 | intOct, 24 | int, 25 | intHex, 26 | floatNaN, 27 | floatExp, 28 | float, 29 | binary, 30 | merge, 31 | omap, 32 | pairs, 33 | set, 34 | intTime, 35 | floatTime, 36 | timestamp 37 | ]; 38 | 39 | export { schema }; 40 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/dist/stringify/stringifyComment.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Stringifies a comment. 3 | * 4 | * Empty comment lines are left empty, 5 | * lines consisting of a single space are replaced by `#`, 6 | * and all other lines are prefixed with a `#`. 7 | */ 8 | const stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, '#'); 9 | function indentComment(comment, indent) { 10 | if (/^\n+$/.test(comment)) 11 | return comment.substring(1); 12 | return indent ? comment.replace(/^(?! *$)/gm, indent) : comment; 13 | } 14 | const lineComment = (str, indent, comment) => str.endsWith('\n') 15 | ? indentComment(comment, indent) 16 | : comment.includes('\n') 17 | ? '\n' + indentComment(comment, indent) 18 | : (str.endsWith(' ') ? '' : ' ') + comment; 19 | 20 | export { indentComment, lineComment, stringifyComment }; 21 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/dist/stringify/stringifyNumber.js: -------------------------------------------------------------------------------- 1 | function stringifyNumber({ format, minFractionDigits, tag, value }) { 2 | if (typeof value === 'bigint') 3 | return String(value); 4 | const num = typeof value === 'number' ? value : Number(value); 5 | if (!isFinite(num)) 6 | return isNaN(num) ? '.nan' : num < 0 ? '-.inf' : '.inf'; 7 | let n = JSON.stringify(value); 8 | if (!format && 9 | minFractionDigits && 10 | (!tag || tag === 'tag:yaml.org,2002:float') && 11 | /^\d/.test(n)) { 12 | let i = n.indexOf('.'); 13 | if (i < 0) { 14 | i = n.length; 15 | n += '.'; 16 | } 17 | let d = minFractionDigits - (n.length - i - 1); 18 | while (d-- > 0) 19 | n += '0'; 20 | } 21 | return n; 22 | } 23 | 24 | export { stringifyNumber }; 25 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/dist/util.js: -------------------------------------------------------------------------------- 1 | export { createNode } from './doc/createNode.js'; 2 | export { debug, warn } from './log.js'; 3 | export { createPair } from './nodes/Pair.js'; 4 | export { toJS } from './nodes/toJS.js'; 5 | export { findPair } from './nodes/YAMLMap.js'; 6 | export { map as mapTag } from './schema/common/map.js'; 7 | export { seq as seqTag } from './schema/common/seq.js'; 8 | export { string as stringTag } from './schema/common/string.js'; 9 | export { foldFlowLines } from './stringify/foldFlowLines.js'; 10 | export { stringifyNumber } from './stringify/stringifyNumber.js'; 11 | export { stringifyString } from './stringify/stringifyString.js'; 12 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/index.js: -------------------------------------------------------------------------------- 1 | // `export * as default from ...` fails on Webpack v4 2 | // https://github.com/eemeli/yaml/issues/228 3 | import * as YAML from './dist/index.js' 4 | export default YAML 5 | export * from './dist/index.js' 6 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/browser/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "module" 3 | } 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/compose/compose-collection.d.ts: -------------------------------------------------------------------------------- 1 | import type { ParsedNode } from '../nodes/Node'; 2 | import type { BlockMap, BlockSequence, FlowCollection, SourceToken } from '../parse/cst'; 3 | import type { ComposeContext, ComposeNode } from './compose-node'; 4 | import type { ComposeErrorHandler } from './composer'; 5 | interface Props { 6 | anchor: SourceToken | null; 7 | tag: SourceToken | null; 8 | newlineAfterProp: SourceToken | null; 9 | } 10 | export declare function composeCollection(CN: ComposeNode, ctx: ComposeContext, token: BlockMap | BlockSequence | FlowCollection, props: Props, onError: ComposeErrorHandler): ParsedNode; 11 | export {}; 12 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/compose/compose-doc.d.ts: -------------------------------------------------------------------------------- 1 | import type { Directives } from '../doc/directives'; 2 | import { Document } from '../doc/Document'; 3 | import type { ParsedNode } from '../nodes/Node'; 4 | import type { DocumentOptions, ParseOptions, SchemaOptions } from '../options'; 5 | import type * as CST from '../parse/cst'; 6 | import type { ComposeErrorHandler } from './composer'; 7 | export declare function composeDoc(options: ParseOptions & DocumentOptions & SchemaOptions, directives: Directives, { offset, start, value, end }: CST.Document, onError: ComposeErrorHandler): Document.Parsed; 8 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/compose/compose-scalar.d.ts: -------------------------------------------------------------------------------- 1 | import { Scalar } from '../nodes/Scalar'; 2 | import type { BlockScalar, FlowScalar, SourceToken } from '../parse/cst'; 3 | import type { ComposeContext } from './compose-node'; 4 | import type { ComposeErrorHandler } from './composer'; 5 | export declare function composeScalar(ctx: ComposeContext, token: FlowScalar | BlockScalar, tagToken: SourceToken | null, onError: ComposeErrorHandler): Scalar.Parsed; 6 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/compose/resolve-block-map.d.ts: -------------------------------------------------------------------------------- 1 | import { YAMLMap } from '../nodes/YAMLMap'; 2 | import type { BlockMap } from '../parse/cst'; 3 | import type { CollectionTag } from '../schema/types'; 4 | import type { ComposeContext, ComposeNode } from './compose-node'; 5 | import type { ComposeErrorHandler } from './composer'; 6 | export declare function resolveBlockMap({ composeNode, composeEmptyNode }: ComposeNode, ctx: ComposeContext, bm: BlockMap, onError: ComposeErrorHandler, tag?: CollectionTag): YAMLMap.Parsed; 7 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts: -------------------------------------------------------------------------------- 1 | import type { Range } from '../nodes/Node'; 2 | import { Scalar } from '../nodes/Scalar'; 3 | import type { BlockScalar } from '../parse/cst'; 4 | import type { ComposeContext } from './compose-node'; 5 | import type { ComposeErrorHandler } from './composer'; 6 | export declare function resolveBlockScalar(ctx: ComposeContext, scalar: BlockScalar, onError: ComposeErrorHandler): { 7 | value: string; 8 | type: Scalar.BLOCK_FOLDED | Scalar.BLOCK_LITERAL | null; 9 | comment: string; 10 | range: Range; 11 | }; 12 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/compose/resolve-block-seq.d.ts: -------------------------------------------------------------------------------- 1 | import { YAMLSeq } from '../nodes/YAMLSeq'; 2 | import type { BlockSequence } from '../parse/cst'; 3 | import type { CollectionTag } from '../schema/types'; 4 | import type { ComposeContext, ComposeNode } from './compose-node'; 5 | import type { ComposeErrorHandler } from './composer'; 6 | export declare function resolveBlockSeq({ composeNode, composeEmptyNode }: ComposeNode, ctx: ComposeContext, bs: BlockSequence, onError: ComposeErrorHandler, tag?: CollectionTag): YAMLSeq.Parsed; 7 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/compose/resolve-end.d.ts: -------------------------------------------------------------------------------- 1 | import type { SourceToken } from '../parse/cst'; 2 | import type { ComposeErrorHandler } from './composer'; 3 | export declare function resolveEnd(end: SourceToken[] | undefined, offset: number, reqSpace: boolean, onError: ComposeErrorHandler): { 4 | comment: string; 5 | offset: number; 6 | }; 7 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts: -------------------------------------------------------------------------------- 1 | import { YAMLMap } from '../nodes/YAMLMap'; 2 | import { YAMLSeq } from '../nodes/YAMLSeq'; 3 | import type { FlowCollection } from '../parse/cst'; 4 | import type { CollectionTag } from '../schema/types'; 5 | import type { ComposeContext, ComposeNode } from './compose-node'; 6 | import type { ComposeErrorHandler } from './composer'; 7 | export declare function resolveFlowCollection({ composeNode, composeEmptyNode }: ComposeNode, ctx: ComposeContext, fc: FlowCollection, onError: ComposeErrorHandler, tag?: CollectionTag): YAMLMap.Parsed | YAMLSeq.Parsed; 8 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts: -------------------------------------------------------------------------------- 1 | import type { Range } from '../nodes/Node'; 2 | import { Scalar } from '../nodes/Scalar'; 3 | import type { FlowScalar } from '../parse/cst'; 4 | import type { ComposeErrorHandler } from './composer'; 5 | export declare function resolveFlowScalar(scalar: FlowScalar, strict: boolean, onError: ComposeErrorHandler): { 6 | value: string; 7 | type: Scalar.PLAIN | Scalar.QUOTE_DOUBLE | Scalar.QUOTE_SINGLE | null; 8 | comment: string; 9 | range: Range; 10 | }; 11 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/compose/resolve-props.d.ts: -------------------------------------------------------------------------------- 1 | import type { SourceToken, Token } from '../parse/cst'; 2 | import type { ComposeErrorHandler } from './composer'; 3 | export interface ResolvePropsArg { 4 | flow?: 'flow map' | 'flow sequence'; 5 | indicator: 'doc-start' | 'explicit-key-ind' | 'map-value-ind' | 'seq-item-ind'; 6 | next: Token | null | undefined; 7 | offset: number; 8 | onError: ComposeErrorHandler; 9 | parentIndent: number; 10 | startOnNewline: boolean; 11 | } 12 | export declare function resolveProps(tokens: SourceToken[], { flow, indicator, next, offset, onError, parentIndent, startOnNewline }: ResolvePropsArg): { 13 | comma: SourceToken | null; 14 | found: SourceToken | null; 15 | spaceBefore: boolean; 16 | comment: string; 17 | hasNewline: boolean; 18 | anchor: SourceToken | null; 19 | tag: SourceToken | null; 20 | newlineAfterProp: SourceToken | null; 21 | end: number; 22 | start: number; 23 | }; 24 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/compose/util-contains-newline.d.ts: -------------------------------------------------------------------------------- 1 | import type { Token } from '../parse/cst'; 2 | export declare function containsNewline(key: Token | null | undefined): boolean | null; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts: -------------------------------------------------------------------------------- 1 | import type { Token } from '../parse/cst'; 2 | export declare function emptyScalarPosition(offset: number, before: Token[] | undefined, pos: number | null): number; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/compose/util-empty-scalar-position.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | function emptyScalarPosition(offset, before, pos) { 4 | if (before) { 5 | if (pos === null) 6 | pos = before.length; 7 | for (let i = pos - 1; i >= 0; --i) { 8 | let st = before[i]; 9 | switch (st.type) { 10 | case 'space': 11 | case 'comment': 12 | case 'newline': 13 | offset -= st.source.length; 14 | continue; 15 | } 16 | // Technically, an empty scalar is immediately after the last non-empty 17 | // node, but it's more useful to place it after any whitespace. 18 | st = before[++i]; 19 | while (st?.type === 'space') { 20 | offset += st.source.length; 21 | st = before[++i]; 22 | } 23 | break; 24 | } 25 | } 26 | return offset; 27 | } 28 | 29 | exports.emptyScalarPosition = emptyScalarPosition; 30 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts: -------------------------------------------------------------------------------- 1 | import type { Token } from '../parse/cst'; 2 | import type { ComposeErrorHandler } from './composer'; 3 | export declare function flowIndentCheck(indent: number, fc: Token | null | undefined, onError: ComposeErrorHandler): void; 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/compose/util-flow-indent-check.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var utilContainsNewline = require('./util-contains-newline.js'); 4 | 5 | function flowIndentCheck(indent, fc, onError) { 6 | if (fc?.type === 'flow-collection') { 7 | const end = fc.end[0]; 8 | if (end.indent === indent && 9 | (end.source === ']' || end.source === '}') && 10 | utilContainsNewline.containsNewline(fc)) { 11 | const msg = 'Flow end indicator should be more indented than parent'; 12 | onError(end, 'BAD_INDENT', msg, true); 13 | } 14 | } 15 | } 16 | 17 | exports.flowIndentCheck = flowIndentCheck; 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/compose/util-map-includes.d.ts: -------------------------------------------------------------------------------- 1 | import type { ParsedNode } from '../nodes/Node'; 2 | import type { Pair } from '../nodes/Pair'; 3 | import type { ComposeContext } from './compose-node'; 4 | export declare function mapIncludes(ctx: ComposeContext, items: Pair[], search: ParsedNode): boolean; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/compose/util-map-includes.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var identity = require('../nodes/identity.js'); 4 | 5 | function mapIncludes(ctx, items, search) { 6 | const { uniqueKeys } = ctx.options; 7 | if (uniqueKeys === false) 8 | return false; 9 | const isEqual = typeof uniqueKeys === 'function' 10 | ? uniqueKeys 11 | : (a, b) => a === b || (identity.isScalar(a) && identity.isScalar(b) && a.value === b.value); 12 | return items.some(pair => isEqual(pair.key, search)); 13 | } 14 | 15 | exports.mapIncludes = mapIncludes; 16 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/doc/applyReviver.d.ts: -------------------------------------------------------------------------------- 1 | export type Reviver = (key: unknown, value: unknown) => unknown; 2 | /** 3 | * Applies the JSON.parse reviver algorithm as defined in the ECMA-262 spec, 4 | * in section 24.5.1.1 "Runtime Semantics: InternalizeJSONProperty" of the 5 | * 2021 edition: https://tc39.es/ecma262/#sec-json.parse 6 | * 7 | * Includes extensions for handling Map and Set objects. 8 | */ 9 | export declare function applyReviver(reviver: Reviver, obj: unknown, key: unknown, val: any): unknown; 10 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/doc/createNode.d.ts: -------------------------------------------------------------------------------- 1 | import type { Node } from '../nodes/Node'; 2 | import type { Schema } from '../schema/Schema'; 3 | import type { CollectionTag, ScalarTag } from '../schema/types'; 4 | import type { Replacer } from './Document'; 5 | export interface CreateNodeContext { 6 | aliasDuplicateObjects: boolean; 7 | keepUndefined: boolean; 8 | onAnchor: (source: unknown) => string; 9 | onTagObj?: (tagObj: ScalarTag | CollectionTag) => void; 10 | sourceObjects: Map; 14 | replacer?: Replacer; 15 | schema: Schema; 16 | } 17 | export declare function createNode(value: unknown, tagName: string | undefined, ctx: CreateNodeContext): Node; 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/log.d.ts: -------------------------------------------------------------------------------- 1 | export type LogLevelId = 'silent' | 'error' | 'warn' | 'debug'; 2 | export declare function debug(logLevel: LogLevelId, ...messages: any[]): void; 3 | export declare function warn(logLevel: LogLevelId, warning: string | Error): void; 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/log.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var node_process = require('node:process'); 4 | 5 | function debug(logLevel, ...messages) { 6 | if (logLevel === 'debug') 7 | console.log(...messages); 8 | } 9 | function warn(logLevel, warning) { 10 | if (logLevel === 'debug' || logLevel === 'warn') { 11 | if (typeof node_process.emitWarning === 'function') 12 | node_process.emitWarning(warning); 13 | else 14 | console.warn(warning); 15 | } 16 | } 17 | 18 | exports.debug = debug; 19 | exports.warn = warn; 20 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/nodes/Scalar.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var identity = require('./identity.js'); 4 | var Node = require('./Node.js'); 5 | var toJS = require('./toJS.js'); 6 | 7 | const isScalarValue = (value) => !value || (typeof value !== 'function' && typeof value !== 'object'); 8 | class Scalar extends Node.NodeBase { 9 | constructor(value) { 10 | super(identity.SCALAR); 11 | this.value = value; 12 | } 13 | toJSON(arg, ctx) { 14 | return ctx?.keep ? this.value : toJS.toJS(this.value, arg, ctx); 15 | } 16 | toString() { 17 | return String(this.value); 18 | } 19 | } 20 | Scalar.BLOCK_FOLDED = 'BLOCK_FOLDED'; 21 | Scalar.BLOCK_LITERAL = 'BLOCK_LITERAL'; 22 | Scalar.PLAIN = 'PLAIN'; 23 | Scalar.QUOTE_DOUBLE = 'QUOTE_DOUBLE'; 24 | Scalar.QUOTE_SINGLE = 'QUOTE_SINGLE'; 25 | 26 | exports.Scalar = Scalar; 27 | exports.isScalarValue = isScalarValue; 28 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts: -------------------------------------------------------------------------------- 1 | import type { Pair } from './Pair'; 2 | import type { ToJSContext } from './toJS'; 3 | import type { MapLike } from './YAMLMap'; 4 | export declare function addPairToJSMap(ctx: ToJSContext | undefined, map: MapLike, { key, value }: Pair): MapLike; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/nodes/toJS.d.ts: -------------------------------------------------------------------------------- 1 | import type { Document } from '../doc/Document'; 2 | import type { Node } from './Node'; 3 | export interface AnchorData { 4 | aliasCount: number; 5 | count: number; 6 | res: unknown; 7 | } 8 | export interface ToJSContext { 9 | anchors: Map; 10 | doc: Document; 11 | keep: boolean; 12 | mapAsMap: boolean; 13 | mapKeyWarned: boolean; 14 | maxAliasCount: number; 15 | onCreate?: (res: unknown) => void; 16 | } 17 | /** 18 | * Recursively convert any node or its contents to native JavaScript 19 | * 20 | * @param value - The input value 21 | * @param arg - If `value` defines a `toJSON()` method, use this 22 | * as its first argument 23 | * @param ctx - Conversion context, originally set in Document#toJS(). If 24 | * `{ keep: true }` is not set, output should be suitable for JSON 25 | * stringification. 26 | */ 27 | export declare function toJS(value: any, arg: string | null, ctx?: ToJSContext): any; 28 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/parse/cst-stringify.d.ts: -------------------------------------------------------------------------------- 1 | import type { CollectionItem, Token } from './cst'; 2 | /** 3 | * Stringify a CST document, token, or collection item 4 | * 5 | * Fair warning: This applies no validation whatsoever, and 6 | * simply concatenates the sources in their logical order. 7 | */ 8 | export declare const stringify: (cst: Token | CollectionItem) => string; 9 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/parse/line-counter.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Tracks newlines during parsing in order to provide an efficient API for 3 | * determining the one-indexed `{ line, col }` position for any offset 4 | * within the input. 5 | */ 6 | export declare class LineCounter { 7 | lineStarts: number[]; 8 | /** 9 | * Should be called in ascending order. Otherwise, call 10 | * `lineCounter.lineStarts.sort()` before calling `linePos()`. 11 | */ 12 | addNewLine: (offset: number) => number; 13 | /** 14 | * Performs a binary search and returns the 1-indexed { line, col } 15 | * position of `offset`. If `line === 0`, `addNewLine` has never been 16 | * called or `offset` is before the first known newline. 17 | */ 18 | linePos: (offset: number) => { 19 | line: number; 20 | col: number; 21 | }; 22 | } 23 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/Schema.d.ts: -------------------------------------------------------------------------------- 1 | import { MAP, SCALAR, SEQ } from '../nodes/identity'; 2 | import type { Pair } from '../nodes/Pair'; 3 | import type { SchemaOptions, ToStringOptions } from '../options'; 4 | import type { CollectionTag, ScalarTag } from './types'; 5 | export declare class Schema { 6 | compat: Array | null; 7 | knownTags: Record; 8 | name: string; 9 | sortMapEntries: ((a: Pair, b: Pair) => number) | null; 10 | tags: Array; 11 | toStringOptions: Readonly | null; 12 | readonly [MAP]: CollectionTag; 13 | readonly [SCALAR]: ScalarTag; 14 | readonly [SEQ]: CollectionTag; 15 | constructor({ compat, customTags, merge, resolveKnownTags, schema, sortMapEntries, toStringDefaults }: SchemaOptions); 16 | clone(): Schema; 17 | } 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/common/map.d.ts: -------------------------------------------------------------------------------- 1 | import type { CollectionTag } from '../types'; 2 | export declare const map: CollectionTag; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/common/map.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var identity = require('../../nodes/identity.js'); 4 | var YAMLMap = require('../../nodes/YAMLMap.js'); 5 | 6 | const map = { 7 | collection: 'map', 8 | default: true, 9 | nodeClass: YAMLMap.YAMLMap, 10 | tag: 'tag:yaml.org,2002:map', 11 | resolve(map, onError) { 12 | if (!identity.isMap(map)) 13 | onError('Expected a mapping for this tag'); 14 | return map; 15 | }, 16 | createNode: (schema, obj, ctx) => YAMLMap.YAMLMap.from(schema, obj, ctx) 17 | }; 18 | 19 | exports.map = map; 20 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/common/null.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const nullTag: ScalarTag & { 3 | test: RegExp; 4 | }; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/common/null.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Scalar = require('../../nodes/Scalar.js'); 4 | 5 | const nullTag = { 6 | identify: value => value == null, 7 | createNode: () => new Scalar.Scalar(null), 8 | default: true, 9 | tag: 'tag:yaml.org,2002:null', 10 | test: /^(?:~|[Nn]ull|NULL)?$/, 11 | resolve: () => new Scalar.Scalar(null), 12 | stringify: ({ source }, ctx) => typeof source === 'string' && nullTag.test.test(source) 13 | ? source 14 | : ctx.options.nullStr 15 | }; 16 | 17 | exports.nullTag = nullTag; 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/common/seq.d.ts: -------------------------------------------------------------------------------- 1 | import type { CollectionTag } from '../types'; 2 | export declare const seq: CollectionTag; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/common/seq.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var identity = require('../../nodes/identity.js'); 4 | var YAMLSeq = require('../../nodes/YAMLSeq.js'); 5 | 6 | const seq = { 7 | collection: 'seq', 8 | default: true, 9 | nodeClass: YAMLSeq.YAMLSeq, 10 | tag: 'tag:yaml.org,2002:seq', 11 | resolve(seq, onError) { 12 | if (!identity.isSeq(seq)) 13 | onError('Expected a sequence for this tag'); 14 | return seq; 15 | }, 16 | createNode: (schema, obj, ctx) => YAMLSeq.YAMLSeq.from(schema, obj, ctx) 17 | }; 18 | 19 | exports.seq = seq; 20 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/common/string.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const string: ScalarTag; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/common/string.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var stringifyString = require('../../stringify/stringifyString.js'); 4 | 5 | const string = { 6 | identify: value => typeof value === 'string', 7 | default: true, 8 | tag: 'tag:yaml.org,2002:str', 9 | resolve: str => str, 10 | stringify(item, ctx, onComment, onChompKeep) { 11 | ctx = Object.assign({ actualString: true }, ctx); 12 | return stringifyString.stringifyString(item, ctx, onComment, onChompKeep); 13 | } 14 | }; 15 | 16 | exports.string = string; 17 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/core/bool.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const boolTag: ScalarTag & { 3 | test: RegExp; 4 | }; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/core/bool.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Scalar = require('../../nodes/Scalar.js'); 4 | 5 | const boolTag = { 6 | identify: value => typeof value === 'boolean', 7 | default: true, 8 | tag: 'tag:yaml.org,2002:bool', 9 | test: /^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/, 10 | resolve: str => new Scalar.Scalar(str[0] === 't' || str[0] === 'T'), 11 | stringify({ source, value }, ctx) { 12 | if (source && boolTag.test.test(source)) { 13 | const sv = source[0] === 't' || source[0] === 'T'; 14 | if (value === sv) 15 | return source; 16 | } 17 | return value ? ctx.options.trueStr : ctx.options.falseStr; 18 | } 19 | }; 20 | 21 | exports.boolTag = boolTag; 22 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/core/float.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const floatNaN: ScalarTag; 3 | export declare const floatExp: ScalarTag; 4 | export declare const float: ScalarTag; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/core/int.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const intOct: ScalarTag; 3 | export declare const int: ScalarTag; 4 | export declare const intHex: ScalarTag; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/core/schema.d.ts: -------------------------------------------------------------------------------- 1 | export declare const schema: (import('../types').CollectionTag | import('../types').ScalarTag)[]; 2 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/core/schema.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var map = require('../common/map.js'); 4 | var _null = require('../common/null.js'); 5 | var seq = require('../common/seq.js'); 6 | var string = require('../common/string.js'); 7 | var bool = require('./bool.js'); 8 | var float = require('./float.js'); 9 | var int = require('./int.js'); 10 | 11 | const schema = [ 12 | map.map, 13 | seq.seq, 14 | string.string, 15 | _null.nullTag, 16 | bool.boolTag, 17 | int.intOct, 18 | int.int, 19 | int.intHex, 20 | float.floatNaN, 21 | float.floatExp, 22 | float.float 23 | ]; 24 | 25 | exports.schema = schema; 26 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/json/schema.d.ts: -------------------------------------------------------------------------------- 1 | import type { CollectionTag, ScalarTag } from '../types'; 2 | export declare const schema: (CollectionTag | ScalarTag)[]; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const binary: ScalarTag; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const trueTag: ScalarTag & { 3 | test: RegExp; 4 | }; 5 | export declare const falseTag: ScalarTag & { 6 | test: RegExp; 7 | }; 8 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/yaml-1.1/bool.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Scalar = require('../../nodes/Scalar.js'); 4 | 5 | function boolStringify({ value, source }, ctx) { 6 | const boolObj = value ? trueTag : falseTag; 7 | if (source && boolObj.test.test(source)) 8 | return source; 9 | return value ? ctx.options.trueStr : ctx.options.falseStr; 10 | } 11 | const trueTag = { 12 | identify: value => value === true, 13 | default: true, 14 | tag: 'tag:yaml.org,2002:bool', 15 | test: /^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/, 16 | resolve: () => new Scalar.Scalar(true), 17 | stringify: boolStringify 18 | }; 19 | const falseTag = { 20 | identify: value => value === false, 21 | default: true, 22 | tag: 'tag:yaml.org,2002:bool', 23 | test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/, 24 | resolve: () => new Scalar.Scalar(false), 25 | stringify: boolStringify 26 | }; 27 | 28 | exports.falseTag = falseTag; 29 | exports.trueTag = trueTag; 30 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const floatNaN: ScalarTag; 3 | export declare const floatExp: ScalarTag; 4 | export declare const float: ScalarTag; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const intBin: ScalarTag; 3 | export declare const intOct: ScalarTag; 4 | export declare const int: ScalarTag; 5 | export declare const intHex: ScalarTag; 6 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts: -------------------------------------------------------------------------------- 1 | import type { ToJSContext } from '../../nodes/toJS'; 2 | import type { MapLike } from '../../nodes/YAMLMap'; 3 | import type { ScalarTag } from '../types'; 4 | export declare const merge: ScalarTag & { 5 | identify(value: unknown): boolean; 6 | test: RegExp; 7 | }; 8 | export declare const isMergeKey: (ctx: ToJSContext | undefined, key: unknown) => boolean | undefined; 9 | export declare function addMergeToJSMap(ctx: ToJSContext | undefined, map: MapLike, value: unknown): void; 10 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts: -------------------------------------------------------------------------------- 1 | import type { ToJSContext } from '../../nodes/toJS'; 2 | import { YAMLMap } from '../../nodes/YAMLMap'; 3 | import { YAMLSeq } from '../../nodes/YAMLSeq'; 4 | import type { CreateNodeContext } from '../../util'; 5 | import type { Schema } from '../Schema'; 6 | import type { CollectionTag } from '../types'; 7 | export declare class YAMLOMap extends YAMLSeq { 8 | static tag: string; 9 | constructor(); 10 | add: typeof YAMLMap.prototype.add; 11 | delete: typeof YAMLMap.prototype.delete; 12 | get: typeof YAMLMap.prototype.get; 13 | has: typeof YAMLMap.prototype.has; 14 | set: typeof YAMLMap.prototype.set; 15 | /** 16 | * If `ctx` is given, the return type is actually `Map`, 17 | * but TypeScript won't allow widening the signature of a child method. 18 | */ 19 | toJSON(_?: unknown, ctx?: ToJSContext): unknown[]; 20 | static from(schema: Schema, iterable: unknown, ctx: CreateNodeContext): YAMLOMap; 21 | } 22 | export declare const omap: CollectionTag; 23 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts: -------------------------------------------------------------------------------- 1 | import type { CreateNodeContext } from '../../doc/createNode'; 2 | import type { ParsedNode } from '../../nodes/Node'; 3 | import { Pair } from '../../nodes/Pair'; 4 | import type { YAMLMap } from '../../nodes/YAMLMap'; 5 | import { YAMLSeq } from '../../nodes/YAMLSeq'; 6 | import type { Schema } from '../../schema/Schema'; 7 | import type { CollectionTag } from '../types'; 8 | export declare function resolvePairs(seq: YAMLSeq.Parsed> | YAMLMap.Parsed, onError: (message: string) => void): YAMLSeq.Parsed>; 9 | export declare function createPairs(schema: Schema, iterable: unknown, ctx: CreateNodeContext): YAMLSeq; 10 | export declare const pairs: CollectionTag; 11 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts: -------------------------------------------------------------------------------- 1 | export declare const schema: (import('../types').CollectionTag | import('../types').ScalarTag)[]; 2 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts: -------------------------------------------------------------------------------- 1 | import type { ScalarTag } from '../types'; 2 | export declare const intTime: ScalarTag; 3 | export declare const floatTime: ScalarTag; 4 | export declare const timestamp: ScalarTag & { 5 | test: RegExp; 6 | }; 7 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/stringify/stringify.d.ts: -------------------------------------------------------------------------------- 1 | import type { Document } from '../doc/Document'; 2 | import type { Alias } from '../nodes/Alias'; 3 | import type { ToStringOptions } from '../options'; 4 | export type StringifyContext = { 5 | actualString?: boolean; 6 | allNullValues?: boolean; 7 | anchors: Set; 8 | doc: Document; 9 | forceBlockIndent?: boolean; 10 | implicitKey?: boolean; 11 | indent: string; 12 | indentStep: string; 13 | indentAtStart?: number; 14 | inFlow: boolean | null; 15 | inStringifyKey?: boolean; 16 | flowCollectionPadding: string; 17 | options: Readonly>>; 18 | resolvedAliases?: Set; 19 | }; 20 | export declare function createStringifyContext(doc: Document, options: ToStringOptions): StringifyContext; 21 | export declare function stringify(item: unknown, ctx: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string; 22 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/stringify/stringifyCollection.d.ts: -------------------------------------------------------------------------------- 1 | import type { Collection } from '../nodes/Collection'; 2 | import type { StringifyContext } from './stringify'; 3 | interface StringifyCollectionOptions { 4 | blockItemPrefix: string; 5 | flowChars: { 6 | start: '{'; 7 | end: '}'; 8 | } | { 9 | start: '['; 10 | end: ']'; 11 | }; 12 | itemIndent: string; 13 | onChompKeep?: () => void; 14 | onComment?: () => void; 15 | } 16 | export declare function stringifyCollection(collection: Readonly, ctx: StringifyContext, options: StringifyCollectionOptions): string; 17 | export {}; 18 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/stringify/stringifyComment.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Stringifies a comment. 3 | * 4 | * Empty comment lines are left empty, 5 | * lines consisting of a single space are replaced by `#`, 6 | * and all other lines are prefixed with a `#`. 7 | */ 8 | export declare const stringifyComment: (str: string) => string; 9 | export declare function indentComment(comment: string, indent: string): string; 10 | export declare const lineComment: (str: string, indent: string, comment: string) => string; 11 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/stringify/stringifyComment.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Stringifies a comment. 5 | * 6 | * Empty comment lines are left empty, 7 | * lines consisting of a single space are replaced by `#`, 8 | * and all other lines are prefixed with a `#`. 9 | */ 10 | const stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, '#'); 11 | function indentComment(comment, indent) { 12 | if (/^\n+$/.test(comment)) 13 | return comment.substring(1); 14 | return indent ? comment.replace(/^(?! *$)/gm, indent) : comment; 15 | } 16 | const lineComment = (str, indent, comment) => str.endsWith('\n') 17 | ? indentComment(comment, indent) 18 | : comment.includes('\n') 19 | ? '\n' + indentComment(comment, indent) 20 | : (str.endsWith(' ') ? '' : ' ') + comment; 21 | 22 | exports.indentComment = indentComment; 23 | exports.lineComment = lineComment; 24 | exports.stringifyComment = stringifyComment; 25 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/stringify/stringifyDocument.d.ts: -------------------------------------------------------------------------------- 1 | import type { Document } from '../doc/Document'; 2 | import type { Node } from '../nodes/Node'; 3 | import type { ToStringOptions } from '../options'; 4 | export declare function stringifyDocument(doc: Readonly>, options: ToStringOptions): string; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/stringify/stringifyNumber.d.ts: -------------------------------------------------------------------------------- 1 | import type { Scalar } from '../nodes/Scalar'; 2 | export declare function stringifyNumber({ format, minFractionDigits, tag, value }: Scalar): string; 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/stringify/stringifyNumber.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | function stringifyNumber({ format, minFractionDigits, tag, value }) { 4 | if (typeof value === 'bigint') 5 | return String(value); 6 | const num = typeof value === 'number' ? value : Number(value); 7 | if (!isFinite(num)) 8 | return isNaN(num) ? '.nan' : num < 0 ? '-.inf' : '.inf'; 9 | let n = JSON.stringify(value); 10 | if (!format && 11 | minFractionDigits && 12 | (!tag || tag === 'tag:yaml.org,2002:float') && 13 | /^\d/.test(n)) { 14 | let i = n.indexOf('.'); 15 | if (i < 0) { 16 | i = n.length; 17 | n += '.'; 18 | } 19 | let d = minFractionDigits - (n.length - i - 1); 20 | while (d-- > 0) 21 | n += '0'; 22 | } 23 | return n; 24 | } 25 | 26 | exports.stringifyNumber = stringifyNumber; 27 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/stringify/stringifyPair.d.ts: -------------------------------------------------------------------------------- 1 | import type { Pair } from '../nodes/Pair'; 2 | import type { StringifyContext } from './stringify'; 3 | export declare function stringifyPair({ key, value }: Readonly, ctx: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string; 4 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/stringify/stringifyString.d.ts: -------------------------------------------------------------------------------- 1 | import { Scalar } from '../nodes/Scalar'; 2 | import type { StringifyContext } from './stringify'; 3 | interface StringifyScalar { 4 | value: string; 5 | comment?: string | null; 6 | type?: string; 7 | } 8 | export declare function stringifyString(item: Scalar | StringifyScalar, ctx: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string; 9 | export {}; 10 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/test-events.d.ts: -------------------------------------------------------------------------------- 1 | export declare function testEvents(src: string): { 2 | events: string[]; 3 | error: unknown; 4 | }; 5 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/dist/util.d.ts: -------------------------------------------------------------------------------- 1 | export { createNode } from './doc/createNode'; 2 | export type { CreateNodeContext } from './doc/createNode'; 3 | export { debug, warn } from './log'; 4 | export type { LogLevelId } from './log'; 5 | export { createPair } from './nodes/Pair'; 6 | export { toJS } from './nodes/toJS'; 7 | export type { ToJSContext } from './nodes/toJS'; 8 | export { findPair } from './nodes/YAMLMap'; 9 | export { map as mapTag } from './schema/common/map'; 10 | export { seq as seqTag } from './schema/common/seq'; 11 | export { string as stringTag } from './schema/common/string'; 12 | export { foldFlowLines } from './stringify/foldFlowLines'; 13 | export type { FoldOptions } from './stringify/foldFlowLines'; 14 | export type { StringifyContext } from './stringify/stringify'; 15 | export { stringifyNumber } from './stringify/stringifyNumber'; 16 | export { stringifyString } from './stringify/stringifyString'; 17 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/node_modules/yaml/util.js: -------------------------------------------------------------------------------- 1 | // Re-exporter for Node.js < 12.16.0 2 | module.exports = require('./dist/util.js') 3 | -------------------------------------------------------------------------------- /.github/actions/prepare-node-test-matrix-action/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@pkgjs/prepare-node-test-matrix-action", 3 | "private": true, 4 | "version": "0.0.0-development", 5 | "description": "Github Actions tooling for testing Node.js packages", 6 | "scripts": { 7 | "test": "node test/index.js" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/pkgjs/action.git" 12 | }, 13 | "author": "@pkgjs", 14 | "license": "MIT", 15 | "engines": { 16 | "node": "^20", 17 | "npm": "^10 || ^11" 18 | }, 19 | "dependencies": { 20 | "@actions/core": "^1.6.0", 21 | "semver": "^7.3.5", 22 | "yaml": "^2.0.0" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- 1 | on: 2 | push: 3 | branches: 4 | - main 5 | pull_request: 6 | 7 | jobs: 8 | test: 9 | uses: ./.github/workflows/node-test.yaml 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | shrinkwrap=false 3 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Code of Conduct 2 | 3 | The Node.js Code of Conduct, which applies to this project, can be found at 4 | https://github.com/nodejs/admin/blob/master/CODE_OF_CONDUCT.md. 5 | -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const HapiPlugin = require('@hapi/eslint-plugin'); 4 | 5 | const HapiRecommended = HapiPlugin.configs.recommended; 6 | 7 | module.exports = [ 8 | ...HapiRecommended 9 | ]; 10 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@pkgjs/action", 3 | "private": true, 4 | "version": "0.1.10", 5 | "description": "Github Actions tooling for testing Node.js packages", 6 | "scripts": { 7 | "lint": "[ \"$NODE_LTS_LATEST\" != \"\" ] && [ \"$MATRIX_NODE_VERSION\" != \"$NODE_LTS_LATEST\" ] && echo 'Skipping linting' || npx -- eslint .github", 8 | "test": "for PRIVATE_ACTION in .github/actions/*/; do cd ${INIT_CWD}/${PRIVATE_ACTION} && npm test || exit 1; done && cd ${INIT_CWD} && npm run lint", 9 | "version": "sed -i.bak \"s/\\(uses: pkgjs\\/action.*\\)\\(@.*\\)$/\\1@v$npm_package_version/g\" .github/workflows/node-test.yaml; rm .github/workflows/node-test.yaml.bak; git diff; git add .github/workflows/node-test.yaml" 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "git+https://github.com/pkgjs/action.git" 14 | }, 15 | "author": "@pkgjs", 16 | "license": "MIT", 17 | "engines": { 18 | "node": "^20" 19 | }, 20 | "devDependencies": { 21 | "@babel/eslint-parser": "^7.26.5", 22 | "@hapi/eslint-plugin": "^7.0.0", 23 | "eslint": "^9.0.0" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "config:base", 4 | ":preserveSemverRanges", 5 | ":maintainLockFilesWeekly", 6 | ":disableDependencyDashboard" 7 | ], 8 | "packageRules": [ 9 | { 10 | "packageNames": ["node"], 11 | "enabled": false 12 | } 13 | ] 14 | } 15 | --------------------------------------------------------------------------------